Commit Graph

694 Commits

Author SHA1 Message Date
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
Michael Niedermayer
359fa0febc cbr audio muxing fix
Originally committed as revision 3661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-06 19:11:34 +00:00
Michael Niedermayer
1c3990dbba H.261 encoder by (Maarten Daniels <maarten dot daniels at luc dot ac dot be>)
Originally committed as revision 3643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 10:12:57 +00:00
Mike Melanson
ab711b3c8d Miro VideoXL (VIXL) decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-27 04:30:48 +00:00
Michael Niedermayer
146210caf9 image2pipe fix
Originally committed as revision 3635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-24 22:39:08 +00:00
Michael Niedermayer
afbb5ce406 dvr-ms video decoding support
Originally committed as revision 3631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-24 13:07:59 +00:00
Nathan Kurz
1a1dc611ce bug in libavformat av_update_cur_dts(), patch by (Nathan Kurz <nate at verse dot com>)
Originally committed as revision 3622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-22 13:15:18 +00:00
Roman Shaposhnik
f02be79d61 * Introducing IIDC1394 grabbing interface.
Use it with -grab dc1394

   * Introducing yet another packed pix_fmt in order to support some of
     the IIDC1394 modes: uyvy411 (Cb Y0 Y1 Cr Y2 Y3).

Originally committed as revision 3621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-22 02:04:30 +00:00
Michael Niedermayer
5ba7c3d7c9 set keyframe flag at a more central place instead of in every demuxer for containers which only store intra only streams
Originally committed as revision 3620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-22 01:51:17 +00:00
Michael Niedermayer
4a8d51356f fixing demuxing of vc2_intro.avi
Originally committed as revision 3610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-19 10:37:02 +00:00
Alex Beregszaszi
d08f4bcbbd report keyframes
Originally committed as revision 3608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-18 11:42:40 +00:00
Michael Niedermayer
595bf4ef63 set correct timebase
Originally committed as revision 3607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-18 09:43:39 +00:00
Michael Niedermayer
17c88cb0ce user setable preload and max_mux_delay
Originally committed as revision 3602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-16 21:27:42 +00:00
Mike Melanson
ad81a9fe41 Electronic Arts Game Multimedia format demuxer (WVE/UV2/etc.)
Originally committed as revision 3600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-16 19:33:57 +00:00
Nathan Kurz
ecc2c0a464 set keyframe flag for au/wav patch by (Nathan Kurz <nate at verse dot com>)
Originally committed as revision 3596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-15 22:06:46 +00:00
Michael Niedermayer
528c2c737e fix assertion failure in case of timestamp discontinuities
Originally committed as revision 3592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-13 23:58:28 +00:00
Roman Shaposhnik
664f583665 * static allocation for audio packets. This will make it a little bit
faster and easier to follow.

   * misc. fixes for problems with seeking

Originally committed as revision 3590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-13 00:03:00 +00:00
Mike Melanson
b3bfb29980 Creative ADPCM decoder, format 0x200, courtesy of Konstantin Shishkov
Originally committed as revision 3589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-12 12:47:49 +00:00
Michael Niedermayer
8bcb147f54 generic cur_dts update
removing cur_dts update code from dv again, i think its not needed

Originally committed as revision 3588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-12 10:28:27 +00:00
Michael Niedermayer
83582de4c1 flags, rounding and cliping fix by (Nathan Kurz <nate at verse dot com>)
max_pos, buffer flush, audio and video timestamp fix by me

Originally committed as revision 3586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-12 01:51:04 +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
Nathan Kurz
eb497825fe default stream timebase docs patch by (Nathan Kurz <nate at verse dot com>)
Originally committed as revision 3581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 19:42:18 +00:00
Wolfram Gloger
d0f3f15945 print start_time patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 17:12:52 +00:00
Michael Niedermayer
3ba1438dec use native timebase for seeking
direction flag for seeking

Originally committed as revision 3577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-10 22:05:43 +00:00
Michael Niedermayer
576ae256a4 write error handling
Originally committed as revision 3572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-08 20:09:52 +00:00
Michael Niedermayer
caaeefc591 prevent multiple av_register_all()
Originally committed as revision 3570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-07 21:11:08 +00:00
Michael Niedermayer
6c55b27f8f do not randomize unknown timestamps
Originally committed as revision 3568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-07 01:55:34 +00:00
Michael Niedermayer
2db3c638a7 user selectable packet_size and mux_rate
Originally committed as revision 3566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-06 22:29:30 +00:00
Måns Rullgård
ca37721277 untested AAC in WAV/AVI patch by (Måns Rullgård <mru at mru dot ath dot cx>)
Originally committed as revision 3565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-06 20:12:58 +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
Paul Curtis
78a0efb4fc AVOutputFormat mpeg2dvd_mux and int is_dvd from the dvd patch by (Paul Curtis <pfc at terrapin dot com>)
Originally committed as revision 3557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 18:21:45 +00:00
Michael Niedermayer
e0c91bc23b initial dts fix
Originally committed as revision 3555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 12:58:14 +00:00
Michael Niedermayer
2031ba1bf2 remove wrong 33bit truncation of internal timestamps
Originally committed as revision 3554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 12:17:46 +00:00
Michael Niedermayer
bc3429e382 pts/dts 100l fix
Originally committed as revision 3553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 11:16:40 +00:00
Michael Niedermayer
7e05155850 cleanup video buffer size
Originally committed as revision 3552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 03:14:09 +00:00