summaryrefslogtreecommitdiff
path: root/libavformat/dump.c
Commit message (Collapse)AuthorAge
* dump: Drop unused variableDiego Biurrun2016-05-22
|
* stereo3d: Add API to get name from value or value from nameVittorio Giovara2016-05-17
| | | | Use it in av_dump_format() instead of a huge switch case.
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavf: replace AVStream.codec with AVStream.codecparAnton Khirnov2016-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, AVStream contains an embedded AVCodecContext instance, which is used by demuxers to export stream parameters to the caller and by muxers to receive stream parameters from the caller. It is also used internally as the codec context that is passed to parsers. In addition, it is also widely used by the callers as the decoding (when demuxer) or encoding (when muxing) context, though this has been officially discouraged since Libav 11. There are multiple important problems with this approach: - the fields in AVCodecContext are in general one of * stream parameters * codec options * codec state However, it's not clear which ones are which. It is consequently unclear which fields are a demuxer allowed to set or a muxer allowed to read. This leads to erratic behaviour depending on whether decoding or encoding is being performed or not (and whether it uses the AVStream embedded codec context). - various synchronization issues arising from the fact that the same context is used by several different APIs (muxers/demuxers, parsers, bitstream filters and encoders/decoders) simultaneously, with there being no clear rules for who can modify what and the different processes being typically delayed with respect to each other. - avformat_find_stream_info() making it necessary to support opening and closing a single codec context multiple times, thus complicating the semantics of freeing various allocated objects in the codec context. Those problems are resolved by replacing the AVStream embedded codec context with a newly added AVCodecParameters instance, which stores only the stream parameters exported by the demuxers or read by the muxers.
* lavf: Dump the cpb side data informationLuca Barbato2016-02-13
|
* Add a quality factor packet side dataVittorio Giovara2015-07-20
| | | | | | | | This is necessary to preserve the quality information currently exported with coded_frame. Add the new side data to every encoder that needs it, and use it in avconv. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dump: Use the correct abs() versionVittorio Giovara2015-07-01
| | | | | | Fix warning from clang "absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]".
* dump: Print AVAudioServiceType side dataVittorio Giovara2015-05-06
|
* dump: Update streams and chapters printout formatSylvain Rabot2014-10-08
| | | | This matches the -map option which requires '%d:%d' format.
* dump: split audio and video probing on multiple linesVittorio Giovara2014-10-08
| | | | Also always report pixel format.
* avcodec: add stream-level stereo3d side dataVittorio Giovara2014-08-28
|
* dump: Use correct printf conversion specifiers for POSIX int typesDiego Biurrun2014-07-28
|
* dump_stream: print the timebase as is, do not reduce itAnton Khirnov2014-06-26
| | | | | | It makes more sense to print the timebase exactly as it is set. Also, this avoids a divide by zero when av_dump_format() is called on a format context before writing the header.
* lavf: dump stream side data when probingVittorio Giovara2014-06-14
|
* lavf: group dump functions togetherVittorio Giovara2014-06-14