summaryrefslogtreecommitdiffstats
path: root/ffprobe.c
Commit message (Collapse)AuthorAgeFilesLines
* ffprobe: port to new decode APIwm42017-04-041-13/+29
| | | | Not sure if it behaves ideally in presence of decoding errors.
* ffprobe: use av_spherical_projection_name() to print spherical projection namesJames Almer2017-03-311-7/+3
| | | | | Reviewed-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* ffprobe: fix printing packet side data informationJames Almer2017-03-291-2/+2
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* Fix all -Wformat warnings raised by DJGPPClément Bœsch2017-03-291-1/+1
|
* ffprobe: fix usage of av_get_codec_tag_string()Clément Bœsch2017-03-291-2/+1
|
* ffprobe: free log buffer's parent_name during cleanupJames Almer2017-03-271-0/+1
| | | | Fixes memleak.
* ffprobe: Support adding av_log output to framesMichael Niedermayer2017-03-281-1/+158
| | | | | | | | | | | | | adding demuxer and other logs should be easy This forces single threaded decoding for simplicity It also requires pthreads, this could be avoided either with some lockless tricks or simply by assuming av_log would never be called from another thread. Fixes Ticket5521 Previous version reviewed by Stefano Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffprobe: support skip_samples packet side data informationJames Almer2017-03-251-0/+5
| | | | | Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* fate: Do not report side data sizeVittorio Giovara2017-03-171-2/+0
| | | | | | | This field is of little value, and interferes with testing side data, since sizes can be different on multiple architectures. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* ffmpeg, ffprobe: don't "merge" side data into packet data by defaultwm42017-03-141-0/+8
| | | | | | | | Preparation for potentially disabling merged side data by default in the libs. Do this in particular because it affects fate tests. The changed tests either reflect added packet side data, or the changed packet size due to merged side data removal reducing the packet size.
* ffprobe: add AVCodecContext help message into ffprobeSteven Liu2017-03-111-0/+1
| | | | | | because the ffprobe can use AVCodecContext parameters Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* spherical: Add tiled equirectangular type and projection-specific propertiesVittorio Giovara2017-03-071-4/+15
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Add spherical packet side data APIVittorio Giovara2016-12-071-0/+13
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* ffprobe: Fix displaying side data list onlyVittorio Giovara2016-11-301-3/+3
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* ffprobe: fix crash in case -of is specified with an empty stringStefano Sabatini2016-11-171-0/+6
| | | | Fix trac issue #5957.
* lavf: add AV_DISPOSITION_TIMED_THUMBNAILSRodger Combs2016-10-241-0/+1
| | | | Reviewed-By: Michael Niedermayer <michael@niedermayer.cc>
* ffprobe: report field order for video streamsRodger Combs2016-10-241-0/+13
|
* Merge commit 'beb62dac629603eb074a44c44389c230b5caac7c'Hendrik Leppkes2016-10-071-2/+2
|\ | | | | | | | | | | | | * commit 'beb62dac629603eb074a44c44389c230b5caac7c': Use AVFrame.pts instead of deprecated pkt_pts. Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
* | ffprobe: don't use AVStream.codec to set decoder framerateJames Almer2016-09-271-4/+1
| | | | | | | | | | | | | | | | Also don't set time_base. It's deprecated for decoding and avcodec_open2() will overwrite it Reviewed-by: Josh de Kock <josh@itanimul.li> Signed-off-by: James Almer <jamrial@gmail.com>
* | ffprobe: don't access AVCodecContext.pkt_timebase directlyJames Almer2016-09-261-1/+1
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | ffprobe.c: Indicate decode-but-discard packets when doing -show_packets.Sasi Inguva2016-09-231-1/+2
| | | | | | | | | | Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | cmdutils: remove the current working directory from the DLL search path on win32Hendrik Leppkes2016-08-081-0/+2
| | | | | | | | | | Reviewed-by: Matt Oliver <protogonoi@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | ffprobe: add missing PROGRAM_STREAM_TAGS caseDmitry Vagin2016-07-261-0/+1
| | | | | | | | | | | | ffprobe did not show tags with only '-show_entries programs' Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | ffprobe: print stereo3d informationClément Bœsch2016-06-231-0/+5
| | | | | | | | | | | | | | Based on 8e757716c61e0563a63829e30b02d5ba2a422ad6 See https://github.com/mpv-player/mpv/issues/1045 for mk3d elektranox.org samples.
* | ffprobe: refactor pkt side data printingClément Bœsch2016-06-231-31/+32
| |
* | ffprobe: Don't try and decode things that have no dec_ctxDerek Buitenhuis2016-04-121-1/+1
| | | | | | | | | | | | The last instance of a missing dec_ctx check from the merge. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | ffprobe: Fix missing dec_ctx checkDerek Buitenhuis2016-04-121-1/+2
| | | | | | | | | | | | Missed it during the merge of ffprobe codecpar conversion. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit 'ba357e98691ee4fe1a503b8830c0050be4127475'Derek Buitenhuis2016-04-121-89/+126
|\ \ | |/ | | | | | | | | | | * commit 'ba357e98691ee4fe1a503b8830c0050be4127475': avprobe: switch to codecpar Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit '567d6d5f9d1400f00445183b3477391f58979aa3'Derek Buitenhuis2016-04-111-0/+19
|\ \ | |/ | | | | | | | | | | * commit '567d6d5f9d1400f00445183b3477391f58979aa3': avprobe: add local per-stream state Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit 'c9478410c68c04261f9cfcd80474607e50bd1852'Derek Buitenhuis2016-04-111-27/+36
|\ \ | |/ | | | | | | | | | | * commit 'c9478410c68c04261f9cfcd80474607e50bd1852': avprobe: add local per-file state Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit '168a443d43b10ef6a3545d64b2f8bc90144ce4b7'Derek Buitenhuis2016-04-111-13/+5
|\ \ | |/ | | | | | | | | | | * commit '168a443d43b10ef6a3545d64b2f8bc90144ce4b7': avprobe: print information from the codec descriptor Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit 'e7188a1a84817b8d4337340c21c552ad0b6cb2fd'Derek Buitenhuis2016-04-111-118/+117
|\ \ | |/ | | | | | | | | | | * commit 'e7188a1a84817b8d4337340c21c552ad0b6cb2fd': avprobe: remove a pointless condition and a dead branch Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | ffprobe: Deprecate stream timecode field and add frame side data timecode fieldDerek Buitenhuis2016-02-011-0/+6
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | ffprobe: avoid unnecessary pow and exp2 callsGanesh Ajjanagadde2015-12-291-8/+19
| | | | | | | | | | | | | | | | These are just for prefixes and may be hardcoded easily; see lavu/eval for this approach. Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | ffprobe: use print_val to print the frame pkt_size valueStefano Sabatini2015-12-161-1/+2
| | | | | | | | This allows to honour formatting options.
* | ffprobe: Do not print profile names in -bitexactTimothy Gu2015-12-061-3/+9
| | | | | | | | | | | | | | Instead, print "unknown" if it's unknown, or their numerical values if they are known. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | ffprobe: add support for printing packet strings metadata as packet tagsMarton Balint2015-10-301-1/+15
| | | | | | | | | | | | | | ffprobe.xsd already contains the tag element. Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | ffprobe: Remove abort()Michael Niedermayer2015-10-281-1/+0
| | | | | | | | | | Found-by: Ganesh Ajjanagadde and wm4 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'f0ca6ffa0ae5d5564516ee7a18aa1e234751444a'Hendrik Leppkes2015-10-271-1/+1
|\ \ | |/ | | | | | | | | | | * commit 'f0ca6ffa0ae5d5564516ee7a18aa1e234751444a': avprobe: Unref the packet once it is used Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
* | all: fix -Wextra-semi reported on clangGanesh Ajjanagadde2015-10-241-10/+10
| | | | | | | | | | | | | | | | | | This fixes extra semicolons that clang 3.7 on GNU/Linux warns about. These were trigggered when built under -Wpedantic, which essentially checks for strict ISO compliance in numerous ways. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | ffprobe: use AV_OPT_TYPE_BOOL for writers optionsClément Bœsch2015-09-121-22/+22
| |
* | Replace all remaining occurances of step/depth_minus1 and offset_plus1Hendrik Leppkes2015-09-081-1/+1
| |
* | ffprobe: check av_asprintf() for failureMichael Niedermayer2015-06-131-0/+3
| | | | | | | | | | Found-by: Daemon404 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: print stream_index with frame dataDave Rice2015-05-271-0/+1
| | | | | | | | This makes it easier to relate frame data to its associated stream.
* | ffprobe: Use av_packet_side_data_name() to find the side data nameMichael Niedermayer2015-05-071-4/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: support printing AVStream and AVPacket side dataMichael Niedermayer2015-05-031-2/+47
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: Add Support to print information about AV_FRAME_DATA_DISPLAYMATRIXMichael Niedermayer2015-05-031-0/+6
| | | | | | | | | | Idea from 709e1c91ea7a5bbf2b9a104642572ca7616b224f by Martin Storsjö Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: add writer_print_integers() to allow printing formated 1d and 2d ↵Michael Niedermayer2015-05-031-0/+27
| | | | | | | | | | | | arrays of integers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '7b9cb7b36543c2a0e46d99b0e41824b9e7dd0c8f'Michael Niedermayer2015-03-081-0/+2
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '7b9cb7b36543c2a0e46d99b0e41824b9e7dd0c8f': avprobe: Export coded_{width,height} in -show_streams Conflicts: avprobe.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: Change string_validation to int, its accessed via AVOption as intMichael Niedermayer2015-03-021-1/+1
| | | | | | | | | | | | This fixes depending on implementation defined behavior Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud