summaryrefslogtreecommitdiff
path: root/libavformat/dump.c
Commit message (Collapse)AuthorAge
* avformat/dump : Display Content Light Level metadataSteve Lhomme2017-04-06
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/dump: use av_spherical_projection_name() to print spherical ↵James Almer2017-03-31
| | | | | | | projection names Reviewed-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* Fix all -Wformat warnings raised by DJGPPClément Bœsch2017-03-29
|
* spherical: Change types of bounding and pad to uint32_tVittorio Giovara2017-03-17
| | | | | | | | | These values are defined to be 32bit in the specification, so it makes more sense to store them as fixed width. Based on a patch by Micahel Niedermayer <michael@niedermayer.cc>. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* spherical: Add tiled equirectangular type and projection-specific propertiesVittorio Giovara2017-03-07
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Add spherical packet side data APIVittorio Giovara2016-12-07
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avformat/dump: remove line break on mastering display metadata info dumpJames Almer2016-12-05
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit 'e45a638f50cc1dbeb87b9792e68f57e77fc0c3b5'Hendrik Leppkes2016-06-26
|\ | | | | | | | | | | | | * commit 'e45a638f50cc1dbeb87b9792e68f57e77fc0c3b5': dump: Drop unused variable Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * dump: Drop unused variableDiego Biurrun2016-05-22
| |
* | Merge commit '0c4468dc185fa8b9e7d6add914595c5e928b24fd'Clément Bœsch2016-06-23
|\| | | | | | | | | | | | | * commit '0c4468dc185fa8b9e7d6add914595c5e928b24fd': stereo3d: Add API to get name from value or value from name Merged-by: Clément Bœsch <clement@stupeflix.com>
| * 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.
* | Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'Clément Bœsch2016-06-21
|\| | | | | | | | | | | | | * commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
| * cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | avformat/dump: Show coded dimensions againMichael Niedermayer2016-06-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/dump: Print tbc valueMichael Niedermayer2016-06-04
| | | | | | | | | | | | | | Fixes regression of av_dump_format() Fixes part of Ticket 5444 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/dump: Use codec and QP limits from AVCodecContextMichael Niedermayer2016-06-03
| | | | | | | | | | | | | | Fixes regression Fixes Ticket5421 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat: Copy properties from internal contextMichael Niedermayer2016-06-02
| | | | | | | | | | | | | | Fixes Ticket5467 "Lossless j2k information no longer shown" Based on suggestion by Hendrik Leppkes Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/dump.c: fix mixed log levelsTobias Rapp2016-05-13
| | | | | | | | | | | | | | | | Previously a partial log message without newline was printed in case of loglevel=warning. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/dump: Fix sign bug in reported "start" timeBryan Huh2016-04-14
| | | | | | | | | | | | | | Previously, the bug was that if -1 < start_time < 0, the reported "start" time would lose the negative-sign. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '9200514ad8717c63f82101dc394f4378854325bf'Derek Buitenhuis2016-04-10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9200514ad8717c63f82101dc394f4378854325bf': lavf: replace AVStream.codec with AVStream.codecpar This has been a HUGE effort from: - Derek Buitenhuis <derek.buitenhuis@gmail.com> - Hendrik Leppkes <h.leppkes@gmail.com> - wm4 <nfxjfg@googlemail.com> - Clément Bœsch <clement@stupeflix.com> - James Almer <jamrial@gmail.com> - Michael Niedermayer <michael@niedermayer.cc> - Rostislav Pehlivanov <atomnuker@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * 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.
* | avformat/dump: Fix context/level for payload dumpMark Harris2016-03-06
| | | | | | | | | | | | | | Use the context and level specified to av_pkt_dump_log2(), instead of panic level (0), for dumping packet payload. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/dump.c: Print mastering display metadataNeil Birkbeck2016-03-04
| | | | | | | | | | Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'e579d8b29cdb9b42c50a0fde277dfb047c1466ad'Derek Buitenhuis2016-02-16
|\| | | | | | | | | | | | | * commit 'e579d8b29cdb9b42c50a0fde277dfb047c1466ad': lavf: Dump the cpb side data information Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * lavf: Dump the cpb side data informationLuca Barbato2016-02-13
| |
* | avformat/dump: Fix integer overflow in av_dump_format()Michael Niedermayer2015-12-01
| | | | | | | | | | | | | | Fixes part of mozilla bug 1229167 Found-by: Tyson Smith Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf: Switch bitrate to 64bit unless compatibility with avconv was requested.Carl Eugen Hoyos2015-09-15
| | | | | | | | | | | | Based on a patch by Steve Swanson, swanysteve at gmail. Fixes ticket #2089.
* | avformat/dump: Fix integer overflow in aspect ratio calculationMichael Niedermayer2015-09-03
| | | | | | | | | | | | | | Fixes: unknown_unknown_19e_414_cov_764838672_bellhamlam.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/dump: Also print pict_type in dump_sidedata() for ↵Michael Niedermayer2015-07-22
| | | | | | | | | | | | AV_PKT_DATA_QUALITY_STATS Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Replace AV_PKT_DATA_QUALITY_FACTOR by AV_PKT_DATA_QUALITY_STATSMichael Niedermayer2015-07-22
| | | | | | | | | | | | | | | | | | The stats are a superset of the quality factor, also allowing the picture type and encoder "PSNR" stats to be exported This also replaces the native by fixed little endian order for the affected side data AV_PKT_DATA_QUALITY_FACTOR is left as a synonym of AV_PKT_DATA_QUALITY_STATS Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '5d3addb937946eca5391e40b5e6308e74ac6f77b'Michael Niedermayer2015-07-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '5d3addb937946eca5391e40b5e6308e74ac6f77b': Add a quality factor packet side data Conflicts: doc/APIchanges ffmpeg.c libavcodec/avcodec.h libavcodec/mpegvideo_enc.c libavcodec/version.h Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * 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>
* | Merge commit 'df22e30172b09cda4d6f7d4f43508284be65848a'Michael Niedermayer2015-07-01
|\| | | | | | | | | | | | | * commit 'df22e30172b09cda4d6f7d4f43508284be65848a': dump: Use the correct abs() version Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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]".
* | Merge commit '6c8c7c246280cdcd23e4d99006b95245ae837278'Michael Niedermayer2015-05-06
|\| | | | | | | | | | | | | * commit '6c8c7c246280cdcd23e4d99006b95245ae837278': dump: Print AVAudioServiceType side data Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dump: Print AVAudioServiceType side dataVittorio Giovara2015-05-06
| |
* | Fix codec fps diplay for very small fps.Carl Eugen Hoyos2015-04-03
| | | | | | | | Fixes codec banner for the sample from ticket #4369.
* | avformat/dump: use format dump_separator if the codec one is not setMichael Niedermayer2014-10-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '167e6f1489368a4693145da61cb022c113a285bc'Michael Niedermayer2014-10-09
|\| | | | | | | | | | | | | | | * commit '167e6f1489368a4693145da61cb022c113a285bc': dump: Update streams and chapters printout format See: cab2860c8a49756daccde3111eb27271209495cd Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dump: Update streams and chapters printout formatSylvain Rabot2014-10-08
| | | | | | | | This matches the -map option which requires '%d:%d' format.
* | avformat: Allow choosing the dump format field separator.Michael Niedermayer2014-10-09
| | | | | | | | | | | | The default is to maintain the previous ", " for now. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '20a5956b8daeee4cb59d6fa00ec809b02c04d7f8'Michael Niedermayer2014-10-09
|\| | | | | | | | | | | | | | | | | | | | | * commit '20a5956b8daeee4cb59d6fa00ec809b02c04d7f8': dump: split audio and video probing on multiple lines Conflicts: libavcodec/utils.c libavformat/dump.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dump: split audio and video probing on multiple linesVittorio Giovara2014-10-08
| | | | | | | | Also always report pixel format.
* | Merge commit '9301486408a480629336af4d7fd873c0f28fb2d5'Michael Niedermayer2014-08-28
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '9301486408a480629336af4d7fd873c0f28fb2d5': avcodec: add stream-level stereo3d side data Conflicts: doc/APIchanges libavcodec/avcodec.h libavcodec/utils.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: add stream-level stereo3d side dataVittorio Giovara2014-08-28
| |
* | Merge commit '59ca29a560ba0cfe97457de8cedf77db434f0de4'Michael Niedermayer2014-07-29
|\| | | | | | | | | | | | | * commit '59ca29a560ba0cfe97457de8cedf77db434f0de4': dump: Use correct printf conversion specifiers for POSIX int types Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dump: Use correct printf conversion specifiers for POSIX int typesDiego Biurrun2014-07-28
| |
* | Merge commit '3f4edf012593c73941caa0ef9b292da00225c3df'Michael Niedermayer2014-06-26
|\| | | | | | | | | | | | | | | * commit '3f4edf012593c73941caa0ef9b292da00225c3df': dump_stream: print the timebase as is, do not reduce it See: 75511c293add07db1cca58dcd8b08c33fc2f1075 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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.
* | dump_stream_format: fix division by 0Michael Niedermayer2014-06-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>