summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
Commit message (Collapse)AuthorAge
* Make arguments of av_set_pts_info() unsigned.Reinhard Tartler2010-02-09
| | | | | | | | Fixes issue1240/mpeg1/smclockmpeg1.avi.3.1 Originally committed as revision 21707 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* revert r16717, r16718, r16719, EAGAIN handling, this causes FFserver to hangBaptiste Coudurier2009-03-02
| | | | Originally committed as revision 17737 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* deprecate old metadata APIAurelien Jacobs2009-03-01
| | | | Originally committed as revision 17690 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use new metadata API in libavformat/utils.cAurelien Jacobs2009-03-01
| | | | Originally committed as revision 17687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Disable MPEG-1/2 style timestamp calculation for H264. It still randomizesMichael Niedermayer2009-03-01
| | | | | | the timestamps because delay is not known for the first few frames. Originally committed as revision 17674 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert "Improve frame rate guessing for streams with two fields per frame."Måns Rullgård2009-02-28
| | | | | | | This reverts r17656, which broke many tests. Further investigation is necessary. Originally committed as revision 17658 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Improve frame rate guessing for streams with two fields per frame.Ivan Schreter2009-02-28
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17656 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not allow standard-frame-rate detection to increase the value ofReimar Döffinger2009-02-27
| | | | | | r_frame_rate by more than 1% over a previously set/detected value. Originally committed as revision 17641 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Detect the case when the time base is exact but far finer than necessary toReimar Döffinger2009-02-27
| | | | | | represent the time stamps, as e.g. for ipmovie.c and set a better r_frame_rate. Originally committed as revision 17631 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add ticks_per_frame, this should hopefully fix the regressions causedMichael Niedermayer2009-02-26
| | | | | | by the time_base change. Originally committed as revision 17630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add timestamp computation if values are exported by decoder.Ivan Schreter2009-02-24
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17574 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change duration computation to use time_base instead of TB/2.Ivan Schreter2009-02-24
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17570 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add CODEC_ID_H264 to tb_unreliable(), it belongs there for the sameMichael Niedermayer2009-02-24
| | | | | | reason as mpeg2. (telecine amongth others) Originally committed as revision 17551 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow av_find_stream_info() to be aborted.Michael Niedermayer2009-02-23
| | | | | | Based on a patch by netgem. Originally committed as revision 17538 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Waste less space for printing timebases.Michael Niedermayer2009-02-21
| | | | Originally committed as revision 17505 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print all timebases (idea from netgem)Michael Niedermayer2009-02-21
| | | | Originally committed as revision 17502 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use context variable repeat_pict for frame duration computation andIvan Schreter2009-02-21
| | | | | | | | document this new use. Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17492 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Be less noisy with invalid pts/dts.Michael Niedermayer2009-02-21
| | | | Originally committed as revision 17482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add convergence_duration to AVCodecParserContext.Ivan Schreter2009-02-19
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17468 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add key_frame to AVCodecParserContext, used in libavformat.Ivan Schreter2009-02-18
| | | | | | | | Initialized to -1 in parser.c for backward compatibility. Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17442 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a warning log when trying to encode into a container requiring globalArt Clarke2009-02-12
| | | | | | | headers in extradata and the codec is not set correctly. Patch by Art Clarke aclarke xuggle com Originally committed as revision 17177 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove now useless av_set_program_name() functionAurelien Jacobs2009-02-10
| | | | Originally committed as revision 17113 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add the ability to set the timestamp to the current time by specifying 'now'Francesco Cosoleto2009-02-08
| | | | | | | | as the time Patch by Francesco Cosoleto ( cosoleto gmail com ) Originally committed as revision 17076 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace the calls to the deprecated av_alloc_format_context() withStefano Sabatini2009-02-08
| | | | | | corresponding calls to avformat_alloc_context(). Originally committed as revision 17048 to svn://svn.ffmpeg.org/ffmpeg/trunk
* let packet pass through when no timestampsBaptiste Coudurier2009-02-03
| | | | Originally committed as revision 16982 to svn://svn.ffmpeg.org/ffmpeg/trunk
* split av_interleave_per_dts, to avoid code duplicationBaptiste Coudurier2009-01-31
| | | | Originally committed as revision 16884 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move av_read_frame/parser related buffer variables from AVFormatContextMichael Niedermayer2009-01-22
| | | | | | | to AVStream, this is required if we want to allow the user to pull frames from specific streams at some point in the future. Originally committed as revision 16724 to svn://svn.ffmpeg.org/ffmpeg/trunk
* print stream sar if present and different than codec sarBaptiste Coudurier2009-01-22
| | | | Originally committed as revision 16720 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle av_read_frame() EAGAIN return.Michael Niedermayer2009-01-22
| | | | Originally committed as revision 16718 to svn://svn.ffmpeg.org/ffmpeg/trunk
* jpeg2k is intra only codecBaptiste Coudurier2009-01-18
| | | | Originally committed as revision 16663 to svn://svn.ffmpeg.org/ffmpeg/trunk
* match format in names list separated by commasBaptiste Coudurier2009-01-17
| | | | Originally committed as revision 16659 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove ff_get_fourcc() and use AV_RL32() insteadAurelien Jacobs2009-01-17
| | | | Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* export gcd function as av_gcd()Aurelien Jacobs2009-01-17
| | | | Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the AVFormatContext options definition to a dedicated file,Stefano Sabatini2009-01-10
| | | | | | reduce the utils.c clutter. Originally committed as revision 16516 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not assume that if pkt->destruct != av_destruct_packet then it is notLuca Abeni2009-01-09
| | | | | | necessary to call the destruct method Originally committed as revision 16506 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename ff_metadata_sync_compat to ff_metadata_mux_compatAurelien Jacobs2009-01-09
| | | | Originally committed as revision 16501 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a second metadata compatibility layer, so that metadata that getsAurelien Jacobs2009-01-08
| | | | | | | demuxed with new API is automatically converted to the old API, allowing old applications to stay functional. Originally committed as revision 16499 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not try to duplicate packets that have data==NULL.Michael Niedermayer2009-01-07
| | | | Originally committed as revision 16483 to svn://svn.ffmpeg.org/ffmpeg/trunk
* free all allocated metadata structuresAurelien Jacobs2009-01-06
| | | | Originally committed as revision 16457 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a metadata compatibility layer, so that when a user application setAurelien Jacobs2009-01-06
| | | | | | | metadata using old API, it is automatically converted to new API before muxing. Originally committed as revision 16447 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename AVMetaData to AVMetadata and meta_data to metadataAurelien Jacobs2009-01-04
| | | | Originally committed as revision 16430 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l format include path for metadata.hMichael Niedermayer2009-01-04
| | | | Originally committed as revision 16426 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Generic metadata API.Michael Niedermayer2009-01-04
| | | | | | | | avi is updated as example. No version bump, the API still might change slightly ... No update to ffmpeg.c as requested by aurel. Originally committed as revision 16424 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop the deprecated parse_image_size() and parse_frame_rate() functionsStefano Sabatini2009-01-04
| | | | | | at the next libavformat major version bump. Originally committed as revision 16420 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix argument constness for the av_codec_get_id() andStefano Sabatini2008-11-08
| | | | | | | av_codec_get_tag() functions, making them take in input a constant array, since they're not supposed to change it. Fix some warnings. Originally committed as revision 15795 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dnxhd codec is intra onlyBaptiste Coudurier2008-10-23
| | | | Originally committed as revision 15672 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uses FF_ARRAY_ELEMS() where appropriateAurelien Jacobs2008-10-21
| | | | Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check for pts==dts on I/P frames in the presence of non low delay decoding andMichael Niedermayer2008-10-19
| | | | | | | discard these invalid timestamps. fixes issue171. Originally committed as revision 15641 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move code setting delay and presentation_delayed a little up soMichael Niedermayer2008-10-18
| | | | | | that the variables are available sooner. Originally committed as revision 15640 to svn://svn.ffmpeg.org/ffmpeg/trunk