summaryrefslogtreecommitdiff
path: root/avprobe.c
Commit message (Collapse)AuthorAge
* cmdutils: wrap exit explicitlyLuca Barbato2013-07-07
| | | | | | | | | | Some C runtime implementations deadlock when calling threading functions on the atexit() handler. Use a simpler wrapper similar to av_log to call the cleanup function before exit. Bug-Id: 523
* avprobe: rename the prettyprint structuresLuca Barbato2013-07-07
|
* avtools: move media_type_string() from avprobe to cmdutils.Anton Khirnov2013-04-11
| | | | It will be useful outside of avprobe.
* Use the avstring.h locale-independent character type functionsReimar Döffinger2013-03-07
| | | | | | Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st>
* avprobe: also output dar/par if only defined in streamAnton Khirnov2013-01-04
| | | | Based on a patch by Jan Gerber <j@v2v.cc>
* avprobe: report per stream bit rate if set by the decoderJanne Grunau2012-12-02
|
* tools: do not use av_pix_fmt_descriptors directly.Anton Khirnov2012-10-12
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* avconv/avprobe: Add missing 'void' to exit_program() definitionDiego Biurrun2012-10-03
|
* Use atexit() instead of defining a custom exit_program() interface.Diego Elio Pettenò2012-10-01
|
* avtools: remove the distinction between func_arg and func2_arg.Anton Khirnov2012-08-30
| | | | | | func2_arg is the same as func_arg, except it has one additional parameter. Change all func_arg callbacks to take that parameter (and ignore it).
* avprobe: Get rid of ugly casts in the options tableMartin Storsjö2012-08-27
| | | | | | | This also makes sure the function pointers are stored via the same union member as they are accessed via. Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: split printing "main options" into global and per-file.Anton Khirnov2012-08-19
|
* cmdutils: extend -h to allow printing codec details.Anton Khirnov2012-08-19
|
* avtools: move some newlines to show_help_options().Anton Khirnov2012-08-19
| | | | Don't require every caller to supply them.
* avtools: fix show_foo() signatures.Anton Khirnov2012-08-19
| | | | | show_foo() functions are declared as void show_foo(void), but called as int show_foo(const char*, const char*).
* avprobe: add const to AVCodec pointerMans Rullgard2012-08-18
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avprobe: Include libm.h for the log2 fallbackMartin Storsjö2012-08-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Use log2(x) instead of log(x) / log(2)Mans Rullgard2012-08-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* lavf: deprecate r_frame_rate.Anton Khirnov2012-07-29
| | | | | | | | | | | | | | | | | | | | According to its description, it is supposed to be the LCM of all the frame durations. The usability of such a thing is vanishingly small, especially since we cannot determine it with any amount of reliability. Therefore get rid of it after the next bump. Replace it with the average framerate where it makes sense. FATE results for the wtv and xmv demux tests change. In the wtv case this is caused by the file being corrupted (or possibly badly cut) and containing invalid timestamps. This results in lavf estimating the framerate wrong and making up wrong frame durations. In the xmv case the file contains pts jumps, so again the estimated framerate is far from anything sane and lavf again makes up different frame durations. In some other tests lavf starts making up frame durations from different frame.
* avprobe/avconv: fix tentative declaration compile errors on MSVS.Ronald S. Bultje2012-07-28
|
* avprobe: Identify codec probe failures rather than calling them unsupported ↵Alex Converse2012-06-05
| | | | codecs.
* avprobe: correctly set the default formatterLuca Barbato2012-05-29
|
* avprobe: move formatter functions in the contextLuca Barbato2012-05-29
| | | | Avoid possible clashes.
* avprobe: restore pseudo-INI old style format for compatibility.Anton Khirnov2012-05-26
|
* avprobe: fix formatting.Anton Khirnov2012-05-26
|
* avprobe: display the codec profile in show_stream()Christian Schmidt2012-05-25
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avprobe: fix function prototypeLuca Barbato2012-05-25
| | | | Make opt_output_format return the correct value.
* avprobe: provide JSON outputLuca Barbato2012-05-25
| | | | JSON usage is quite widespread.
* avprobe: output proper INI formatLuca Barbato2012-05-25
| | | | Make the output valid INI serialization.
* avprobe: improve formattingLuca Barbato2012-05-25
| | | | Do not use decimals if not needed.
* avprobe: don't print format entry name when only one was requestedAnton Khirnov2012-05-16
| | | | This is easier to parse with automated tools.
* avprobe: free options at the end of main()Janne Grunau2012-05-14
|
* avprobe: close opened codecs after useJanne Grunau2012-05-14
| | | | Fixes "memleak" on closing avprobe to make valgrind happy.
* avprobe: allow showing only one container/stream property.Ronald S. Bultje2012-05-07
| | | | | | This is useful for writing unit tests. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Mark mutable static data const where appropriate.Alex Converse2012-02-21
|
* avprobe, cmdutils: K&R formatting cosmeticsGaurav Narula2012-01-18
|
* avprobe: use avio_size() instead of deprecated AVFormatContext.file_size.Anton Khirnov2012-01-12
|
* Replace all uses of av_close_input_file() with avformat_close_input().Anton Khirnov2011-12-12
|
* Call avformat_network_init/deinit in the programsMartin Storsjö2011-11-06
| | | | | | | | | Calling the init function will become mandatory at some later point. By calling it, more heavy network init (such as SSL/TLS library init) can be done once at startup, instead of implicitly when used (which could lead to it being done a number of times). Signed-off-by: Martin Storsjö <martin@martin.st>
* cmdutils/avtools: simplify show_help() by using av_opt_child_class_next()Anton Khirnov2011-10-12
|
* avtools: parse loglevel before all the other options.Anton Khirnov2011-09-26
| | | | | This way it can be applied to cmdutils too -- e.g. showing the banner and printing startup messages.
* cmdutils: add support for caller-provided option context.Anton Khirnov2011-09-04
| | | | This is the first step to removing the globals plague from avtools.
* cmdutils: move exit_program() declaration to cmdutils from avconvAnton Khirnov2011-09-04
| | | | Allows cmdutils to call each tool's own cleanup function.
* cmdutils: get rid of dummy contexts for examining AVOptions.Anton Khirnov2011-09-03
| | | | Replace it with newly introduced libavutil API.
* Replace deprecated av_find_stream_info() by avformat_find_stream_info().Diego Biurrun2011-08-26
|
* Rename ffprobe to avprobe.Anton Khirnov2011-08-09