summaryrefslogtreecommitdiff
path: root/cmdutils.c
Commit message (Collapse)AuthorAge
* avconv: switch to the new BSF APIAnton Khirnov2016-03-20
|
* cmdutils: update copyright year to 2016Sean McGovern2016-03-15
| | | | | | CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avconv: convert to codecparAnton Khirnov2016-02-23
| | | | | The switch is not yet complete because the parsers and the bistream filters do not have a new AVCodecParam-based API yet.
* cmdutils: Check for and report the correct codec capabilityVittorio Giovara2015-10-25
|
* cmdutils: Print general codec capabilitiesVittorio Giovara2015-10-15
|
* cmdutils: Add auto to threading capabilities reportVittorio Giovara2015-10-15
| | | | | | And use 'none' when such capabilities are not set. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avconv: use read_file() for reading the 2pass statsAnton Khirnov2015-07-19
| | | | | Also, drop the now unused cmdutils_read_file(). There is no reason to have two functions doing essentially the same thing.
* lavu: add an API function to return the Libav version stringwm42015-07-02
| | | | | | | | This returns something like "v12_dev0-1332-g333a27c". This is much more useful than the individual library versions, of which there are too many, and which are very hard to map back to releases or git commits. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* log: Introduce a more verbose debug levelVittorio Giovara2015-04-19
| | | | And deprecate av_dlog macro.
* cmdutils: Add a stream specifier to map usable streamsLuca Barbato2015-03-20
| | | | | It drops everything that cannot be used for re-encoding and/or streamcopy.
* cmdutils: update copyright year to 2015.Johan Andersson2015-01-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* check memory errors from av_strdup()Vittorio Giovara2014-12-18
|
* cmdutils: check file access functions return valuesVittorio Giovara2014-12-18
| | | | | CC: libav-stable@libav.org Bug-Id: CID 703706
* cmdutils: Use the correct guardLuca Barbato2014-10-17
| | | | | | | The OptionDef arrays are terminated with a { NULL } element not NULL. CC: libav-stable@libav.org Bug-Id: CID 703769
* cmdutils: Print a more sensible message in show_filters() w/o libavfilterDiego Biurrun2014-09-16
| | | | Also avoid an unused variable warning for compilers w/o av_unused support.
* cosmetics: Write NULL pointer inequality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: Write NULL pointer equality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cmdutils: allow matching by metadata in stream specifiersAnton Khirnov2014-08-13
|
* avconv: Match stream idLuca Barbato2014-03-13
| | | | Quite useful to select by pid in MPEG-TS.
* cmdutils: update copyright year to 2014.Johan Andersson2014-01-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Add missing #includes for *INT64_MAX and *INT64_CDiego Biurrun2013-11-23
|
* avplay: Accept cpuflags optionLuca Barbato2013-10-22
| | | | | | Quite useful for debugging. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* cmdutils: Only do the windows-specific commandline parsing on _WIN32Diogo Franco2013-08-08
| | | | | | | | | | | | | Fixes commandline parsing on Cygwin (on 64 bit, and on very recent 32 bit), where the configure check does find the CommandLineToArgvW function (since it exists in the link libraries and in the headers), but whose GetCommandLineW() only returns the application's path. (This is due to a cygwin internal optimization, see http://cygwin.com/ml/cygwin/2013-07/msg00538.html for details.) Arguments are only given through main's argc/argv, and they're already UTF-8. Signed-off-by: Martin Storsjö <martin@martin.st>
* 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
* lavfi: add a slice threading infrastructureAnton Khirnov2013-05-24
| | | | Mostly based on libavcodec's
* pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov2013-05-15
|
* cmdutils: Fix build with lavfi disabledAnton Khirnov2013-04-16
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cmdutils: allow -h filter=<name> to print information about a filter.Anton Khirnov2013-04-11
|
* avtools: move media_type_string() from avprobe to cmdutils.Anton Khirnov2013-04-11
| | | | It will be useful outside of avprobe.
* lavfi: change the filter registering system to match the other librariesAnton Khirnov2013-04-11
| | | | Removes an arbitrary hardcoded limit on the number of filters.
* avconv: print an error on applying options of the wrong type.Anton Khirnov2013-03-08
| | | | I.e. input options to output files or vice versa.
* avplay: switch to new refcounted frames APIAnton Khirnov2013-03-08
| | | | Remove now unused cmdutils get_buffer() implementation.
* 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>
* cmdutils: Allow calling filter_codec_opts without a set encoderMartin Storsjö2013-02-28
| | | | | | | In this case, no encoder specific options are filtered, only options specific to that codec type in general. Signed-off-by: Martin Storsjö <martin@martin.st>
* cmdutils: only use libavresample when it is enabledJustin Ruggles2013-02-25
| | | | avprobe and avserver use cmdutils and do not strictly require libavresample.
* avconv: pass libavresample options to AVFilterGraphJustin Ruggles2013-02-23
|
* get_buffer(): do not initialize the data.Anton Khirnov2013-02-15
| | | | | There may be more decoders that rely on this. Those should be found and fixed.
* qtrle: fix the topmost line for 1bitKostya Shishkov2013-02-06
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> CC:libav-stable@libav.org
* fraps: fix off-by one bug for version 1.Anton Khirnov2013-02-06
| | | | CC:libav-stable@libav.org
* aasc: fix output for msrle compression.Anton Khirnov2013-02-06
| | | | | | The bottom line was invalid before. CC:libav-stable@libav.org
* cmdutils: remove ansi from the list of broken codecs.Anton Khirnov2013-02-06
| | | | | It's not relying on get_buffer() initializing the frame since 99e36ddd3ee57c38e6ca9e240ba518848487f849.
* cdgraphics: do not rely on get_buffer() initializing the frame.Anton Khirnov2013-02-06
| | | | | Setting it to zero (instead of 128, as the default get_buffer() does) also produces more correctly-looking output.
* cmdutils: update copyright year to 2013Johan Andersson2013-01-03
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cmdutils: pass number of groups to split_commandline().Anton Khirnov2012-12-19
| | | | | This makes the code simpler and avoids mixing designated and non-designated initializers in a potentially unsafe way in avconv.
* cmdutils: don't log an error in opt_default().Anton Khirnov2012-12-18
| | | | It results in spurious errors when using the new preparser.
* cmdutils: add a commandline pre-parser.Anton Khirnov2012-12-18
| | | | | | | | | | | | | It splits the commandline into a more convenient internal representation for further parsing. This will allow e.g. - processing global options first independently of their location on the commandline, eliminating ugly hacks for processing e.g. cpuflags first - better options validation and error reporting. It is now possible for the parser to know that it's applying an input option to an output file or vice versa and act accordingly.
* cmdutils: split parse_option().Anton Khirnov2012-12-18
| | | | | | Separate the code that searches for the option to use and the code that actually writes it. The writing code will be reused by the new options parser.
* lavc: set frame properties in ff_get_buffer().Anton Khirnov2012-12-04
| | | | | There is no point in duplicating this code in every get_buffer() implementation.
* cmdutils: Use a configure check for enabling CommandLineToArgvWMartin Storsjö2012-11-29
| | | | | | | | | This simplifies the condition to avoid hardcoding the systems where the function exists. This also simplifies support for newer Windows API subsets where this function doesn't exist, such as Windows Phone 8 and the "metro" API subset of Windows 8. Signed-off-by: Martin Storsjö <martin@martin.st>