Statistics
| Branch: | Revision:

ffmpeg / libavformat / utils.c @ 25f8db58

History | View | Annotate | Download (93.4 KB)

# Date Author Comment
31e11451 11/04/2005 11:50 PM Michael Niedermayer

allow NULL write_header() and write_trailer()

Originally committed as revision 4675 to svn://svn.ffmpeg.org/ffmpeg/trunk

21189011 09/18/2005 02:45 PM Michael Niedermayer

print more time_base fps stuff if av_log level is at debug or above
print more likely correct fps
not sure if this is formated optimally ...

Originally committed as revision 4596 to svn://svn.ffmpeg.org/ffmpeg/trunk

79396ac6 09/06/2005 09:25 PM Måns Rullgård

Kill some compiler warnings. Compiled code verified identical after changes.

Originally committed as revision 4567 to svn://svn.ffmpeg.org/ffmpeg/trunk

b461b3bc 09/02/2005 07:16 PM Reimar Döffinger

Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).

Originally committed as revision 4548 to svn://svn.ffmpeg.org/ffmpeg/trunk

7cbaa7ba 08/15/2005 03:58 PM Michael Niedermayer

parse pict_type for streams in avi
fix mpeg4 parser so it outputs te pict_type
support header only parseing without repacking

Originally committed as revision 4527 to svn://svn.ffmpeg.org/ffmpeg/trunk

30bc6613 08/15/2005 02:22 PM Michael Niedermayer

support fixing missing pts by parsing future frames

Originally committed as revision 4526 to svn://svn.ffmpeg.org/ffmpeg/trunk

f0ff20a1 08/14/2005 04:37 PM Wolfram Gloger

minor fixes for invalid audio data patch by (Wolfram Gloger: wmglo, dent med uni-muenchen de)

Originally committed as revision 4524 to svn://svn.ffmpeg.org/ffmpeg/trunk

9450118b 08/14/2005 04:19 PM Michael Niedermayer

a few checks, seems i forgot to commit this

Originally committed as revision 4523 to svn://svn.ffmpeg.org/ffmpeg/trunk

bf4e3bd2 08/14/2005 03:42 PM Måns Rullgård

kill a bunch of compiler warnings

Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk

01f4895c 07/17/2005 10:24 PM Michael Niedermayer

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

c6ec28b1 07/17/2005 12:28 AM Michael Niedermayer

DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)

Originally committed as revision 4448 to svn://svn.ffmpeg.org/ffmpeg/trunk

6fd93ce2 07/08/2005 09:14 AM Kenneth Aafløy

avformat/av_seek_frame_binary with growing file patch by (Kenneth Aafløy: kenneth, aafloy net)

Originally committed as revision 4423 to svn://svn.ffmpeg.org/ffmpeg/trunk

9c98cdbc 07/05/2005 09:07 AM Michael Niedermayer

av_seek_frame() docs timestamp clarification

Originally committed as revision 4422 to svn://svn.ffmpeg.org/ffmpeg/trunk

2577897d 06/29/2005 08:48 AM Michael Niedermayer

fix assertion failure

Originally committed as revision 4411 to svn://svn.ffmpeg.org/ffmpeg/trunk

e36bdf8b 06/28/2005 12:55 PM Daniel Kristjansson

part of the 'libavformat/utils.c doxygen documentation' patch by (Daniel Kristjansson: danielk, cat nyu edu)

Originally committed as revision 4405 to svn://svn.ffmpeg.org/ffmpeg/trunk

43c0040a 06/27/2005 08:54 PM Michael Niedermayer

dont open and close codec at every call of try_decode_frame() as this is not only slow but also fails if the previous frame is needed for setting some parameters correctly

Originally committed as revision 4400 to svn://svn.ffmpeg.org/ffmpeg/trunk

90ad92b3 06/27/2005 12:04 AM Michael Niedermayer

support changing in bitstream global headers into extradata style and back

Originally committed as revision 4395 to svn://svn.ffmpeg.org/ffmpeg/trunk

69d93a13 06/05/2005 11:09 AM Michael Niedermayer

typo fix by (lists: kenneth aafloy net)

Originally committed as revision 4354 to svn://svn.ffmpeg.org/ffmpeg/trunk

2143116d 05/29/2005 11:44 AM Michael Niedermayer

changing a few AV_LOG_DEBUG to AV_LOG_INFO

Originally committed as revision 4315 to svn://svn.ffmpeg.org/ffmpeg/trunk

2692067a 05/26/2005 08:17 PM Michael Niedermayer

AVPacket.pos

Originally committed as revision 4314 to svn://svn.ffmpeg.org/ffmpeg/trunk

cefe0607 05/22/2005 08:47 AM Michael Niedermayer

av_find_stream_info() end check fixes
10l (wrong time base)
use timestamps if duration isnt available

Originally committed as revision 4301 to svn://svn.ffmpeg.org/ffmpeg/trunk

a965c478 05/19/2005 12:06 AM Aurelien Jacobs

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

1677155d 05/12/2005 04:27 PM Michael Niedermayer

10l (overflows)

Originally committed as revision 4226 to svn://svn.ffmpeg.org/ffmpeg/trunk

3c150d16 05/06/2005 11:41 PM Michael Niedermayer

better r_frame_rate guessing code

Originally committed as revision 4193 to svn://svn.ffmpeg.org/ffmpeg/trunk

09f75b5b 05/06/2005 09:11 PM Michael Niedermayer

division by zero fix

Originally committed as revision 4191 to svn://svn.ffmpeg.org/ffmpeg/trunk

327c4076 05/06/2005 08:26 PM Michael Niedermayer

prefer container time_base for frame duration guess

Originally committed as revision 4190 to svn://svn.ffmpeg.org/ffmpeg/trunk

c0df9d75 04/30/2005 09:43 PM Michael Niedermayer

switch to native time bases

Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk

644a9262 04/25/2005 06:29 PM Michael Niedermayer

PIX_FMT_NONE and related fixes

Originally committed as revision 4161 to svn://svn.ffmpeg.org/ffmpeg/trunk

3ce16b30 03/24/2005 01:51 AM Michael Niedermayer

discard dummy packets before doing inapropriate checks on them and failing as a result

Originally committed as revision 4078 to svn://svn.ffmpeg.org/ffmpeg/trunk

f3356e9c 03/17/2005 01:25 AM Michael Niedermayer

more fine grained discarding of packets

Originally committed as revision 4051 to svn://svn.ffmpeg.org/ffmpeg/trunk

27a5fe5f 03/13/2005 12:13 AM Michael Niedermayer

keyframe & non keyframe index fixes

Originally committed as revision 4034 to svn://svn.ffmpeg.org/ffmpeg/trunk

85ad5695 02/26/2005 03:36 AM Michael Niedermayer

shorten decoder by (Jeff Muizelaar <jrmuizel gmail com>)

Originally committed as revision 3984 to svn://svn.ffmpeg.org/ffmpeg/trunk

88730be6 02/24/2005 07:08 PM Måns Rullgård

kill warnings patch by (Måns Rullgård <mru inprovide com>)

Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk

a603bf8d 01/29/2005 02:27 AM Michael Niedermayer

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

88805317 01/27/2005 04:11 PM Roine Gustafsson

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

b9866ebc 01/22/2005 01:36 PM Michael Niedermayer

support discarding uninterresting packets

Originally committed as revision 3860 to svn://svn.ffmpeg.org/ffmpeg/trunk

e19456e3 01/22/2005 02:30 AM Michael Niedermayer

fixing demuxing for short files where the framerate detection failed

Originally committed as revision 3859 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ecca7a4 01/12/2005 12:16 AM Michael Niedermayer

various security fixes and precautionary checks

Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk

568e18b1 01/08/2005 02:21 PM Michael Niedermayer

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

96db7add 01/03/2005 08:33 PM Michael Niedermayer

10l

Originally committed as revision 3798 to svn://svn.ffmpeg.org/ffmpeg/trunk

53756443 12/22/2004 01:33 AM Michael Niedermayer

1/0l fix

Originally committed as revision 3770 to svn://svn.ffmpeg.org/ffmpeg/trunk

b3506cb4 12/21/2004 02:27 AM Michael Niedermayer

prefer integer fps if possible when guessing

Originally committed as revision 3769 to svn://svn.ffmpeg.org/ffmpeg/trunk

3e76d1b5 12/21/2004 02:16 AM Michael Niedermayer

guess fps for the variable fps case

Originally committed as revision 3768 to svn://svn.ffmpeg.org/ffmpeg/trunk

15bc38e5 12/19/2004 01:23 AM Michael Niedermayer

try to guess the fps if they are variable

Originally committed as revision 3760 to svn://svn.ffmpeg.org/ffmpeg/trunk

90bb394d 12/15/2004 02:36 AM Michael Niedermayer

workaround some broken mpeg-ps timestamps

Originally committed as revision 3755 to svn://svn.ffmpeg.org/ffmpeg/trunk

5edea431 12/14/2004 04:19 PM Michael Niedermayer

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

7984bbe2 12/14/2004 12:04 PM Michael Niedermayer

fix timestamp prediction for low_delay mpeg streams

Originally committed as revision 3751 to svn://svn.ffmpeg.org/ffmpeg/trunk

d43ed92d 12/06/2004 12:15 AM Michael Niedermayer

use pts based duration/bitrate guessing code for mpeg-ts

Originally committed as revision 3731 to svn://svn.ffmpeg.org/ffmpeg/trunk

f9a35124 12/06/2004 12:08 AM Michael Niedermayer

fixing pipe seek bug

Originally committed as revision 3730 to svn://svn.ffmpeg.org/ffmpeg/trunk

0d712409 12/01/2004 02:28 AM Michael Niedermayer

fifo_realloc()

Originally committed as revision 3726 to svn://svn.ffmpeg.org/ffmpeg/trunk

1b307feb 11/30/2004 06:45 PM Michael Niedermayer

fixing playback of ftp://ftp.mplayerhq.hu/MPlayer/incoming/blender_raw.avi

Originally committed as revision 3723 to svn://svn.ffmpeg.org/ffmpeg/trunk

f37b9768 11/28/2004 06:29 PM Loren Merritt

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

dc56fc38 11/23/2004 06:23 PM Michael Niedermayer

int / int64 fix by (Wolfram Gloger <wmglo @ dent:med:uni-muenchen:de>)

Originally committed as revision 3704 to svn://svn.ffmpeg.org/ffmpeg/trunk

61c7c3e3 11/13/2004 05:35 PM Michael Niedermayer

raw h261 demuxing fix

Originally committed as revision 3680 to svn://svn.ffmpeg.org/ffmpeg/trunk

ae214ac3 11/12/2004 10:51 PM Michael Niedermayer

try to guess the codec for imag2pipe too

Originally committed as revision 3674 to svn://svn.ffmpeg.org/ffmpeg/trunk

5b6d5596 11/11/2004 06:09 PM Michael Niedermayer

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

4eff7cf4 11/09/2004 11:31 PM Michael Niedermayer

porting png support from -f image to -f image2

Originally committed as revision 3665 to svn://svn.ffmpeg.org/ffmpeg/trunk

d07730dd 11/08/2004 11:36 PM Michael Niedermayer

fix image stream copy

Originally committed as revision 3662 to svn://svn.ffmpeg.org/ffmpeg/trunk

1a1dc611 10/22/2004 01:15 PM Nathan Kurz

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

5ba7c3d7 10/22/2004 01:51 AM Michael Niedermayer

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

528c2c73 10/13/2004 11:58 PM Michael Niedermayer

fix assertion failure in case of timestamp discontinuities

Originally committed as revision 3592 to svn://svn.ffmpeg.org/ffmpeg/trunk

8bcb147f 10/12/2004 10:28 AM Michael Niedermayer

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

eb497825 10/11/2004 07:42 PM Nathan Kurz

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

d0f3f159 10/11/2004 05:12 PM Wolfram Gloger

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

3ba1438d 10/10/2004 10:05 PM Michael Niedermayer

use native timebase for seeking
direction flag for seeking

Originally committed as revision 3577 to svn://svn.ffmpeg.org/ffmpeg/trunk

576ae256 10/08/2004 08:09 PM Michael Niedermayer

write error handling

Originally committed as revision 3572 to svn://svn.ffmpeg.org/ffmpeg/trunk

e0c91bc2 10/03/2004 12:58 PM Michael Niedermayer

initial dts fix

Originally committed as revision 3555 to svn://svn.ffmpeg.org/ffmpeg/trunk

7000a175 10/03/2004 02:42 AM Michael Niedermayer

SCR timestamp fix try #1

Originally committed as revision 3550 to svn://svn.ffmpeg.org/ffmpeg/trunk

c40a3a42 10/01/2004 04:30 PM Michael Niedermayer

move free() of AVStream priv data to av_write_trailer()

Originally committed as revision 3548 to svn://svn.ffmpeg.org/ffmpeg/trunk

fe2d6fe2 09/29/2004 11:25 PM Michael Niedermayer

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

63dd1377 09/28/2004 09:09 PM Michael Niedermayer

uninitalized variables

Originally committed as revision 3534 to svn://svn.ffmpeg.org/ffmpeg/trunk

8b69867f 08/13/2004 03:30 PM Michael Niedermayer

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

6ba5cbc6 08/12/2004 12:09 AM Petr Doubek

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

53e2f9ca 07/25/2004 11:59 AM Michael Niedermayer

ffserver fixes by (Koos Vriezen <koos.vriezen at xs4all dot nl>)

Originally committed as revision 3340 to svn://svn.ffmpeg.org/ffmpeg/trunk

03cfe134 07/15/2004 06:32 PM Michael Niedermayer

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

0ff7199f 06/30/2004 05:34 PM Michael Niedermayer

fix first timestamp when decoding mpeg-ps

Originally committed as revision 3274 to svn://svn.ffmpeg.org/ffmpeg/trunk

6f824977 06/22/2004 09:14 PM Michael Niedermayer

flush audio encoder buffers at the end
fix vorbis in nut again

Originally committed as revision 3244 to svn://svn.ffmpeg.org/ffmpeg/trunk

cf7eef66 06/20/2004 11:28 AM Michael Niedermayer

1000l

Originally committed as revision 3241 to svn://svn.ffmpeg.org/ffmpeg/trunk

a6a92a9a 06/11/2004 10:03 PM Wolfram Gloger

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

3c895fc0 05/29/2004 06:50 PM Michael Niedermayer

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

e928649b 05/29/2004 02:06 AM Michael Niedermayer

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

4fc2c644 05/24/2004 03:13 PM Michael Niedermayer

100l (avi seeking)

Originally committed as revision 3155 to svn://svn.ffmpeg.org/ffmpeg/trunk

77405fc8 05/23/2004 09:36 PM Michael Niedermayer

cur_dts in native timebase

Originally committed as revision 3153 to svn://svn.ffmpeg.org/ffmpeg/trunk

cdd5034f 05/23/2004 04:26 PM Michael Niedermayer

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

9ee91c2f 05/21/2004 08:43 PM Michael Niedermayer

move time_base (pts_num/pts_den) from AVFormatContext -> AVStream

Originally committed as revision 3148 to svn://svn.ffmpeg.org/ffmpeg/trunk

293ed23f 04/27/2004 02:55 AM Michael Niedermayer

NULL pointers ...

Originally committed as revision 3080 to svn://svn.ffmpeg.org/ffmpeg/trunk

8d14a25c 04/12/2004 04:50 PM Michael Niedermayer

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

c9247fc3 04/07/2004 09:33 PM Michael Niedermayer

dont reduce the min_distance of AVIndexEntry

Originally committed as revision 2979 to svn://svn.ffmpeg.org/ffmpeg/trunk

b0c7f5a9 04/04/2004 06:33 PM Michael Niedermayer

move zero size hack from ogg.c to utils.c

Originally committed as revision 2959 to svn://svn.ffmpeg.org/ffmpeg/trunk

6d8f985e 04/04/2004 02:39 PM Michael Niedermayer

fix obnoxious ogg_packet passing from encoder to muxer

Originally committed as revision 2955 to svn://svn.ffmpeg.org/ffmpeg/trunk

8bfed902 04/04/2004 01:10 AM Michael Niedermayer

remove spyware from ogg*.c
fix vorbis in ogg decoding

Originally committed as revision 2952 to svn://svn.ffmpeg.org/ffmpeg/trunk

43465395 03/03/2004 05:53 PM Michael Niedermayer

av_log() cleanup
null pointer segfaults
dont print redundant spam
dont print prefix if reference==NULL
class -> av_class
dont copy AVClass to every object, its a waste of memory and not a good idea at all

Originally committed as revision 2841 to svn://svn.ffmpeg.org/ffmpeg/trunk

bc874dae 03/03/2004 03:41 PM Michel Bardiaux

av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)

Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk

2092bd75 02/20/2004 02:39 PM Gildas Bazin

avsync patch by (Gildas Bazin <gbazin at altern dot org>)

Originally committed as revision 2805 to svn://svn.ffmpeg.org/ffmpeg/trunk

3e9245a9 01/17/2004 06:06 PM Michael Niedermayer

store searched distance in index, so we dont waste time searching for keyframes where we already searched
asf seek fixes & use keyframe pos/timestamp cache

Originally committed as revision 2709 to svn://svn.ffmpeg.org/ffmpeg/trunk

b754978a 01/13/2004 10:02 PM Michael Niedermayer

caching of timestamps for mpeg-ps so seeking is faster
move (av_)find_stream_index() to utils.c as its usefull outside mpeg.c
assert checking enabled, to find bugs quicker, should obviously be disabled later
(av_)add_index_entry() inserts new entries so that the list stays ordered and updates entries if already in it...

6ec87caa 12/16/2003 11:21 AM Fabrice Bellard

fixed incorrect PTS/DTS logic in MPEG video case (caused rare PTS glitches if start codes were between two PES packets)

Originally committed as revision 2620 to svn://svn.ffmpeg.org/ffmpeg/trunk

37353960 12/15/2003 02:45 PM Fabrice Bellard

make av_read_frame() return buffered frames at EOF

Originally committed as revision 2616 to svn://svn.ffmpeg.org/ffmpeg/trunk

8a56ac7b 12/09/2003 03:34 PM Fabrice Bellard

copy packet without omitting the padding

Originally committed as revision 2584 to svn://svn.ffmpeg.org/ffmpeg/trunk

bcbecff1 11/20/2003 11:22 AM Fabrice Bellard

fixed memory leak

Originally committed as revision 2525 to svn://svn.ffmpeg.org/ffmpeg/trunk