summaryrefslogtreecommitdiff
path: root/ffprobe.c
Commit message (Collapse)AuthorAge
* ffprobe: add support for printing packet strings metadata as packet tagsMarton Balint2015-10-30
| | | | | | | 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-28
| | | | | Found-by: Ganesh Ajjanagadde and wm4 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'f0ca6ffa0ae5d5564516ee7a18aa1e234751444a'Hendrik Leppkes2015-10-27
|\ | | | | | | | | | | | | * 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-24
| | | | | | | | | | | | | | | | | | 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-12
| |
* | Replace all remaining occurances of step/depth_minus1 and offset_plus1Hendrik Leppkes2015-09-08
| |
* | ffprobe: check av_asprintf() for failureMichael Niedermayer2015-06-13
| | | | | | | | | | Found-by: Daemon404 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: print stream_index with frame dataDave Rice2015-05-27
| | | | | | | | 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-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: support printing AVStream and AVPacket side dataMichael Niedermayer2015-05-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: Add Support to print information about AV_FRAME_DATA_DISPLAYMATRIXMichael Niedermayer2015-05-03
| | | | | | | | | | 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-03
| | | | | | | | | | | | arrays of integers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '7b9cb7b36543c2a0e46d99b0e41824b9e7dd0c8f'Michael Niedermayer2015-03-08
|\| | | | | | | | | | | | | | | | | | | * 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-02
| | | | | | | | | | | | This fixes depending on implementation defined behavior Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'bf704132a51f5d838365158331d4e535e1df4c8e'Michael Niedermayer2015-02-14
|\| | | | | | | | | | | | | | | | | | | | | * commit 'bf704132a51f5d838365158331d4e535e1df4c8e': Don't anonymously typedef structs Conflicts: avprobe.c libavutil/parseutils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | stop embedding the build dateAndreas Cadhalpun2015-02-02
| | | | | | | | | | | | | | Theis makes the build binary reproducible. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: fix memleaks on errorsMichael Niedermayer2015-01-21
| | | | | | | | | | | | Found-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: Support extracting the number of reference framesMichael Niedermayer2014-12-30
| | | | | | | | | | | | | | Fixes Ticket3141 Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Set -scan_all_pmts 1 in ffmpeg, ffplay and ffprobe if not set by user.Carl Eugen Hoyos2014-11-09
| | | | | | | | Fixes ticket #3762.
* | ffprobe: Add support for color_trc/color_pri/chroma_locMichael Niedermayer2014-10-19
| | | | | | | | | | | | Idea from: a2c00d22e71d13b72828147be86aa9e961c6cae6 Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: Simplify by using av_color_range_name()Michael Niedermayer2014-10-10
| | | | | | | | | | Idea from: a2c00d22e71d13b72828147be86aa9e961c6cae6 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: add pixel format chroma sub-sampling outputTobias Rapp2014-10-07
| | | | | | | | | | | | | | | | | | | | | | Adds output of chroma sub-sampling information to ffprobe -show_pixel_formats option. Note: This patch just prints the "raw" log2_charoma_w/h values instead of the previously suggested mapping into a chroma sub-sampling pattern string like "4:2:2". Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: add pixel format component bit depth outputTobias Rapp2014-10-07
| | | | | | | | | | | | | | Adds output of bit depth per pixel format component to ffprobe -show_pixel_formats option. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: add pixel format flags outputTobias Rapp2014-10-07
| | | | | | | | | | | | Adds output of pixel format flags to ffprobe -show_pixel_formats option. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: add -show_pixel_formats optionTobias Rapp2014-10-07
| | | | | | | | | | | | | | Adds option -show_pixel_formats to ffprobe which lists all available pixel formats with some details. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Print bits_per_raw_sample for ffprobe -show_streams.Carl Eugen Hoyos2014-09-08
| | | | | | | | Fixes ticket #3919.
* | ffprobe: add -show_data_hash option.Nicolas George2014-08-17
| |
* | ffprobe: print some basic information about avframe side dataMichael Niedermayer2014-07-30
| | | | | | | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: add color_range and color_space to stream outputTobias Rapp2014-06-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: add rc_max_rate to stream outputBilly Shambrook2014-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | The value is used by some bitstream to mark the maximum bit rate. See thread: Subject: [FFmpeg-devel] [PATCH] Add rc_max_rate to ffprobe stream output Date: Sun, 1 Jun 2014 17:36:36 +0100 To: ffmpeg-devel@ffmpeg.org http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/178461 Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | ffprobe: Use av_malloc_array()Michael Niedermayer2014-05-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: fix crash happening because of new streams occuringAnshul2014-05-18
| | | | | | | | | | | | Fix trac ticket #3603. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | ffprobe: use the codec descriptor if no decoder was found.Nicolas George2014-04-29
| |
* | ffprobe: fix scaling of vali in value_string() in case -prefix is selectedStefano Sabatini2014-04-23
| | | | | | | | Fix trac ticket #3523.
* | ffprobe: do not lose non ascii characters in non utf8 stringsMichael Niedermayer2014-04-13
| | | | | | | | | | | | | | | | Fixes Ticket3363 Using U+FFFD REPLACEMENT CHARACTER as suggested by nicolas Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: check av_frame_alloc() failure.Nicolas George2013-12-30
| |
* | ffprobe: Dont clear AVFrame between uses.Michael Niedermayer2013-12-25
| | | | | | | | | | | | | | | | | | | | The old API required this clearing in the past, the new API does not require it. Fixes memleak Regression introduced by 37a749012aaacc801fe860428417a6d7b81c103f Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: drop dependancy on sizeof(AVFrame)Michael Niedermayer2013-12-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: show best_effort_timestamp in the frame sectionwm42013-12-15
| | | | | | | | | | | | | | | | This is useful for debugging. Reference and ffprobe.xsd changes done and tested by Stefano Sabatini. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | ffprobe: only show tags when explicitly requestedStefano Sabatini2013-12-14
| |
* | ffprobe: add cosmetical empty lineStefano Sabatini2013-12-13
| |
* | ffprobe: free shared writer context on exitStefano Sabatini2013-12-03
| | | | | | | | | | | | Fix leak. Spotted-by: Michael Niedermayer
* | build: rename version.h to libavutil/ffversion.hTimothy Gu2013-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also the libavutil/ffversion.h will be installed. Rationale: * Applications might want to know FFmpeg's version besides the individual libraries'. * Avoids file name clash between FFmpeg's ./version.h and lib*/version.h when a library source file includes both and is compiled on an out-of-tree build. Fixes #1769. Signed-off-by: Timothy Gu <timothygu99@gmail.com> Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Revert "configure: add #include "version.h" to config.h"Michael Niedermayer2013-11-28
| | | | | | | | | | | | | | | | | | | | This reverts commit ca21116b3f53a9bdd74364bfab9cde70a044b165. Revert suggested by Jamal: "Bad secondary effect i just noticed: Every time version.h is changed (git pull for example), anything that includes config.h will be recompiled. And that means pretty much every single file in the tree. "
* | configure: add #include "version.h" to config.hTimothy Gu2013-11-27
| | | | | | | | | | | | | | Avoid clash with version.h of the libraries. Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cmdutils: remove this_year constant, use CONFIG_THIS_YEAR insteadStefano Sabatini2013-11-26
| | | | | | | | Simplify.
* | ffprobe: add support for subtitle framesMarton Balint2013-11-25
| | | | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | ffprobe: use designated initializer for AVClassPaul B Mahol2013-11-23
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | ffprobe: remove various useless ","Stefano Sabatini2013-11-22
| | | | | | | | Nitted-By: ubitux
* | ffprobe: implement string validation settingStefano Sabatini2013-11-22
| | | | | | | | This should fix trac tickets #1163, #2502.