Commit Graph

728 Commits

Author SHA1 Message Date
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 0078e9b9c5 nonsense comment
Originally committed as revision 3958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-16 23:11:11 +00:00
Wolfram Gloger 27bb1ed348 Writing to freed memory in write_section_data() patch by (Wolfram Gloger <wmglo dent dot med dot uni-muenchen de>)
Originally committed as revision 3957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-16 23:04:11 +00:00
Chriss 7be806f31b -target dvd minimum vobu length patch by ("Chris" [chris garveycocker com])
Originally committed as revision 3953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-09 03:00:50 +00:00
Michael Niedermayer cb43c0e10d audio duration fix?
Originally committed as revision 3952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-08 00:38:24 +00:00
Michael Niedermayer 87094371db .wma
Originally committed as revision 3951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-07 23:13: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
Michael Niedermayer 360130378b fixing an integer overflow, which could lead to overwriting the end of a malloced buffer by 8 bytes
Originally committed as revision 3937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 18:58:59 +00:00
Michael Niedermayer 8d65750ef1 overflows
Originally committed as revision 3935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 11:26:40 +00:00
Kostya Shishkov 3a615bb548 VMD playing error patch by (Kostya (cannonball bw-team com>)
"I recently got a game called Lighthouse from Sierra with FMV in VMD
format. Some of them played OK, some of them FFmpeg refused to open,
some caused a crash.

I investigated files which couldn't be opened by FFmpeg and it appeared
that they had no audio (and bytes 2-3 from beginning of file contained
01 00, all other have 00 00 insted). Attached patch fixes this issue."

Originally committed as revision 3934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 03:38:33 +00:00
Michael Niedermayer a603bf8d68 dont predict missing timestamps if we lack the required information to do so
Originally committed as revision 3898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-29 02:27:33 +00:00
François Revol 0c716ab71d fix segfault by matthieu castet <castet DOT matthieu AT free DOT fr>
Originally committed as revision 3896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-28 12:13:53 +00:00
François Revol 25cf9062ba don't crash on null codec; by matthieu castet <castet DOT matthieu AT free DOT fr>
Originally committed as revision 3894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-28 11:19:47 +00:00
François Revol 46103f6bbd fix the patch to allow Sony PSP MP4 creation
Originally committed as revision 3893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-28 08:08:42 +00:00
Roine Gustafsson 888053179c support colon-separated rates patch by Roine Gustafsson <roine AT users DOT sourceforge DOT net>
Originally committed as revision 3892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-27 16:11:31 +00:00
Roine Gustafsson 501866a1fa movenc illegal access patch by Roine Gustafsson <roine AT users DOT sourceforge DOT net>
Originally committed as revision 3891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-27 15:41:03 +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
tjcannell@blueyonder.co.uk 8af1815481 Sony PSP variation of MP4 patch by <tjcannell AT blueyonder DOT co DOT uk>
Originally committed as revision 3889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-27 14:48:15 +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
Michael Niedermayer b636365a5e wmv3
Originally committed as revision 3875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 21:54:07 +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
Michael Niedermayer e19456e3ee fixing demuxing for short files where the framerate detection failed
Originally committed as revision 3859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 02:30:45 +00:00
Michael Niedermayer b4aea108eb support discarding of uninterresting packets
Originally committed as revision 3858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 01:48:11 +00:00
Michael Niedermayer 0fbc6961eb 1/0 fix
Originally committed as revision 3856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-21 23:38:09 +00:00
Roine Gustafsson f96b17c5d6 add luma only support to yuv4mpeg patch by (Roine Gustafsson <roine users.sourceforge net>)
Originally committed as revision 3846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-19 12:27:48 +00:00
Wolfram Gloger b6c7f870be 10l (a level of indirection too much) patch by (Wolfram Gloger <wmglo dent.med.uni-muenchen de>)
Originally committed as revision 3834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-13 13:09:35 +00:00
Michael Niedermayer 3eaa8b7e38 timestamp truncation fix?
Originally committed as revision 3832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 19:07:24 +00:00
Michael Niedermayer a1e568bd23 wav timestamp truncation fix by (Wolfram Gloger <wmglo dent.med.uni-muenchen de>)
Originally committed as revision 3831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 18:42:21 +00:00
Michael Niedermayer 2fc8ea249f dissallow sprintf
Originally committed as revision 3823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:59:42 +00:00
Michael Niedermayer 0ecca7a49f various security fixes and precautionary checks
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:16:25 +00:00
Diego Biurrun f14d4e7e21 Quote path expression to take care of $(prefix) possibly containing spaces.
Originally committed as revision 3821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-11 08:16:04 +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
Michael Niedermayer 3f05305d73 RV30/RV40 demuxing (untested)
Originally committed as revision 3809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-06 00:54:03 +00:00
Michael Niedermayer 6ec864da45 Patch for creating m2v files by (Fabrizio Gennari <fabrizio.ge tiscali it)
Originally committed as revision 3805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 18:32:38 +00:00
Michael Niedermayer 348979519c disable yuv_image_format
Originally committed as revision 3803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 14:38:52 +00:00
Michael Niedermayer 55cf195952 .{Y,U,V} image2 support
Originally committed as revision 3802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 13:27:35 +00:00
Roine Gustafsson 2d74541476 - Writes correct unknown aspect
- Adds read and write support for yuv422p and yuv444p
- New parser will read all well-formed YUV4MPEG2 stream headers
patch by (Roine Gustafsson <roine users.sourceforge net>)

Originally committed as revision 3800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 01:55:50 +00:00
Michael Niedermayer 96db7add10 10l
Originally committed as revision 3798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-03 20:33:52 +00:00
Michael Niedermayer 119cebf429 skip INDX chunks
Originally committed as revision 3796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-03 02:52:11 +00:00
Michael Niedermayer 2d2651f821 WV1F support
Originally committed as revision 3790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-01 23:02:09 +00:00
Michael Niedermayer 18107921c4 ffm_init() for win32, so the regression tests dont fail there
Originally committed as revision 3783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-30 11:48:23 +00:00
Roberto Togni 4d4bb927ce Fix compilation when both amr_nb and amr_wb are enabled
Originally committed as revision 3782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 23:17:42 +00:00
Michael Niedermayer 2de7795ad2 common.h -> common.h/bitstream.h
Originally committed as revision 3778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 18:31:28 +00:00
Michael Niedermayer 6c55fd7968 preroll is in ms
pts should start at start_time

Originally committed as revision 3771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-22 03:04:21 +00:00
Michael Niedermayer 5375644323 1/0l fix
Originally committed as revision 3770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-22 01:33:04 +00:00
Michael Niedermayer b3506cb42f prefer integer fps if possible when guessing
Originally committed as revision 3769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-21 02:27:40 +00:00
Michael Niedermayer 3e76d1b526 guess fps for the variable fps case
Originally committed as revision 3768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-21 02:16:11 +00:00
Michael Niedermayer 6260de6ab0 fix regression test failure
Originally committed as revision 3767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-21 02:01:32 +00:00
Michael Niedermayer ae895a40c5 10l (double free)
Originally committed as revision 3764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-19 20:25:55 +00:00
Michael Niedermayer 55c7e4ad5d broken avi / div by zero fix
Originally committed as revision 3761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-19 02:55:40 +00:00
Michael Niedermayer 15bc38e57c try to guess the fps if they are variable
Originally committed as revision 3760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-19 01:23:22 +00:00
Roine Gustafsson caacd4deea add -vtag and-atag support to mov patch by (Roine Gustafsson <roine at users sourceforge net>)
Originally committed as revision 3756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-17 19:23:53 +00:00
Michael Niedermayer 90bb394dcc workaround some broken mpeg-ps timestamps
Originally committed as revision 3755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-15 02:36:03 +00:00
Michael Niedermayer 5edea431d0 some sanity checks on what is muxed, invalid timestamps in mpeg are very common and lead to strange errors in the mpeg muxer otherwise
Originally committed as revision 3752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-14 16:19:26 +00:00
Michael Niedermayer 7984bbe2ce fix timestamp prediction for low_delay mpeg streams
Originally committed as revision 3751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-14 12:04:45 +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 d0271e8a3a rv20 encoding
Originally committed as revision 3739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-07 13:14:37 +00:00
Michael Niedermayer 37e85dacd0 seeking in rm 2nd try
Originally committed as revision 3738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 23:43:28 +00:00
Michael Niedermayer bc17df09d4 seeking in rm
Originally committed as revision 3737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 22:44:03 +00:00
Michael Niedermayer 80016c48b0 rm encoding fix
Originally committed as revision 3736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 21:38:05 +00:00
Michael Niedermayer 012cd15fc4 try to recover from errors instead of failing fataly
Originally committed as revision 3735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 20:03:42 +00:00
Michael Niedermayer a8b81ec199 various demuxer fixes
Originally committed as revision 3734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 18:57:59 +00:00
Michael Niedermayer 18ade9543f rv10 thread safety fix / rv10 ffplay fix
Originally committed as revision 3733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 17:21:17 +00:00
Michael Niedermayer d880240e18 timestamp fix
Originally committed as revision 3732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 16:40:10 +00:00
Michael Niedermayer d43ed92def use pts based duration/bitrate guessing code for mpeg-ts
Originally committed as revision 3731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 00:15:52 +00:00
Michael Niedermayer f9a35124a7 fixing pipe seek bug
Originally committed as revision 3730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 00:08:37 +00:00
Michael Niedermayer 423962dc01 next try at fixing rv20 decoding
Originally committed as revision 3728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-05 23:21:39 +00:00
Chriss 20b02bc628 This patch takes into account that fifo_realloc may adjust fifo.wptr
patch by ("Chris" chris at garveycocker dot com)

Originally committed as revision 3727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-05 02:46:00 +00:00
Michael Niedermayer 0d71240921 fifo_realloc()
Originally committed as revision 3726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-01 02:28:28 +00:00
Michael Niedermayer 61f4aa96ba kill a annoying debug printf
Originally committed as revision 3725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-30 21:57:51 +00:00
Michael Niedermayer 1b307febc4 fixing playback of ftp://ftp.mplayerhq.hu/MPlayer/incoming/blender_raw.avi
Originally committed as revision 3723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-30 18:45:34 +00:00
Loren Merritt f37b9768f6 split ffhuffyuv into 2 codecs:
"huffyuv" is compatible with the official version
"ffvhuff" contains our improvements

Originally committed as revision 3720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 18:29:38 +00:00
Chriss 7e0fda0a4e DVDNav4 patch by ("Chris" <chris at garveycocker d0t com>)
Originally committed as revision 3706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-23 22:25:12 +00:00
Michael Niedermayer dc56fc3802 int / int64 fix by (Wolfram Gloger <wmglo @@@ dent:med:uni-muenchen:de>)
Originally committed as revision 3704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-23 18:23:56 +00:00
Michael Niedermayer cbb6e405c0 parts of the dvd patch from ("Chris" <chris <at< garveycocker >dot< com> and Paul Curtis <pfc >at> terrapin <dot< com>)
Originally committed as revision 3700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-21 03:37:33 +00:00
Mike Melanson e4917f59a5 use correct types
Originally committed as revision 3698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-20 23:53:24 +00:00
François Revol 27d5f18f66 First implementation of nsv demuxer.
Get libavformat linked with lavc and lmp3lame is required. BeOS requires no undefined syms on link! (besides it's bad to leave undef syms)

Originally committed as revision 3696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-20 23:10:07 +00:00
Michael Niedermayer f7ff7bc648 skip unknown streams instead of failing
Originally committed as revision 3693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 18:16:36 +00:00
Michael Niedermayer 6ccedec0fd rv20 demuxing fix
Originally committed as revision 3691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 16:36:30 +00:00
Mike Melanson acfd8f0fdb native QPEG video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-17 03:45:53 +00:00
Michael Niedermayer b339fb00ba loop hack
Originally committed as revision 3687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-16 16:28:27 +00:00
Michael Niedermayer 9286699a67 disable redundant image formats, otherwise we wont get any bugreports about -f image2
Originally committed as revision 3683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-14 22:30:44 +00:00
Michael Niedermayer 61c7c3e347 raw h261 demuxing fix
Originally committed as revision 3680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-13 17:35:09 +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 ae214ac39e try to guess the codec for imag2pipe too
Originally committed as revision 3674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 22:51:52 +00:00
Michael Niedermayer 4d4f7158ee last packet size fix
Originally committed as revision 3673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 22:49:55 +00:00
Kostya Shishkov 61c52ead7c When playing
ftp://ftp.mplayerhq.hu/MPlayer/samples/V-codecs/QPEG/VWbig6.avi with my
decoder (should appear soon) it hadn't changed palette even there are
palette change chunks in that AVI.
Here is small patch to make it work (zero number of colors to change in
that chunk actually means to change ALL colors).
patch by (Kostya <cannonball>at<bw-team>dot<com>)

Originally committed as revision 3670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 01:32:35 +00:00
Michael Niedermayer 5b6d559680 move p*m from image/lavf -> image2/lavc
video/audio_codec_id in AVFormatParameters to override/help demuxer
av_guess_codec() to guess the default codecs based upon muxer + filename

Originally committed as revision 3668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-11 18:09:28 +00:00
Michael Niedermayer f4824c0f30 prefer image2 over image
Originally committed as revision 3666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-10 00:02:06 +00:00
Michael Niedermayer 4eff7cf42d porting png support from -f image to -f image2
Originally committed as revision 3665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-09 23:31:46 +00:00
Michael Niedermayer f6506a541a doxy
Originally committed as revision 3664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-09 17:27:33 +00:00
Hans Zandbelt 7a91333f73 IPv6 support patch by ("Hans Zandbelt" <Hans.Zandbelt <at> telin {dot} nl>)
Originally committed as revision 3663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-09 00:27:16 +00:00
Michael Niedermayer d07730ddd1 fix image stream copy
Originally committed as revision 3662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-08 23:36:32 +00:00