Statistics
| Branch: | Revision:

ffmpeg / libavformat / utils.c @ efd5fc53

History | View | Annotate | Download (89.4 KB)

# Date Author Comment
efd5fc53 05/02/2007 09:18 AM Benoit Fouet

return right format in set_codec_from_probe_data

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

e7047005 04/26/2007 11:40 PM Alex Beregszaszi

properly compile code for REDIR_DEMUXER

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

578688fa 04/26/2007 10:49 AM Luca Abeni

Fix reading PTSs and DTSs in libavformat, by reverting r8465.
Such commit introduced some regressions (see the "Possible bug in reading
PTS/DTS" and "[BUG] no video transcoding" threads on ffmpeg-devel).

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

7d88b5ca 04/24/2007 11:45 AM Benoit Fouet

more format abbreviations

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

db2a0e22 04/22/2007 06:48 PM Michael Niedermayer

dont assert(0) due to buggy rm demuxer

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

b5a3541d 04/22/2007 04:23 PM Michael Niedermayer

fix av_seek_frame_generic() so that it doesnt fail if the
requested timestamp is after the last with backward flag

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

b237eb80 04/22/2007 11:07 AM Michael Niedermayer

init packet before calling the demuxer
fixed random/uninitalized AVPacket->pos

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

61bc79ec 04/20/2007 11:45 PM Alex Beregszaszi

remove possibly broken wince cruft

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

57004ff1 04/15/2007 01:51 PM Aurelien Jacobs

add an enum for need_parsing

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

a74008a4 04/13/2007 07:50 AM Joakim Plate

timestamps generation improvement when parsing avi
patch by Joakim \ elupus chez ecce dot se /
original thread:
date: 03/19/2007 01:47 AM
subject: [Ffmpeg-devel] [RFC] Improvement for the odd timestamp generation when parser is in use.

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

6fea687e 04/12/2007 08:11 AM John Donaghy

DVR-MS probe audio format
patch by John Donaghy \ johnfdonaghy chez gmail dot com /
Original thread:
date: 03/13/2007 04:56 PM
subject: [Ffmpeg-devel] [PATCH] DVR-MS probe audio format - was DVR-MS bug (MP2 decoding)

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

87e87886 04/08/2007 11:34 AM Michael Niedermayer

allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks

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

e19fbbec 04/06/2007 09:43 AM Víctor Paesa

Add some help for the analyzeduration option.
patch by Víctor Paesa, wzrlpy arsystel com

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

6cc65ab3 03/30/2007 03:05 PM Michael Niedermayer

analyze end condition must match r_fps selection condition
fixes fps for Channel\ 4\ News_Channel\ 4_20_10_2006_19_00_01.dvr-ms

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

79750486 03/27/2007 07:28 PM Michael Niedermayer

require at least a score of AVPROBE_SCORE_MAX/4 or reaching of PROBE_BUF_MAX
to detect a container
fixes probing of mpeg_probe_fail.mpg

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

df7625ed 03/21/2007 10:48 AM Wolfram Gloger

av_estimate_timings_from_pts() flushes the packet queue but doesn't
reset the streams' cur_dts values. This can lead to a fatal "error,
non monotone timestamps ..." message later, because the out-of-date
cur_dts values are used to compute some packet's dts....

028d6f3e 03/20/2007 01:59 PM Michael Niedermayer

revert r8428, the check was not that useless
should fix constant pts=0 with broken demuxers

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

a843d1ff 03/20/2007 01:01 PM Michael Niedermayer

i think this is more correct

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

bc4efe42 03/17/2007 02:44 PM Michael Niedermayer

remove incorrect special case for audio

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

7e4baa66 03/17/2007 02:29 PM Michael Niedermayer

fix indention

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

d9e1efb7 03/17/2007 02:27 PM Michael Niedermayer

reorder pts into dts support

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

a7f7965a 03/17/2007 02:23 AM Michael Niedermayer

remove useless if()

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

14eb3345 03/17/2007 02:03 AM Michael Niedermayer

simplify

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

41c8a56a 03/17/2007 01:21 AM Michael Niedermayer

simplify

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

e25f9731 03/16/2007 11:02 PM Michael Niedermayer

remove silly video check, theres nothing video specific in there

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

befe3b05 03/16/2007 10:59 PM Michael Niedermayer

add a delay variable to hold the timestamp buffer size
set cur_dts correctly for delay>1

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

741887cf 03/16/2007 10:31 PM Michael Niedermayer

remove special case for h.264 whatever this was supposed to do its not correct

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

750f0e1f 03/12/2007 02:17 PM Panagiotis Issaris

Introduce two new logging functions av_hex_dump_log() and av_pkt_dump_log()
which use av_log() for logging instead of fprintf().

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

ea486ab3 03/12/2007 10:59 AM Baptiste Coudurier

remove codec_info_duration/nb_frames from AVStream

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

3217cb42 03/03/2007 12:23 PM Panagiotis Issaris

Move the libavformat public API comments to avformat.h. The comments are
unmodified.

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

0cbff027 03/02/2007 01:23 PM Kristian Amlie

replace the auto array "duration_error" with a malloced array.
prevents stack overflow on some plateforms
patch by Kristian Amlie %kristian A gridmedia P com %
Original thread:
Date: Mar 1, 2007 11:29 PM
Subject: [Ffmpeg-devel] Stack overflow patch

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

497244a8 03/01/2007 04:40 PM Baptiste Coudurier

check for any seeking failure during probe

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

3fdb6af9 02/27/2007 01:07 PM Baptiste Coudurier

use avcodec_decode_audio2

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

a185f52a 02/20/2007 04:18 PM Michael Niedermayer

try to fill in missing bits_per_sample

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

8fa36ae0 02/13/2007 06:26 PM François Revol

This fixes error handling for BeOS, removing the need for some ifdefs.
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed....

e9b78eeb 02/05/2007 11:04 PM Michael Niedermayer

better generic index building and seeking code

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

9ecf7fad 02/05/2007 02:08 AM Wolfram Gloger

Fix audio corruption when cutting.
Patch by Wolfram Gloger, wmglo dent dot med dot uni-muenchen dot de.

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

5a461d8e 02/02/2007 11:19 AM Michael Niedermayer

packets must be correctly interleaved

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

a44b3c4d 01/23/2007 05:34 PM Michael Niedermayer

make av_find_stream_info() duration user selectable

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

373c32c7 01/23/2007 09:24 AM Michel Bardiaux

Fix wrong comment, patch by Michel Bardiaux mbardiaux mediaxim be.

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

5ecfa9f5 01/21/2007 12:31 PM Michael Niedermayer

set codec_tag from codec_id if its not set and can be set based on the AVCodecTag tables

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

40d9c544 01/19/2007 10:54 PM Reimar Döffinger

Attempt to better document AVFMT_NOFILE.

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

b8e705ec 01/19/2007 10:52 PM Reimar Döffinger

Demuxers with AVFMT_NOFILE will open a (possibly different) file themselves,
so do not probe them if is_opened is set.

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

dfc58c5d 01/08/2007 02:44 PM Baptiste Coudurier

removed unused av_frac_set

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

702dfe01 01/08/2007 02:42 PM Baptiste Coudurier

remove #if obsoleted after last major version bump

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

8fae2df5 01/08/2007 02:22 PM Baptiste Coudurier

10l, only allocate priv_data if not already done

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

c6efa4b5 01/08/2007 12:57 PM Baptiste Coudurier

humm, actually do what's in the doxy

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

69c262d1 01/02/2007 08:35 PM Michael Niedermayer

indention

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

1694118b 01/02/2007 08:32 PM Michael Niedermayer

nth try of getting the frame rate detecton working

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

ecec87af 01/01/2007 09:17 PM Michael Niedermayer

revert regression test breaking change

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

4b96d28a 12/29/2006 09:41 PM Michael Niedermayer

ignore duration of the first 2 frames in the max-time break check
fixes framerate detection for framerate_misdetected.wmv

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

6268538a 12/29/2006 09:16 PM Michael Niedermayer

do not base frame rate guess on just one duration

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

e07d8929 12/12/2006 02:08 PM Michael Niedermayer

indent

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

fd97f6a2 12/12/2006 02:07 PM Michael Niedermayer

the next r_frame_rate try ...
discard first duration
accumulate remaining durations
add 15000/1001 and 12000/1001

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

06d1e5c2 12/12/2006 12:24 PM Michael Niedermayer

gcc 2.95 fix

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

4d43cbcc 12/11/2006 04:59 PM Michael Niedermayer

rewrite r_frame_rate selectioon code again

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

f27a7268 12/07/2006 12:47 AM Måns Rullgård

use standard INT64_MAX instead of MAXINT64 (and MIN)

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

8da9266c 12/06/2006 11:46 PM Måns Rullgård

use the standard INT64_C() macro for 64-bit constants

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

68a432cf 12/06/2006 05:17 PM Baptiste Coudurier

cosmetics, remove braces, remove spaces just inside parens

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

8533284d 12/06/2006 03:46 PM Andy Parkins

do not truncate pts/dts if value is AV_NOPTS_VALUE, patch by Andy Parkins, andrew parkins at 360visiontechnology com

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

89ddd2a9 11/14/2006 01:34 AM Michael Niedermayer

split av_seek_frame_binary() so the code becomes idependant of AVInputFormat and AVIndex

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

faf7cbf1 11/11/2006 07:37 PM Michael Niedermayer

nut simple seeking first try

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

f932cdf2 11/02/2006 11:22 PM Baptiste Coudurier

kill AVImageFormat

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

949b1a13 11/01/2006 10:39 PM Steve L'Homme

Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com

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

1345f4ed 11/01/2006 09:28 PM Diego Biurrun

Rename SWAP macro to FFSWAP.

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

e344c1ea 11/01/2006 09:09 PM Steve L'Homme

reindentation, patch by From: Steve Lhomme, slhomme divxcorp com

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

55bdd34d 10/30/2006 11:59 PM Baptiste Coudurier

remove gcc warning about void * used in arithmetic

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

18de0b81 10/27/2006 10:53 AM Baptiste Coudurier

fflags can/will be used for muxing too

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

ccd3228e 10/14/2006 08:43 PM Dominik Mierzejewski

Use proper PRI?64 macros for %ll? format to fix printf format warnings:
utils.c:833: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘int64_t’
utils.c:833: warning: format ‘%lld’ expects type ‘long long int’, but argument 6 has type ‘int64_t’...

03bb9ae5 10/13/2006 07:19 PM Michael Niedermayer

10l CODEC vs. FORMAT

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

c26abfa5 10/11/2006 11:17 PM Diego Biurrun

Rename ABS macro to FFABS.

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

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

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

5523d5f4 10/03/2006 07:13 PM Michael Niedermayer

fix r_frame_rate detection in mpeg4 streams with non integer fps

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

730ba406 09/26/2006 06:34 PM Michael Niedermayer

fix r_frame_rate init code for groundhog.vob

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

6c17a956 09/26/2006 06:03 PM Michael Niedermayer

drop broken telecine detection code

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

35eab0c0 09/26/2006 05:27 PM Michael Niedermayer

reindent

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

5fb83c38 09/26/2006 05:25 PM Michael Niedermayer

dont ignore MAX_READ_SIZE

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

f5a478f6 09/21/2006 07:31 AM Roman Shaposhnik
  • Moving FifoBuffer out of libavformat/avformat.h and
    libavformat/utils.c into libavutil

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

4ff8fcef 09/20/2006 08:24 AM Panagiotis Issaris

Migrate the "packetsize" OptionDef option to become an AVOption.

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

09a45576 09/20/2006 08:23 AM Panagiotis Issaris

Migrate the "muxrate" OptionDef option to become an AVOption.

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

66acccf0 09/14/2006 01:51 PM Panagiotis Issaris

Make OFFSET reuse offsetof

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

5894991f 09/14/2006 12:04 PM Panagiotis Issaris

Remove a redundant memset from libavformat.

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

8c3dd5dc 09/10/2006 09:51 PM Panagiotis Issaris

Use and set sane AVOption defaults
Patch by Takis
Original thread:
Date: Sep 8, 2006 3:26 PM
Subject: [Ffmpeg-devel] [PATCH 2/2] Use and set sane AVOption defaults

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

73a8ceaa 09/10/2006 08:21 PM Panagiotis Issaris

make AVOptions default value field work.
Patch by Panagiotis Issaris % takis P issaris A uhasselt P be %
Original thread:
Date: Sep 8, 2006 3:22 PM
Subject: [Ffmpeg-devel] [PATCH 1/2] Enable usage of AVOption default value

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

5e89b50b 09/09/2006 08:49 AM Panagiotis Issaris

undefines a few temporary defines which were not undefined after their usage.
Patch by Panagiotis Issaris

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

ec1b10f4 09/08/2006 12:28 PM Panagiotis Issaris

enable setting the year and track number using AVOption
Patch by Takis
Original thread:
Date: Sep 6, 2006 5:43 PM
Subject: [Ffmpeg-devel] [PATCH] Enhance genre, year and track tag
support

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

57c244f6 09/08/2006 12:12 PM Panagiotis Issaris

makes avformat_get_context_defaults() static
when the next compatibility breaking change occurs, as suggested by
Michael Niedermayer here:
http://article.gmane.org/gmane.comp.video.ffmpeg.devel/36377
Patch by Takis
Original thread:
Date: Sep 8, 2006 11:19 AM...

2c00106c 09/05/2006 07:23 PM Michael Niedermayer

ignore index parameter to ignore the ODML index in avi

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

5c07cf53 09/04/2006 09:57 AM Michel Bardiaux

Clarified API for numbered sequences, patch by Michel Bardiaux % mbardiaux A mediaxim P be %
Original thread:
Date: Aug 30, 2006 4:54 PM
Subject: [Ffmpeg-devel] [PATCH] Clarified API for numbered sequences

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

504ee036 08/30/2006 09:18 PM Michael Niedermayer

fix b pyramid in mp4 muxing if no dts are provided to the muxer

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

9e6c9470 08/27/2006 12:21 PM Nico Sabbi

added option probesize; at the moment only used by mpegts.c

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

4eb72c6b 08/27/2006 12:14 PM Nico Sabbi

initial support for AVOption in AVFormatContext

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

81f0f938 08/11/2006 09:24 PM Baptiste Coudurier

update documentation

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

f21c0b4c 08/11/2006 09:21 PM Baptiste Coudurier

export av_interleave_packet_per_dts

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

494bbf58 08/08/2006 08:31 PM Michael Niedermayer

dont be too picky about timestampsbeing wrong if the destination container is without timestamps and raw of the raw video / raw audio sort

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

434cab9e 08/08/2006 07:55 PM Michael Niedermayer

timestamp debugging av_logs()

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

22ffac70 07/23/2006 06:19 PM Reimar Döffinger

Try to find out correct start time to make seeking faster and add some
extra checks to make sure the seeking function will not hang forever.

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

ff70e601 07/10/2006 09:14 PM Måns Rullgård

allow individual selection of muxers and demuxers

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

d2a067d1 07/09/2006 11:40 PM Måns Rullgård

give AVInput/OutputFormat structs consistent names

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

f1b163e0 07/08/2006 07:14 AM Aurelien Jacobs

set proper bits_per_sample value for ADPCM codecs

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