summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
Commit message (Collapse)AuthorAge
* avformat: const correctness for av_hex_dump / av_hex_dump_logDiego Biurrun2012-10-01
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* lavf: deprecate r_frame_rate.Anton Khirnov2012-07-29
| | | | | | | | | | | | | | | | | | | | According to its description, it is supposed to be the LCM of all the frame durations. The usability of such a thing is vanishingly small, especially since we cannot determine it with any amount of reliability. Therefore get rid of it after the next bump. Replace it with the average framerate where it makes sense. FATE results for the wtv and xmv demux tests change. In the wtv case this is caused by the file being corrupted (or possibly badly cut) and containing invalid timestamps. This results in lavf estimating the framerate wrong and making up wrong frame durations. In the xmv case the file contains pts jumps, so again the estimated framerate is far from anything sane and lavf again makes up different frame durations. In some other tests lavf starts making up frame durations from different frame.
* lavf: use dts difference instead of AVPacket.duration in find_stream_info()Anton Khirnov2012-07-29
| | | | | | | | | | AVPacket.duration is mostly made up and thus completely useless, this is especially true for video streams. Therefore use dts difference for framerate estimation and the max_analyze_duration check. The asyncts test now needs -analyzeduration, because the default is 5 seconds and the audio stream in the sample appears at ~10 seconds.
* avf: introduce nobuffer optionLuca Barbato2012-07-29
| | | | | | | | | | | | | Useful in cases where a significant analyzeduration is still needed, while minimizing buffering before output. An example is processing low-latency streams where all media types won't necessarily come in if the analyzeduration is small. Additional changes by Josh Allmann <joshua.allmann@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: include libavutil/time.h instead of redeclaring av_gettime()Mans Rullgard2012-06-21
| | | | | | This avoids some warnings about redundant declarations. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move av_gettime() to libavutilMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avformat: Add a flag to mark muxers that allow (non strict) monotone timestamps.James Zern2012-05-20
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* lavf: add missing '*' in a doxy.Anton Khirnov2012-05-07
|
* make av_interleaved_write_frame() flush packets when pkt is NULLJindrich Makovicka2012-03-27
| | | | | | | | This patch allows the user to force flushing of all queued packets by calling av_interleaved_write_frame() with pkt set to NULL. Signed-off-by: Jindrich Makovicka <jindrich.makovicka@nangu.tv> Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf doxy: expand AVStream.codec doxy.Anton Khirnov2012-03-26
|
* lavf doxy: improve AVStream.time_base doxy.Anton Khirnov2012-03-26
| | | | | Remove confusing sentence that implied the user should set the timebase. Elaborate on how the timebase is set for muxing.
* lavf doxy: add some basic documentation about reading from the demuxer.Anton Khirnov2012-03-26
|
* lavf doxy: document passing options to demuxers.Anton Khirnov2012-03-26
|
* lavf doxy: clarify that an AVPacket contains encoded data.Anton Khirnov2012-03-26
|
* libavformat: Document who sets the AVStream.id fieldMartin Storsjö2012-03-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: make av_interleave_packet_per_dts() private.Anton Khirnov2012-03-20
| | | | | There is no reason for it to be public, it's only meant to be used internally.
* lavf: deprecate av_read_packet().Anton Khirnov2012-03-20
| | | | | | The caller can achieve the same effect (i.e. getting raw unparsed/mangled packets) with av_read_frame() and AVFMT_FLAG_NOPARSE | AVFMT_FLAG_NOFILLIN
* avformat: do not require a pixel/sample format if there is no decoderJustin Ruggles2012-03-05
| | | | | | | | Also, do not keep trying to find and open a decoder in try_decode_frame() if we already tried and failed once. Fixes always searching until max_analyze_duration in avformat_find_stream_info() when demuxing codecs without a decoder.
* lavf: deobfuscate read_frame_internal().Anton Khirnov2012-03-05
| | | | | | | | | | | | | | Split off packet parsing into a separate function. Parse full packets at once and store them in a queue, eliminating the need for tracking parsing state in AVStream. The horrible unreadable loop in read_frame_internal() now isn't weirdly ordered and doesn't contain evil gotos, so it should be much easier to understand. compute_pkt_fields() now invents slightly different timestamps for two raw vc1 tests, due to has_b_frames being set a bit later. They shouldn't be more wrong (or right) than previous ones.
* lavf: generic code for exporting attached pictures.Anton Khirnov2012-02-29
|
* avf: reorder AVStream and AVFormatContextLuca Barbato2012-02-28
|
* doxy: remove reference to removed apiLuca Barbato2012-02-19
|
* lavf: add functions for accessing the fourcc<->CodecID mapping tables.Anton Khirnov2012-01-31
| | | | Fixes bug 212.
* lavf: rename AVInputFormat.value to raw_codec_id.Anton Khirnov2012-01-31
| | | | It's only used by raw demuxers for storing the codec id.
* lavf: reorder AVInput/OutputFormat fields.Anton Khirnov2012-01-31
| | | | | | | Put all private fields at the end and mark them as such so they can be easily changed/removed. This breaks ABI.
* lavf: remove disabled FF_API_SET_PTS_INFO cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_REORDER_PRIVATE cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_SEEK_PUBLIC cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_STREAM_COPY cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_PRELOAD cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_NEW_STREAM cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_MUXRATE cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_FILESIZE cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_TIMESTAMP cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_LOOP_OUTPUT cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_LOOP_INPUT cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_AVSTREAM_QUALITY cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_FLAG_RTP_HINT cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_SDP_CREATE cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_GUESS_IMG2_CODEC cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_PKT_DUMP cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_FIND_INFO_TAG cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_PARSE_DATE cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_DUMP_FORMAT cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_FORMAT_PARAMETERS cruftAnton Khirnov2012-01-27
| | | | | Also remove now unused AVFormatParameters struct and AVOutputFormat.set_parameters().
* lavf: remove disabled FF_API_OLD_METADATA2 cruftAnton Khirnov2012-01-27
|
* lavf: remove AVFormatParameters from AVFormatContext.read_header signatureAnton Khirnov2012-01-27
|
* libavformat: Add a flag for muxers that support write_packet(NULL) for flushingMartin Storsjö2012-01-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: fix and extend av_interleaved_write_frame() doxy.Anton Khirnov2012-01-18
| | | | Specify that lavf is responsible for freeing the data.