summaryrefslogtreecommitdiff
path: root/libavformat/dump.c
Commit message (Collapse)AuthorAge
* avformat: use av_timecode_make_smpte_tc_string2Marton Balint2020-09-13
| | | | | | WSD format has no frames stored for playback time. Signed-off-by: Marton Balint <cus@passwd.hu>
* API: add AV_PKT_DATA_S12M_TIMECODE to AVPacketSideDataTypeLimin Wang2020-07-15
| | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avformat/dump: add a \n for end of ERROR logLimin Wang2020-07-02
| | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avformat/dump: Use intermediate pointer for access to programs arrayAndreas Rheinhardt2020-06-30
| | | | | | | Improves readability. Reviewed-by: Limin Wang <lance.lmwang@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avformat/dump: Use const where appropriateAndreas Rheinhardt2020-06-30
| | | | | | | | Also switch to using a pointer to access stream side data instead of copying the stream's AVPacketSideData. Reviewed-by: Limin Wang <lance.lmwang@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* lavf/dump: schedule use of deprecated API for removalAnton Khirnov2020-06-10
|
* avformat/dump: Use int64_t for intermediate time valuesDerek Buitenhuis2020-05-17
| | | | | | | | | | | | | | Prevents wrap-around to negative values while calculating the duration string. Before: Duration: -411422:-59:-42.17, start: 0.000000, bitrate: 0 kb/s After: Duration: 781623:28:34.17, start: 0.000000, bitrate: 0 kb/s Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavf/dump: dump DOVI side dataJun Zhao2020-04-23
| | | | | | dump DOVI side data. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* API: add AV_PKT_DATA_ICC_PROFILE to AVPacketSideDataTypevectronic2020-03-10
| | | | Signed-off-by: vectronic <hello.vectronic@gmail.com>
* lavf/dump: dump the vbv_delay with N/A instead of 18446744073709551615Limin Wang2019-08-28
| | | | | | | | | | | | | | | | How to check it: ./ffmpeg -f lavfi -i testsrc -c:v mpeg2video -f null - master: Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: 18446744073709551615 patch applied: Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Limin Wang <lance.lmwang@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/dump: use error log level for invalid sizeLimin Wang2019-08-18
| | | | | Reviewed-by: Steven Liu <lq@onvideo.cn> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* lavf/dump: Fix cpb bitrate type after next major bump.Carl Eugen Hoyos2019-08-10
|
* lavf/dump: Fix vbv_delay type specifier.Carl Eugen Hoyos2019-08-10
| | | | Spotted-by: James Almer
* lavf/dump: More disposition flag dumpJun Zhao2019-07-03
| | | | | | | More disposition flag dump Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* lavf/dump: Fix a typo: comentary -> commentary.Carl Eugen Hoyos2018-10-19
| | | | Fixes ticket #7499.
* avformat/mpegts: tag video streams with still imagesAman Gupta2018-05-17
| | | | | | | | | | | | 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-23
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avformat/dump: tag AV_DISPOSITION_DESCRIPTIONS streamsAman Gupta2018-02-23
| | | | 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-17
|
* lavf/dump: Remove superfluous cast.Carl Eugen Hoyos2017-08-29
|
* 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>