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
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
96db7add10
10l
...
Originally committed as revision 3798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-03 20:33:52 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
7000a17542
SCR timestamp fix try #1
...
Originally committed as revision 3550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 02:42:01 +00:00
Michael Niedermayer
c40a3a42e1
move free() of AVStream priv data to av_write_trailer()
...
Originally committed as revision 3548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 16:30:15 +00:00
Michael Niedermayer
fe2d6fe235
move packet interleaving function into AVOutputFormat, so it can be overriden easily instead of doing reordering twice if the muxer needs some other interleaving then dts based
...
Originally committed as revision 3540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-29 23:25:01 +00:00
Michael Niedermayer
63dd1377b3
uninitalized variables
...
Originally committed as revision 3534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 21:09:25 +00:00
Michael Niedermayer
8b69867f2e
Minor Patch for shared libs on Mac OSX by (Bill May <wmay at cisco dot com>)
...
Originally committed as revision 3387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 15:30:42 +00:00
Petr Doubek
6ba5cbc699
HTTP Authentication Patch by (Petr Doubek <doubek at vision dot ee dot ethz dot ch>)
...
tested and submitted by (Torsten Spindler <spindler at hbt dot arch dot ethz dot ch>)
Originally committed as revision 3381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-12 00:09:32 +00:00
Michael Niedermayer
53e2f9caf8
ffserver fixes by (Koos Vriezen <koos.vriezen at xs4all dot nl>)
...
Originally committed as revision 3340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 11:59:34 +00:00
Michael Niedermayer
03cfe134ca
image2 / image API cleanup phase-1
...
with this its possible to encode&decode any video codec to individual (1 file per frame) files
Originally committed as revision 3319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-15 18:32:54 +00:00
Michael Niedermayer
0ff7199f59
fix first timestamp when decoding mpeg-ps
...
Originally committed as revision 3274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 17:34:15 +00:00
Michael Niedermayer
6f82497728
flush audio encoder buffers at the end
...
fix vorbis in nut again
Originally committed as revision 3244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-22 21:14:01 +00:00
Michael Niedermayer
cf7eef66ce
1000l
...
Originally committed as revision 3241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-20 11:28:01 +00:00
Wolfram Gloger
a6a92a9aa6
user specified start time offset
...
frame dup/drop info
typos
patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-11 22:03:16 +00:00
Michael Niedermayer
3c895fc098
correctly interleave packets during encoding
...
dts/pts fixed for streamcopy
dont use coded_frame->key_frame hack in muxers, use AVPacket.flags instead
Originally committed as revision 3171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 18:50:31 +00:00
Michael Niedermayer
e928649b0b
pass AVPacket into av_write_frame()
...
fixes the random dts/pts during encoding
asf preroll fix
no more initial zero frames for b frame encoding
mpeg-es dts during demuxing fixed
.ffm timestamp scale fixed, ffm is still broken though
Originally committed as revision 3168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 02:06:32 +00:00
Michael Niedermayer
4fc2c6447f
100l (avi seeking)
...
Originally committed as revision 3155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-24 15:13:23 +00:00
Michael Niedermayer
77405fc866
cur_dts in native timebase
...
Originally committed as revision 3153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-23 21:36:23 +00:00
Michael Niedermayer
cdd5034f89
store index for seeking in the native timebase of each stream
...
set correct timebase for nut
merge mpeg-ts seeking with existing seeking code
10l fix in mpegts (27mhz vs. 90khz)
Originally committed as revision 3152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-23 16:26:12 +00:00
Michael Niedermayer
9ee91c2f53
move time_base (pts_num/pts_den) from AVFormatContext -> AVStream
...
Originally committed as revision 3148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 20:43:21 +00:00
Michael Niedermayer
293ed23f12
NULL pointers ...
...
Originally committed as revision 3080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 02:55:05 +00:00
Michael Niedermayer
8d14a25c3e
moving nearly identical binary search code from nut/mpeg/asf to utils.c
...
Originally committed as revision 3003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 16:50:03 +00:00