summaryrefslogtreecommitdiffstats
path: root/libavformat/dump.c
Commit message (Collapse)AuthorAgeFilesLines
* lavf/dump: Fix a typo: comentary -> commentary.Carl Eugen Hoyos2018-10-191-1/+1
| | | | Fixes ticket #7499.
* avformat/mpegts: tag video streams with still imagesAman Gupta2018-05-171-0/+2
| | | | | | | | | | | | Parses the video_stream_descriptor (H.222 2.6.2) to look for the still_picture_flag. This is exposed to the user via a new AV_DISPOSITION_STILL_IMAGE. See for example https://tmm1.s3.amazonaws.com/music-choice.ts, whose video stream only updates every ~6 seconds. Signed-off-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mpegts: set AV_DISPOSITION_DEPENDENT for mix_type=0 supplementary audioAman Gupta2018-02-231-0/+2
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avformat/dump: tag AV_DISPOSITION_DESCRIPTIONS streamsAman Gupta2018-02-231-0/+2
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* lavu/lavc/lavf/lavfi: Do not use type modifier %zu on Windows MSVCRT.Carl Eugen Hoyos2017-12-171-1/+3
|
* lavf/dump: Remove superfluous cast.Carl Eugen Hoyos2017-08-291-1/+1
|
* avformat/dump : Display Content Light Level metadataSteve Lhomme2017-04-061-0/+11
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/dump: use av_spherical_projection_name() to print spherical ↵James Almer2017-03-311-10/+1
| | | | | | | 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-291-1/+2
|
* spherical: Change types of bounding and pad to uint32_tVittorio Giovara2017-03-171-1/+1
| | | | | | | | | 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-071-2/+13
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Add spherical packet side data APIVittorio Giovara2016-12-071-0/+30
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avformat/dump: remove line break on mastering display metadata info dumpJames Almer2016-12-051-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit 'e45a638f50cc1dbeb87b9792e68f57e77fc0c3b5'Hendrik Leppkes2016-06-261-1/+0
|\ | | | | | | | | | | | | * commit 'e45a638f50cc1dbeb87b9792e68f57e77fc0c3b5': dump: Drop unused variable Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * dump: Drop unused variableDiego Biurrun2016-05-221-1/+0
| |
* | Merge commit '0c4468dc185fa8b9e7d6add914595c5e928b24fd'Clément Bœsch2016-06-231-29/+2
|\ \ | |/ | | | | | | | | | | * 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-171-29/+2
| | | | | | | | Use it in av_dump_format() instead of a huge switch case.
* | Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'Clément Bœsch2016-06-211-1/+1
|\ \ | |/ | | | | | | | | | | * commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
| * cosmetics: Fix spelling mistakesVittorio Giovara2016-05-041-1/+1
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | avformat/dump: Show coded dimensions againMichael Niedermayer2016-06-131-0/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/dump: Print tbc valueMichael Niedermayer2016-06-041-4/+7
| | | | | | | | | | | | | | 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-031-0/+3
| | | | | | | | | | | | | | Fixes regression Fixes Ticket5421 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat: Copy properties from internal contextMichael Niedermayer2016-06-021-0/+3
| | | | | | | | | | | | | | 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-131-1/+1
| | | | | | | | | | | | | | | | 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-141-3/+5
| | | | | | | | | | | | | | 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-101-20/+27
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-231-12/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-061-1/+1
| | | | | | | | | | | | | | 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-041-0/+21
| | | | | | | | | | Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'e579d8b29cdb9b42c50a0fde277dfb047c1466ad'Derek Buitenhuis2016-02-161-0/+20
|\ \ | |/ | | | | | | | | | | * 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-131-0/+20
| |
* | avformat/dump: Fix integer overflow in av_dump_format()Michael Niedermayer2015-12-011-1/+1
| | | | | | | | | | | | | | 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-151-1/+1
| | | | | | | | | | | | Based on a patch by Steve Swanson, swanysteve at gmail. Fixes ticket #2089.
* | avformat/dump: Fix integer overflow in aspect ratio calculationMichael Niedermayer2015-09-031-2/+2
| | | | | | | | | | | | | | 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-221-1/+1
| | | | | | | | | | | | 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-221-2/+2
| | | | | | | | | | | | | | | | | | 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-211-0/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * 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-201-0/+3
| | | | | | | | | | | | | | | | 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-011-1/+1
|\ \ | |/ | | | | | | | | | | * commit 'df22e30172b09cda4d6f7d4f43508284be65848a': dump: Use the correct abs() version Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dump: Use the correct abs() versionVittorio Giovara2015-07-011-1/+1
| | | | | | | | | | | | 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-061-0/+47
|\ \ | |/ | | | | | | | | | | * commit '6c8c7c246280cdcd23e4d99006b95245ae837278': dump: Print AVAudioServiceType side data Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dump: Print AVAudioServiceType side dataVittorio Giovara2015-05-061-0/+47
| |
* | Fix codec fps diplay for very small fps.Carl Eugen Hoyos2015-04-031-1/+3
| | | | | | | | Fixes codec banner for the sample from ticket #4369.
* | avformat/dump: use format dump_separator if the codec one is not setMichael Niedermayer2014-10-091-0/+6
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '167e6f1489368a4693145da61cb022c113a285bc'Michael Niedermayer2014-10-091-1/+1
|\ \ | |/ | | | | | | | | | | | | * 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-081-2/+2
| | | | | | | | This matches the -map option which requires '%d:%d' format.
* | avformat: Allow choosing the dump format field separator.Michael Niedermayer2014-10-091-1/+3
| | | | | | | | | | | | The default is to maintain the previous ", " for now. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '20a5956b8daeee4cb59d6fa00ec809b02c04d7f8'Michael Niedermayer2014-10-091-12/+18
|\ \ | |/ | | | | | | | | | | | | | | | | | | * 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-081-8/+14
| | | | | | | | Also always report pixel format.
* | Merge commit '9301486408a480629336af4d7fd873c0f28fb2d5'Michael Niedermayer2014-08-281-0/+50
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * 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>
OpenPOWER on IntegriCloud