Statistics
| Branch: | Revision:

ffmpeg / libavformat / utils.c @ 80a289b9

History | View | Annotate | Download (94.1 KB)

# Date Author Comment
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

ac3e1834 07/07/2006 05:50 PM Baptiste Coudurier

av_get_bits_per_sample and due simplifications

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

e006c307 06/30/2006 07:41 AM Diego Pettenò

Move initialisations and internal symbols in allformats.h,
patch by Diego "Flameeyes" Petteno flameeyes AA gentoo PP org
Original thread:
Date: Jun 30, 2006 2:07 AM
Subject: [Ffmpeg-devel] [PATCH] Move initialisations and internal symbols in allformats.h
...

62c52121 06/29/2006 07:42 PM Måns Rullgård

extradata may be used as bitstream reader input so allocate with padding

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

344a18c3 06/29/2006 07:02 PM Måns Rullgård

do not fail av_find_stream_info() if params for all streams could not be found

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

f3a30e3a 06/25/2006 05:37 PM Luca Barbato

cleanup patch from Diego Pettenò <>

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

c10824ea 06/20/2006 07:46 PM Måns Rullgård

increase search limit in av_find_stream_info

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

a97c1e93 06/17/2006 03:53 PM Stefan Huehner

Add (mostly) const to variable and parameter declaration, where a char* was
used and 'const char*' should be, plus make some function declarations
static if they aren't used outside their declaring source file.
patch by Stefan Huehner stefan%%at%%huehner%%dot%%org...

a5e9102b 06/16/2006 07:54 AM Måns Rullgård

free codec extradata in av_close_input_file

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

47dd81c7 06/15/2006 11:26 PM Baptiste Coudurier

make dump_format output more homogenous

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

329b1e75 06/13/2006 11:10 AM Michael Niedermayer

fix probe of high bitrate mpeg2video

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

67dd33f9 03/24/2006 03:47 PM Baptiste Coudurier

use av_d2q to parse frame rate

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

305ee50f 03/21/2006 11:29 AM Michael Niedermayer

provide more info on which streams lack codec parameters

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

c04c3282 03/11/2006 12:22 AM Michael Niedermayer

simplify AVFormatParameters NULL checks

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

30a43f2d 03/01/2006 11:29 AM Michael Niedermayer

add size to AVIndex

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

5e43b17e 02/11/2006 05:17 PM Michael Niedermayer

Fix for url_fclose() being called on an already closed file based on a patch by (<Colin Ward> hitman codehq org)

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

9f75260e 02/02/2006 08:54 PM Michael Niedermayer

improve fps guessing code

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

53f7c43f 02/02/2006 07:23 PM Michael Niedermayer

sanity checks for seeking

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

a877eedc 02/02/2006 11:27 AM Michael Niedermayer

dynamically increase probe buffer until format is detected

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

f038fe8b 01/25/2006 10:10 PM Diego Biurrun

warning fixes by Luca Abeni, lucabe72 ##@## email ##.## it

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

ac44871c 01/22/2006 06:34 PM Gildas Bazin

WinCE cross-compilation support
patch by Gildas Bazin < gbazin @** altern **. org >

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

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

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

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

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

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

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

780eb1c9 12/16/2005 03:51 PM Michael Niedermayer

nan fps fix

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

4733abcb 12/12/2005 01:56 AM Måns Rullgård

use PRIxN, %zd, %td formats where needed

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

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