Commit Graph

1295 Commits

Author SHA1 Message Date
Michael Niedermayer
494bbf5805 dont be too picky about timestampsbeing wrong if the destination container is without timestamps and raw of the raw video / raw audio sort
Originally committed as revision 5961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 20:31:19 +00:00
Michael Niedermayer
434cab9e0f timestamp debugging av_logs()
Originally committed as revision 5960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 19:55:32 +00:00
Michael Niedermayer
b9b18fbdea both timestamps are dts, (checked trailer.gxf, spec is unclear)
Originally committed as revision 5958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 18:02:09 +00:00
Diego Biurrun
ed4e20ac7f Fix some "'static' is not at beginning of declaration" warnings.
Originally committed as revision 5956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 10:24:26 +00:00
Baptiste Coudurier
2c5ad5fd74 use correct tag for h263 in mov
Originally committed as revision 5953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 15:48:26 +00:00
Baptiste Coudurier
87494ea03c detailed infos about d263 atom
Originally committed as revision 5952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 15:04:15 +00:00
Baptiste Coudurier
915282e5b8 indention
Originally committed as revision 5950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 14:19:33 +00:00
Baptiste Coudurier
5997ed786a only set fields for mov, reserved for 3gp, mp4
Originally committed as revision 5949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 14:18:43 +00:00
Baptiste Coudurier
80f05e7981 sampleSize field to 16, reserved for mp4 and 3gp
Originally committed as revision 5948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 14:15:05 +00:00
Baptiste Coudurier
86ca5710bb mp4, 3gp field is reserved and value is 2
Originally committed as revision 5947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 14:11:17 +00:00
Baptiste Coudurier
57ef6acc39 use ternary
Originally committed as revision 5946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 14:09:17 +00:00
Baptiste Coudurier
c096ebca48 vbr compression id is only used in mov
Originally committed as revision 5945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 14:06:23 +00:00
Baptiste Coudurier
634b8cfaf4 always write duration and file size, fix seeking, progress bar is now active
Originally committed as revision 5939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-06 15:29:50 +00:00
Baptiste Coudurier
2965f17b4f sample size is 1 if bits per sample is 8 and mono channel
Originally committed as revision 5920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 16:22:01 +00:00
Baptiste Coudurier
f8503792f0 revert r5909, dont use non constant static variable, breaks multithreaded apps
Originally committed as revision 5917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 15:33:48 +00:00
Baptiste Coudurier
e1dacee11e parse SONY hidden MPEG-4 extradata, fix C0023S01.mxf
Originally committed as revision 5910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 12:31:15 +00:00
Baptiste Coudurier
61ca932e4a skip run-in sequence before reading header
Originally committed as revision 5909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 12:08:06 +00:00
Baptiste Coudurier
49b6f16239 again, disable DEBUG
Originally committed as revision 5908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 11:59:38 +00:00
Baptiste Coudurier
f0d4729212 10l, check container_ul existence
Originally committed as revision 5907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 11:57:28 +00:00
Baptiste Coudurier
c2e8805441 remove duplicate code
Originally committed as revision 5906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 11:28:08 +00:00
Baptiste Coudurier
3bb63b822f attempt to demux clip wrapped content
Originally committed as revision 5905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 11:21:54 +00:00
Baptiste Coudurier
8c5002db17 add codec detection based on essence container ul
Originally committed as revision 5904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 09:14:56 +00:00
Baptiste Coudurier
d2cdbd5f18 resolve strong refs in parse_structural_metadata since objects may not be ordered, use object oriented approach
Originally committed as revision 5892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 15:02:42 +00:00
Baptiste Coudurier
51a0a721ab remove unneeded audio fourcc as well
Originally committed as revision 5889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 10:37:10 +00:00
Reimar Döffinger
0019b662ae Minor resync optimization
Originally committed as revision 5888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 09:59:10 +00:00
Luca Abeni
20dd25adc3 Do not set the codec's pixel format in the format's write_header()
Originally committed as revision 5887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 09:48:05 +00:00
Baptiste Coudurier
e81e3ced6d do not set unneeded fourcc
Originally committed as revision 5886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 08:45:10 +00:00
Baptiste Coudurier
7fe4744bcd fix ending null entry in table
Originally committed as revision 5885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 22:30:15 +00:00
Baptiste Coudurier
28f1280820 more codecs uls
Originally committed as revision 5883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 17:00:27 +00:00
Baptiste Coudurier
e40ee6a268 move common code from mov.c and movenc.c to isom.c
Originally committed as revision 5882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 14:58:15 +00:00
Baptiste Coudurier
986c2ccb19 add some useful debug info
Originally committed as revision 5881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 13:43:24 +00:00
Reimar Döffinger
907a051009 Support for seeking, both with and without index and correct timestamps
Originally committed as revision 5880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 10:19:25 +00:00
Baptiste Coudurier
0e15b7b0dd negative to_pad won't provoke infinite loop
Originally committed as revision 5879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 10:00:12 +00:00
Baptiste Coudurier
3068f1c813 avoid reading beyond packet size
Originally committed as revision 5878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 09:56:27 +00:00
Baptiste Coudurier
ba32c8dfd9 skip run-in sequence during probe
Originally committed as revision 5876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 00:32:47 +00:00
Baptiste Coudurier
b92c61e08c simplify using function table
Originally committed as revision 5871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-31 15:26:33 +00:00
Baptiste Coudurier
53512a22cb parse aes3 audio descriptor
Originally committed as revision 5870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-31 09:46:05 +00:00
Baptiste Coudurier
6c6ec47a0e use parenthesis around value
Originally committed as revision 5866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-30 15:30:00 +00:00
Reimar Döffinger
adb0208bf2 Fix typo in comment
Originally committed as revision 5865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-30 14:44:38 +00:00
Kohn Emil Dan
b6eaae39b4 The reader ignores the size of the ASF data object and keeps on
reading even beyond it.
Therefore if the ASF file includes an index object at its end, the
reader will treat the index like data, but of course will fail since
it thinks that the data is corrupted.
When reading an asf file with an index object, ffmpeg will
complain at the end of the file that it read an invalid header.
Patch by Kohn Emil Dan, < emild A cs P technion P ac P il >
Original thead:
Date: Apr 18, 2006 4:11 PM
Subject: [Ffmpeg-devel] Two ASF related bugs and fixes

Originally committed as revision 5857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 16:07:19 +00:00
Baptiste Coudurier
ea3a790e0d add information about codec uls
Originally committed as revision 5856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 15:36:13 +00:00
Baptiste Coudurier
7d2a0d3120 another MPEG-2 long gop codec ul
Originally committed as revision 5855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 15:31:27 +00:00
Baptiste Coudurier
649084c310 another MPEG-2 long gop codec ul
Originally committed as revision 5854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 15:25:08 +00:00
Baptiste Coudurier
59b5673853 add uncompressed picture support
Originally committed as revision 5853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 15:19:31 +00:00
Baptiste Coudurier
8ce2215b23 parse rgba descriptor (jpeg2000, uncompressed)
Originally committed as revision 5852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 14:00:47 +00:00
Baptiste Coudurier
54a3360b20 add common codecs uls
Originally committed as revision 5851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 13:40:04 +00:00
Baptiste Coudurier
eec3fec094 simplify PRINT_KEY
Originally committed as revision 5850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 13:23:56 +00:00
Baptiste Coudurier
6d0c3bebc7 add some debug infos
Originally committed as revision 5849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 13:18:24 +00:00
Baptiste Coudurier
f03b6426df get rid of DECLARED_ALIGNED
Originally committed as revision 5848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 13:13:08 +00:00
Stefan Gehrer
67630cff64 add new tag 'CAVS' for Chinese AVS codec
Originally committed as revision 5847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 08:50:29 +00:00
Baptiste Coudurier
dd15f9bf48 cosmetics
Originally committed as revision 5842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 23:10:03 +00:00
Baptiste Coudurier
b752222439 use ternary
Originally committed as revision 5841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 23:07:03 +00:00
Baptiste Coudurier
834bff48cb remove useless variables
Originally committed as revision 5840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 23:03:00 +00:00
Baptiste Coudurier
e076173f67 rename variables
Originally committed as revision 5839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 23:00:53 +00:00
Baptiste Coudurier
5e441e31cc add error messages
Originally committed as revision 5838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 22:53:15 +00:00
Baptiste Coudurier
743d772c61 demuxer reworked, more accurate parsing, prepare handling of other operational patterns, streaming demuxing, simplified codec detection
Originally committed as revision 5837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 22:42:31 +00:00
Baptiste Coudurier
4bfff76814 declare and use UID type
Originally committed as revision 5836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 18:18:12 +00:00
Reimar Döffinger
7c87a2f0c0 Set duration to AV_NOPTS_VALUE instead of 0 when unknown.
Set start_time to 0 when duration is known to indicate we have
valid timestamps for this track.

Originally committed as revision 5835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 13:31:08 +00:00
Diego Biurrun
538389c981 Fix FSF postal address.
Originally committed as revision 5829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-26 01:12:26 +00:00
Baptiste Coudurier
07bf2af864 MXF demuxer
Originally committed as revision 5826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-25 14:30:14 +00:00
Reimar Döffinger
22ffac707e Try to find out correct start time to make seeking faster and add some
extra checks to make sure the seeking function will not hang forever.

Originally committed as revision 5814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-23 18:19:33 +00:00
Michael Niedermayer
ccb159940b fix regression failure after adler simplification
Originally committed as revision 5803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-20 10:22:07 +00:00
Baptiste Coudurier
86329cce04 GXF muxer
Originally committed as revision 5787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 09:38:22 +00:00
Michael Niedermayer
1d94a6620f simplify
Originally committed as revision 5786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 08:39:50 +00:00
I. Po
cfc4bd4695 Fix memleak, patch by I. Po % yyymmmm # gmail O com %
Original thread:
Date: Jul 18, 2006 3:49 PM
Subject: Re: [Ffmpeg-devel] [PATCH] http.c: http_connect() memleak

Originally committed as revision 5785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 08:06:24 +00:00
Michael Niedermayer
7028259a0d simplify b64_encode()
maybe this should be moved to libavutil ...

Originally committed as revision 5782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-18 18:51:35 +00:00
Michael Niedermayer
fd0fb3064d add header info to flv format based on a patch by (Philipp Klaus >ffmpegdevel ad pylonsoft mot ch )
Originally committed as revision 5779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-17 21:51:21 +00:00
Matthieu Castet
116d866ca5 fix playback of theora.ogg on mphq patch by (matthieu castet %% castet dat matthieu ot free dat fr %%)
Originally committed as revision 5776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-17 10:44:53 +00:00
Måns Rullgård
4b65d88fd7 replace -D_GNU_SOURCE with -D_ISOC9X_SOURCE to avoid accidental use
of gnu extensions

Originally committed as revision 5733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-13 23:10:01 +00:00
Måns Rullgård
b9a73d8d2f move adler32 to libavutil
Originally committed as revision 5731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-13 21:29:01 +00:00
Víctor Paesa
5894e1bbf2 add loop_input to AVFormatContext, getting rid of old hack
patch by Víctor Paesa <wzrlpy at arsystel com>

Originally committed as revision 5729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-13 21:13:49 +00:00
Måns Rullgård
ebd7617ba7 add lost raw pcm input/output formats
Originally committed as revision 5726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-13 08:05:42 +00:00
Måns Rullgård
3ab60c830a nut needs crc.o
Originally committed as revision 5721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-12 00:10:12 +00:00
Måns Rullgård
9d9f4119bd move common stuff from avienc.c and wav.c to new file riff.c
Originally committed as revision 5720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-12 00:09:34 +00:00
Diego Biurrun
2f30a81d19 CONFIG_WIN32 implies MinGW and Cygwin and possibly more, so use just
CONFIG_MINGW or __MINGW32__ instead.

Originally committed as revision 5718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 21:45:45 +00:00
Diego Biurrun
8a85f46d2b CONFIG_AIFF_DEMUXER vs CONFIG_AIFF_MUXER typo
Originally committed as revision 5708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 00:53:55 +00:00
Måns Rullgård
ff70e60176 allow individual selection of muxers and demuxers
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 21:14:37 +00:00
Baptiste Coudurier
2ec7b29b98 assign exact codec id, needed when stream copy
Originally committed as revision 5705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 12:10:10 +00:00
Måns Rullgård
d2a067d1d9 give AVInput/OutputFormat structs consistent names
Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 23:40:53 +00:00
Michael Niedermayer
a7702890bd remove STATS code (probably hasnt been used for years ..., and its not completely clear what it was good for anyway)
Originally committed as revision 5689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 10:33:49 +00:00
Baptiste Coudurier
4990951be8 simplify, use LE_32, BE_32 macros
Originally committed as revision 5682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 23:23:47 +00:00
Nico Sabbi
2eb1a65d91 Etsi identifies DTS audio with stream_private+descriptor 0x7b (in the PMT).
This patch permits to recognize these streams but it's untested for
lack of samples.

Patch by Nico Sabbi <nicola_sabbi at fastwebnet it>

Originally committed as revision 5671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 16:25:45 +00:00
Baptiste Coudurier
cfca95f14d clean up useless code
Originally committed as revision 5669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 13:36:31 +00:00
Baptiste Coudurier
1f1890c754 better handling of partial files
Originally committed as revision 5668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 12:58:50 +00:00
Baptiste Coudurier
b72708f8f3 new mov_read_packet, mov_read_seek, fix seeking in ni mov, fix demuxing adpcm
Originally committed as revision 5667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 12:14:41 +00:00
Aurelien Jacobs
f1b163e01e set proper bits_per_sample value for ADPCM codecs
Originally committed as revision 5666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 07:14:00 +00:00
Aurelien Jacobs
5da714699d simplify the voc demuxer using av_get_bits_per_sample()
Originally committed as revision 5663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 22:42:36 +00:00
Baptiste Coudurier
ac3e183403 av_get_bits_per_sample and due simplifications
Originally committed as revision 5661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 17:50:09 +00:00
Baptiste Coudurier
e8d2507c1a add MS ADPCM fourcc
Originally committed as revision 5655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 09:43:46 +00:00
Baptiste Coudurier
e7cc4b52f9 skip others fourcc, if present
Originally committed as revision 5654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 08:56:05 +00:00
Baptiste Coudurier
421de2575b clean
Originally committed as revision 5653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 08:45:50 +00:00
Baptiste Coudurier
06fcf56c50 typo fix
Originally committed as revision 5642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 14:57:55 +00:00
Baptiste Coudurier
875f92876a 10l, all modes is 0x81FF
Originally committed as revision 5641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 14:46:01 +00:00
Baptiste Coudurier
b7d9da100d simplify and write correct values conforming to specs
Originally committed as revision 5640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 14:38:50 +00:00
Michael Niedermayer
2111e3f9f2 check for unparsed AMR input
Originally committed as revision 5637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 12:27:43 +00:00
Michael Niedermayer
9a39cd35b8 vbr requires version=1 and samplesize=0 per QT spec
untested, but if this doesnt work the issue is likely somewhere else, as iam just chaning the random nonsense we do to what the spec says should be done

Originally committed as revision 5636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 12:17:01 +00:00
Gianluigi Tiesi
277e84f564 Fix compilation with --disable-muxers.
patch by Gianluigi Tiesi, mplayer==at==netfarm==dot==it

Originally committed as revision 5632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-05 22:01:49 +00:00
Diego Biurrun
f130fd4630 cosmetics: Break overly long lines.
Originally committed as revision 5622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-05 14:12:00 +00:00
Baptiste Coudurier
5cb49ca11b write exact values for audio stsd v1
Originally committed as revision 5606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 14:03:59 +00:00
Måns Rullgård
83d0731364 attempt to detect Chinese AVS video
Originally committed as revision 5604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 21:40:01 +00:00