Commit Graph

931 Commits

Author SHA1 Message Date
Michael Niedermayer
da7272b335 set time_base as soon as time_scale is known instead of in a unrelated chunck which might be missing
Originally committed as revision 4569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 22:50:58 +00:00
Michael Niedermayer
302c389e4f sample_rate value is not always correct (is there anything in quicktime which is?) so try to guess it from time_scale
Originally committed as revision 4558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-04 21:04:25 +00:00
Michael Niedermayer
a254c5745b kill duplicated get/put_be24()
Originally committed as revision 4460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-19 14:41:08 +00:00
Michael Niedermayer
01f4895c68 changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility
Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 22:24:36 +00:00
Aurelien Jacobs
a3075830f2 add hdv2 fourcc to MPEG2 codec mapping
Originally committed as revision 4412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-30 11:42:17 +00:00
Michael Niedermayer
edfaf6de29 better dont read the width/height at all, its random anyway
Originally committed as revision 4398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 07:09:48 +00:00
Michael Niedermayer
961e0ccdca another chapter in the neverending mov demuxer cleanup
a timebase isnt an average frame rate neither can highlevel (considering edit lists) duration be mixed with lowlevel ones

Originally committed as revision 4391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-24 11:43:08 +00:00
Michael Niedermayer
2692067a45 AVPacket.pos
Originally committed as revision 4314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-26 20:17:12 +00:00
Michael Niedermayer
e2b9cf4e2e update current_sample number for non split mode
fix chunk split decission

Originally committed as revision 4296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 10:41:52 +00:00
Michael Niedermayer
45139adf30 segfault fix
Originally committed as revision 4295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 10:25:58 +00:00
Michael Niedermayer
86d8602f62 support non interleaved mov files
Originally committed as revision 4294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 09:50:25 +00:00
Michael Niedermayer
d57b7316c5 10l (overwriting w/h with 0)
Originally committed as revision 4289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 02:06:45 +00:00
Aurelien Jacobs
a965c478b2 drop most url_fileno() calls (allows to use ByteIOContext directly in caller apps instead of URLProtocol)
Originally committed as revision 4275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 00:06:27 +00:00
Michael Niedermayer
c0df9d75bd switch to native time bases
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-30 21:43:59 +00:00
Michael Niedermayer
de39cdf542 reverting 1.66 -> 1.67 change
Originally committed as revision 4096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-30 00:36:30 +00:00
François Revol
0d23cb8439 Patch for "uuid" atom followed after atom "ftyp" by "QuickTime <ffmpeg AT gmail DOT com>"
Originally committed as revision 4068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 11:20:47 +00:00
Michael Niedermayer
f3356e9c9e more fine grained discarding of packets
Originally committed as revision 4051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-17 01:25:01 +00:00
François Revol
fcc872422e Add 3IV2 4CC by "Rob Coenen" <rob AT massive-interactive DOT nl>
Originally committed as revision 4033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-12 13:31:03 +00:00
Måns Rullgård
a0f1f16597 uuid patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 4030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-11 17:13:03 +00:00
Mike Melanson
6d6d7970e7 first pass at ALAC decoder from David Hammerton; while David's original
decoder works great, this decoder is not completely and seamlessly
integrated yet with FFmpeg

Originally committed as revision 4008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 00:43:55 +00:00
Michael Niedermayer
2f1e1ed3dd mp4a fix based on some code by (Song.Itany inventec-inc com)
Originally committed as revision 4002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-04 00:30:18 +00:00
Måns Rullgård
88730be651 kill warnings patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 19:08:50 +00:00
tjraivio@cc.hut.fi
8536ab8964 quick patch for adding 3g2 support to ffmpeg (muxer and demuxer). No movie fragment support yet patch by (tjraivio cc.hut fi)
Originally committed as revision 3959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-16 23:14:38 +00:00
Michael Niedermayer
c4ac052b85 set timestamps correctly
Originally committed as revision 3944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-07 16:58:15 +00:00
Michael Niedermayer
cd461d482d cleanup
Originally committed as revision 3943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-07 13:50:39 +00:00
Roine Gustafsson
92e51b66cf chunk support in mov patch by Roine Gustafsson <roine AT users DOT sourceforge DOT net>
Originally committed as revision 3890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-27 15:39:13 +00:00
François Revol
2497479f2b probe for 'junk' and 'pict', changed the scores.
Originally committed as revision 3888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-27 06:53:09 +00:00
Roine Gustafsson
53ffdd1434 mov header field and compressor name patch by Roine Gustafsson <roine AT users DOT sourceforge DOT net>
Originally committed as revision 3885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-26 09:31:49 +00:00
François Revol
f219664071 AAC fix by Thomas Raivio <tjraivio AT cc DOT hut DOT fi>
Originally committed as revision 3866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 10:44:50 +00:00
Gael Chardon
7fe5a3c0c7 Timestamp patch by Gael Chardon <gael DOT ffmpeg AT 4now DOT net>
Originally committed as revision 3865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 10:34:10 +00:00
François Revol
7dbab4a9b4 Revert the fixed-size-sample patch as it brokes and others
WTF I thought I had commited this yesterday... was probably too asleep :°)

Originally committed as revision 3864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 09:59:36 +00:00
Michael Niedermayer
b9866ebcc7 support discarding uninterresting packets
Originally committed as revision 3860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 13:36:02 +00:00
François Revol
c3ea71a097 get debug code to compile again.
Originally committed as revision 3815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-08 19:35:08 +00:00
Roine Gustafsson
7619ed2be4 handle fixed sample_size patch by Roine Gustafsson <roine AT users.sourceforge.net>
Originally committed as revision 3814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-08 16:07:34 +00:00
Michael Niedermayer
568e18b15e integer overflows, heap corruption
possible arbitrary code execution cannot be ruled out in some cases
precautionary checks

Originally committed as revision 3813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-08 14:21:33 +00:00
Mike Melanson
169eb021d0 load the 'avcC' atom needed for 'avc1' decoding
Originally committed as revision 3745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-09 19:44:55 +00:00
Michael Niedermayer
3129cd0140 allocate a few bytes more for extradata so the bitstream reader if its used by the codec for parsing extardata, doesnt read over the end
Originally committed as revision 3679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-13 01:27:35 +00:00
Michael Niedermayer
7b3c1382bf 100l (forgoten seeking functions)
Originally committed as revision 3585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 23:53:53 +00:00
Zdenek Kabelac
7fea94ce4a * fixing a few of gcc 'clean-code' warnings
Originally committed as revision 3563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-06 08:50:46 +00:00
Mike Melanson
d08d7142fd support for Sierra Online audio files and Apple QuickDraw codec,
courtesy of Konstantin Shishkov

Originally committed as revision 3529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 03:09:49 +00:00
Sebastien Bechet
15c8dbe778 2000/00/00 to 2001/03/01 QT fileformat documentation patch by (Sebastien Bechet <s.bechet at av7 dot net>)
Originally committed as revision 3360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 10:04:14 +00:00
Michael Niedermayer
58e555d4ba mov_read_elst fix, based upon a patch by (Sebastien Bechet <s.bechet at av7 dot net>)
Originally committed as revision 3327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-17 21:01:03 +00:00
Michael Niedermayer
7c4a25c89f disable mov_read_elst
Originally committed as revision 3326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-17 16:35:47 +00:00
Michel Bardiaux
5c030d3ee9 compilation of mov.c broken patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 3292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-06 18:06:17 +00:00
Gael Chardon
baf25c9dd9 Seeking in .mov/.mp4 files
printf->av_log
patch by (Gael Chardon <gael.ffmpeg at 4now dot net>)

Originally committed as revision 3290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-06 02:35:39 +00:00
Cedric Vincent
3c13647a8a The atom 'skip' should be handled by 'mov_read_leaf()', not by
'mov_read_default()'. This atom has the same behaviour than the atom 'free'.
patch by (Cedric VINCENT <c-vinc02 at bat710 dot univ-lyon1 dot fr>)
the second part of the patch hasnt been applied, but fixed slightly differently

Originally committed as revision 3276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 19:24:43 +00:00
Steven M. Schultz
3ec34bfdb2 libavformat/mov.c fails with gcc 2.95.3 patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 3004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 17:40:31 +00:00
Michael Niedermayer
a90466f741 prefix global
Originally committed as revision 2994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-10 19:42:18 +00:00
Thomas Raivio
2768b0d99f correctly identify AAC audio in mov/mp4/etc. files. patch by ("Thomas Raivio" <tjraivio at cc dot hut dot fi>)
Originally committed as revision 2984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 13:13:24 +00:00
Roman Shaposhnik
cac0a56c55 * .mov files with uncompressed audio can't be correctly processed
because of the sample_size == 1 and MINOLTA hack relying on
      the information. So in a way, it's a hack of a hack.

      btw, if somebody knows why in the world even Apple's software
      thinks that for PCM 16bit sample_size == 1 please let me know.
      It clearly isn't documented that way.

Originally committed as revision 2941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-31 04:51:14 +00:00
Michael Niedermayer
d957696f17 cleanup frame_rate code, this may also fix some large file bugs
Originally committed as revision 2924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-24 19:03:20 +00:00
Brian Becker
247d56f568 Parse stss info in MOV files to get key frames patch by ("Brian Becker" <Brian dot Becker at palmone dot com>)
Originally committed as revision 2879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 21:02:26 +00:00
Michel Bardiaux
bc874daea8 av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 15:41:21 +00:00
Mike Melanson
070ed1bc43 initial commit for Quicktime Animation (RLE) video decoder; bit depths
32, 24, and 16 are working; 8bpp is partially working; 4, 2, and 1 bpp
are not supported yet

Originally committed as revision 2748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-05 05:22:44 +00:00
Fabrice Bellard
8e38ff0c07 fixed double free
Originally committed as revision 2499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:43:12 +00:00
Mike Melanson
b595afaae7 added palette support to the QT demuxer; registered SMC video decoder
with QT system

Originally committed as revision 2489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 03:17:32 +00:00
Roberto Togni
1dc1ed9933 8BPS decoder
Originally committed as revision 2486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-07 22:39:18 +00:00
Mike Melanson
8dafdb88e6 added XVID fourcc (ISO MPEG-4?) and AC3 fourcc
Originally committed as revision 2432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-25 04:41:53 +00:00
Dan Christiansen
4cb3f3b637 Using the extension m4a for audio only MPEG-4 files is increasingly
common, especially since Apple iTunes treats files with the two
extensions differently. Without the patch, FFmpeg won't know that m4a
is for MPEG-4 files
patch by (Dan Christiansen <danchr at daimi dot au dot dk>)

Originally committed as revision 2398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-19 20:57:47 +00:00
Mike Melanson
2fdf638b0c New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
Video-1, Apple RPZA, Cinepak, Westwood IMA ADPCM

Originally committed as revision 2324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-01 04:39:38 +00:00
Michael Niedermayer
d663a1fdc0 AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
Originally committed as revision 2311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-28 20:34:11 +00:00
Fabrice Bellard
25c4950e9b update duration and start_time
Originally committed as revision 2113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-08 17:58:38 +00:00
Alex Beregszaszi
611d192ce0 warning fixes
Originally committed as revision 1980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-20 17:55:24 +00:00
Johannes Carlsson
14342fd537 * missing part of the 3gp patch by Johannes Carlsson
Originally committed as revision 1933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-06 11:46:25 +00:00
Zdenek Kabelac
bc634f6fc2 * 3gp patch by Joca
Originally committed as revision 1931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-05 14:30:52 +00:00
Falk Hüffner
4cfbf61bf1 Warning and compatibility fixes.
Originally committed as revision 1902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-24 18:48:30 +00:00
joca@rixmail.se
891f64b339 AMR-NB audio support patch by (<joca at rixmail dot se>)
Originally committed as revision 1876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 11:40:16 +00:00
Zdenek Kabelac
25fa62e13a * added s263 (mapped to h263 - 3gp files)
* less strict header detection - also do not call exit when it's not found.

Originally committed as revision 1864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 17:58:52 +00:00
Zdenek Kabelac
9ed83b0a93 * passing ImageDescriptions for SVQ3 (Vertical300K.sorenson works)
(IMHO only SMI chunk should be stored in extradata)

Originally committed as revision 1863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 15:39:38 +00:00
Zdenek Kabelac
fd6e513ee1 * uninitialized/unused vars cleanup
Originally committed as revision 1859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 11:07:46 +00:00
Zdenek Kabelac
5ca1d879bb * support for AAC audio (esds decoding - using extradata)
* using MOV_atom_t instead of 3 args
* chunk parsers ordered alphabeticaly

Originally committed as revision 1858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 10:59:18 +00:00
Michael Niedermayer
8b82a95675 svq3 decoder by anonymous
Originally committed as revision 1845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-09 22:16:14 +00:00
Mike Melanson
d86053a416 first pass at a new VP3 video decoder
Originally committed as revision 1831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-05 02:54:15 +00:00
Zdenek Kabelac
b6a17df438 * simplified parameters for parse routines
Originally committed as revision 1816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-23 08:58:42 +00:00
Zdenek Kabelac
5cd62665f0 * fixed initialization and some memleak
* filling more avcodecs variables
* extending/improving mov parsing (unfinished)

Originally committed as revision 1812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-22 08:36:39 +00:00
Sebastien Bechet
53e27dd5de QT AVID 4CCs patch by ("Sebastien Bechet" <s dot bechet at av7 dot net>) (not tested)
Originally committed as revision 1737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-05 12:20:19 +00:00
Michael Niedermayer
14bea432f1 per context frame_rate_base, this should finally fix frame_rate related av sync issues
Originally committed as revision 1666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 15:16:19 +00:00
Zdenek Kabelac
0c1a9edad4 * UINTX -> uintx_t INTX -> intx_t
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-11 16:35:48 +00:00
François Revol
7ed2dd2db4 removed redundant 4CC
Originally committed as revision 1467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-17 09:22:52 +00:00
François Revol
8b879f18d1 Fix probing for some files (ew.mov, april.mov)
Originally committed as revision 1466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-17 08:29:37 +00:00
Fabrice Bellard
abac617591 renamed libav to libavformat
Originally committed as revision 1276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-25 19:07:40 +00:00