Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | avprobe: Fix memory leak | Vittorio Giovara | 2016-08-29 | 1 | -1/+1 |
| | | | | | | | After init_opts() there needs to be an uninit_opts() call to free the swscale context and other buffers. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | Revert "avprobe: Zero the allocated avio buffer memory" | Vittorio Giovara | 2016-07-21 | 1 | -1/+1 |
| | | | | | | | | | | | This reverts commit 0e0538aefc75958ded49f5d075c99a81cf6b2bbb. The valgrind warning was a false positive due to OSX implementation of printf (invoking a strnlen), while this code is actually fine, since the format specifier %.*s guarantes that no more than buf_size bytes from buf will be read. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | avprobe: Zero the allocated avio buffer memory | Vittorio Giovara | 2016-07-20 | 1 | -1/+1 |
| | | | | | Fixes valgrind warning "Conditional jump or move depends on uninitialised value(s)." from avio_flush(). | ||||
* | avprobe: Print stereo3d information | Vittorio Giovara | 2016-05-17 | 1 | -0/+12 |
| | |||||
* | cosmetics: Fix spelling mistakes | Vittorio Giovara | 2016-05-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | avprobe: switch to codecpar | Anton Khirnov | 2016-02-26 | 1 | -42/+65 |
| | |||||
* | avprobe: add local per-stream state | Anton Khirnov | 2016-02-26 | 1 | -0/+20 |
| | | | | This will be useful in the following commits. | ||||
* | avprobe: add local per-file state | Anton Khirnov | 2016-02-26 | 1 | -15/+23 |
| | | | | | Do not pass just a bare AVFormatContext pointer around, wrap it in struct. This will be useful in the following commits. | ||||
* | avprobe: print information from the codec descriptor | Anton Khirnov | 2016-02-26 | 1 | -5/+7 |
| | | | | | avprobe is not doing any decoding, so this is more correct than printing information from a random codec implementation. | ||||
* | avprobe: remove a pointless condition and a dead branch | Anton Khirnov | 2016-02-26 | 1 | -66/+63 |
| | | | | AVStream.codec is always non-NULL | ||||
* | avprobe: do not call avio_close() on a custom context | Anton Khirnov | 2016-02-22 | 1 | -1/+2 |
| | | | | avio_close() can only be called on AVIOContexts created by avio_open(2). | ||||
* | avprobe: Unref the packet once it is used | Luca Barbato | 2015-10-26 | 1 | -1/+3 |
| | | | | | | Make sure it does not leak packets. CC: libav-stable@libav.org | ||||
* | avprobe: Print the display matrix from per-stream sidedata | Martin Storsjö | 2015-05-02 | 1 | -0/+22 |
| | | | | | | | | | This is printed in a separate subgroup "displaymatrix" inside a new group named "sidedata". The subgroup has got two values, "rotation" (which is the parsed rotation from the matrix) and "matrix" containing the full actual values. Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | avprobe: Support writing arrays of integers without keys | Martin Storsjö | 2015-05-02 | 1 | -20/+48 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | avprobe: Export coded_{width,height} in -show_streams | Vittorio Giovara | 2015-03-08 | 1 | -0/+2 |
| | |||||
* | Don't anonymously typedef structs | Diego Biurrun | 2015-02-14 | 1 | -2/+2 |
| | |||||
* | check memory errors from av_strdup() | Vittorio Giovara | 2014-12-18 | 1 | -0/+4 |
| | |||||
* | avprobe: Remove a pointless check | Luca Barbato | 2014-10-17 | 1 | -1/+1 |
| | | | | | | | The element is always valid. CC: libav-stable@libav.org Bug-Id: CID 732276 | ||||
* | avprobe: print color properties for show_streams | Vittorio Giovara | 2014-10-08 | 1 | -0/+6 |
| | |||||
* | cmdutils: wrap exit explicitly | Luca Barbato | 2013-07-07 | 1 | -6/+6 |
| | | | | | | | | | | 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 structures | Luca Barbato | 2013-07-07 | 1 | -10/+10 |
| | |||||
* | avtools: move media_type_string() from avprobe to cmdutils. | Anton Khirnov | 2013-04-11 | 1 | -14/+0 |
| | | | | It will be useful outside of avprobe. | ||||
* | Use the avstring.h locale-independent character type functions | Reimar Döffinger | 2013-03-07 | 1 | -2/+3 |
| | | | | | | 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 stream | Anton Khirnov | 2013-01-04 | 1 | -6/+9 |
| | | | | Based on a patch by Jan Gerber <j@v2v.cc> | ||||
* | avprobe: report per stream bit rate if set by the decoder | Janne Grunau | 2012-12-02 | 1 | -0/+4 |
| | |||||
* | tools: do not use av_pix_fmt_descriptors directly. | Anton Khirnov | 2012-10-12 | 1 | -3/+3 |
| | |||||
* | Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat | Anton Khirnov | 2012-10-08 | 1 | -2/+2 |
| | |||||
* | avconv/avprobe: Add missing 'void' to exit_program() definition | Diego Biurrun | 2012-10-03 | 1 | -1/+1 |
| | |||||
* | Use atexit() instead of defining a custom exit_program() interface. | Diego Elio Pettenò | 2012-10-01 | 1 | -2/+3 |
| | |||||
* | avtools: remove the distinction between func_arg and func2_arg. | Anton Khirnov | 2012-08-30 | 1 | -4/+4 |
| | | | | | | 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 table | Martin Storsjö | 2012-08-27 | 1 | -13/+14 |
| | | | | | | | 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 Khirnov | 2012-08-19 | 1 | -1/+1 |
| | |||||
* | cmdutils: extend -h to allow printing codec details. | Anton Khirnov | 2012-08-19 | 1 | -2/+1 |
| | |||||
* | avtools: move some newlines to show_help_options(). | Anton Khirnov | 2012-08-19 | 1 | -1/+1 |
| | | | | Don't require every caller to supply them. | ||||
* | avtools: fix show_foo() signatures. | Anton Khirnov | 2012-08-19 | 1 | -1/+2 |
| | | | | | 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 pointer | Mans Rullgard | 2012-08-18 | 1 | -1/+1 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | avprobe: Include libm.h for the log2 fallback | Martin Storsjö | 2012-08-14 | 1 | -0/+1 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | Use log2(x) instead of log(x) / log(2) | Mans Rullgard | 2012-08-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Replace all CODEC_ID_* with AV_CODEC_ID_* | Anton Khirnov | 2012-08-07 | 1 | -1/+1 |
| | |||||
* | lavf: deprecate r_frame_rate. | Anton Khirnov | 2012-07-29 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | | | | | 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. Bultje | 2012-07-28 | 1 | -2/+3 |
| | |||||
* | avprobe: Identify codec probe failures rather than calling them unsupported ↵ | Alex Converse | 2012-06-05 | 1 | -1/+4 |
| | | | | codecs. | ||||
* | avprobe: correctly set the default formatter | Luca Barbato | 2012-05-29 | 1 | -9/+10 |
| | |||||
* | avprobe: move formatter functions in the context | Luca Barbato | 2012-05-29 | 1 | -55/+61 |
| | | | | Avoid possible clashes. | ||||
* | avprobe: restore pseudo-INI old style format for compatibility. | Anton Khirnov | 2012-05-26 | 1 | -0/+50 |
| | |||||
* | avprobe: fix formatting. | Anton Khirnov | 2012-05-26 | 1 | -2/+1 |
| | |||||
* | avprobe: display the codec profile in show_stream() | Christian Schmidt | 2012-05-25 | 1 | -0/+5 |
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | avprobe: fix function prototype | Luca Barbato | 2012-05-25 | 1 | -2/+3 |
| | | | | Make opt_output_format return the correct value. | ||||
* | avprobe: provide JSON output | Luca Barbato | 2012-05-25 | 1 | -0/+120 |
| | | | | JSON usage is quite widespread. | ||||
* | avprobe: output proper INI format | Luca Barbato | 2012-05-25 | 1 | -109/+393 |
| | | | | Make the output valid INI serialization. |