summaryrefslogtreecommitdiffstats
path: root/ffprobe.c
Commit message (Collapse)AuthorAgeFilesLines
* ffprobe: use the codec descriptor if no decoder was found.Nicolas George2014-04-291-0/+7
|
* ffprobe: fix scaling of vali in value_string() in case -prefix is selectedStefano Sabatini2014-04-231-0/+1
| | | | Fix trac ticket #3523.
* ffprobe: do not lose non ascii characters in non utf8 stringsMichael Niedermayer2014-04-131-1/+1
| | | | | | | | 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-301-0/+4
|
* ffprobe: Dont clear AVFrame between uses.Michael Niedermayer2013-12-251-1/+0
| | | | | | | | | | 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-171-3/+5
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ffprobe: show best_effort_timestamp in the frame sectionwm42013-12-151-0/+2
| | | | | | | | 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-141-5/+22
|
* ffprobe: add cosmetical empty lineStefano Sabatini2013-12-131-0/+1
|
* ffprobe: free shared writer context on exitStefano Sabatini2013-12-031-0/+1
| | | | | | Fix leak. Spotted-by: Michael Niedermayer
* build: rename version.h to libavutil/ffversion.hTimothy Gu2013-11-301-1/+1
| | | | | | | | | | | | | | | | 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-281-0/+1
| | | | | | | | | | 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-271-1/+0
| | | | | | | 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-261-1/+1
| | | | Simplify.
* ffprobe: add support for subtitle framesMarton Balint2013-11-251-2/+38
| | | | | 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-231-8/+7
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* ffprobe: remove various useless ","Stefano Sabatini2013-11-221-2/+2
| | | | Nitted-By: ubitux
* ffprobe: implement string validation settingStefano Sabatini2013-11-221-12/+146
| | | | This should fix trac tickets #1163, #2502.
* ffprobe: add support for nested options in writer contextsStefano Sabatini2013-11-221-2/+35
|
* ffprobe: check for errors, and abort immediatelyStefano Sabatini2013-11-221-38/+84
| | | | This allows to make use of validation features.
* ffprobe: fix consistency checks in parse_read_intervals()Stefano Sabatini2013-10-211-3/+5
| | | | | | | Move array size assert after the count increment, and avoid strchr() NULL dereference on p. Should fix FFmpeg coverity issue #1108581.
* ffprobe: print stream channel_layout when availableStefano Sabatini2013-10-031-0/+9
| | | | Fix trac ticket #3006.
* ffprobe: fix uninitialized variable warningStefano Sabatini2013-09-231-1/+1
| | | | | | | | Fix warning: ffprobe.c:1684:21: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized] end = start + interval->end; The warning is a false positive, since the variable is accessed only if has_start is set, and in that case start has been already set.
* ffprobe: add -read_intervals optionStefano Sabatini2013-09-191-2/+255
| | | | | | This is also useful to test seeking on an input file. This also addresses trac ticket #1437.
* ffprobe: downgrade log level for non fatal errors in open_input_file()Stefano Sabatini2013-09-171-3/+3
| | | | | | | Since the errors are not fatal, it is less confusing not to show them as errors but as warnings. Arbitrarily fixes trac ticket #2419.
* ffprobe: show bitmap subtitles size.Nicolas George2013-09-041-0/+11
| | | | Fix trac ticket #2930.
* ffprobe: show probe_score in the format sectionStefano Sabatini2013-09-011-0/+1
| | | | Should address trac ticket #2621.
* ffprobe: add -show_programs optionFlorent Tribouilloy2013-07-281-8/+70
| | | | | | | The option is used to sort the streams by program. Signed-off-by: Florent Tribouilloy <florent.tribouilloy@smartjog.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* ffprobe: do not treat array elements as nested in the compact writerStefano Sabatini2013-07-281-4/+17
| | | | | | | | This fixes rendering of sections containing nested elements followed by an array, for example as in the case: programs->streams->stream enabled by the -show_programs option.
* Merge commit '636ced8e1dc8248a1353b416240b93d70ad03edb'Michael Niedermayer2013-07-081-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | * commit '636ced8e1dc8248a1353b416240b93d70ad03edb': cmdutils: wrap exit explicitly Conflicts: avprobe.c cmdutils.c ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: always exit 1 in case of errorsStefano Sabatini2013-06-271-1/+1
| | | | | | | | | | This is consistent with the other ff* tools, and also avoids spurious success reports when ret%256 = 0.
* | ffprobe: reindent after previous commitStefano Sabatini2013-06-271-44/+43
| |
* | ffprobe: fix exit code with stream specifiersNicolas George2013-06-271-0/+1
| | | | | | | | | | | | | | Without this fix, ffprobe would exit with a failure exit code if a stream specifier is given that selects the last stream. Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
* | ffprobe: simplify branching logic in probe_file()Stefano Sabatini2013-06-271-2/+5
| |
* | ffprobe: show chapter and chapter metadata informationStefano Sabatini2013-06-061-2/+35
| | | | | | | | Address trac ticket #2636.
* | ffprobe: set writer context to 0 after allocationStefano Sabatini2013-03-191-1/+1
| | | | | | | | | | | | | | Avoid access to uninitialized values, which may result in a crash. This happens for example in case of option parsing failure, since in that case the internal AVBprint buffers are not initialized.
* | ffprobe: remove deprecated frame "reference" fieldStefano Sabatini2013-03-171-1/+0
| |
* | ffprobe: support codec optionsStefano Sabatini2013-03-131-6/+21
| | | | | | | | | | | | | | Make ffprobe honour codec options, and support stream specifiers like it is done in ffplay. In particular, address Trac ticket #1859.
* | ffprobe: use AVFrame accessor functionsMichael Niedermayer2013-03-011-4/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: do not escape '"' between single quotes.Clément Bœsch2013-01-011-4/+4
| |
* | ffprobe: show pkt_size in frameStefano Sabatini2012-12-151-0/+2
| | | | | | | | Fix trac ticket #2027.
* | ffprobe: free dictionary in opt_show_entries()Stefano Sabatini2012-11-231-0/+1
| | | | | | | | Fix memleak.
* | ffprobe: implement -sections optionStefano Sabatini2012-11-221-0/+30
| |
* | ffprobe: implement subsection field selection through the -show_entries optionStefano Sabatini2012-11-221-40/+187
| |
* | ffprobe: fix typo in a commentStefano Sabatini2012-11-211-1/+1
| |
* | ffprobe: add "," at the end of enum listStefano Sabatini2012-11-211-1/+1
| |
* | ffprobe: fix potential NULL pointer dereferenceStefano Sabatini2012-11-061-2/+2
| | | | | | | | Found by Coverity, should fix CID 733741.
* | ffprobe: add an array of section print buffers to the WriterContextStefano Sabatini2012-10-241-89/+27
| | | | | | | | | | Allow to factorize buffers initialization/release, for all the writers which use it. Simplify.
* | ffprobe: fix use of uninitialized pointer in av_strtok()Michael Niedermayer2012-10-111-0/+4
| | | | | | | | | | Fixes CID733837 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: reindent after previous commitStefano Sabatini2012-10-051-9/+9
| |
OpenPOWER on IntegriCloud