summaryrefslogtreecommitdiff
path: root/avconv_opt.c
Commit message (Collapse)AuthorAge
* lavc: set the default rc_initial_buffer_occupancyLuca Barbato2013-01-15
| | | | | | | | | | | rc_buffer_size is not set before. Solve the initial the rate control underflow issue reported in bug 222. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* 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.
* avconv: pass the actually selected decoder to filter_codec_opts().Anton Khirnov2012-12-18
|
* avconv: use new options parser.Anton Khirnov2012-12-18
|
* cmdutils: add a macro to simplify grow_array() calls.Anton Khirnov2012-12-18
|
* avconv: fix copying per-stream metadata.Anton Khirnov2012-11-25
| | | | | | | It is handled separately from other types because it uses stream specifiers and currently that triggers an assert in SET_DICT. CC:libav-stable@libav.org
* Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles2012-11-11
| | | | Also reorder some other #include when applicable.
* avconv_opt, cmdutils: Add missing function parameter DoxygenDiego Biurrun2012-10-31
|
* avconv: only apply presets when we have an encoder.Anton Khirnov2012-10-23
| | | | | | Fixes a crash when using a preset with stream copy. CC: libav-stable@libav.org
* avconv: fix disabling auto mappings with -map_metadataAnton Khirnov2012-10-16
| | | | CC: libav-stable@libav.org
* De-doxygenize some top-level filesDiego Biurrun2012-10-12
|
* avconv: remove bogus warning when using avconv -h without parameterJanne Grunau2012-10-10
|
* avconv: remove -same_quantAnton Khirnov2012-10-09
| | | | | | | It has not worked for anything other than fringe codecs (asv1/2, mdec, mjpeg[b]) since about 2003 and nobody ever noticed or complained. This sufficiently proves that there are no users of this option who have a clue of what they are doing, so it is completely useless.
* avconv: simplify memory allocation in copy_chaptersJanne Grunau2012-10-09
| | | | | | | | | Make just a single reallocation per call instead of one reallocation per copied chapters. This fixes possible memory leaks on realloc failures. Also correct the allocation since it needs multiples of sizeof(AVChapter*) and not sizeof(AVChapter). Fixes CID700633 and CID700719.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* 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).
* avconv: make the -passlogfile option per-stream.Anton Khirnov2012-08-30
|
* avconv: make the -pass option per-stream.Anton Khirnov2012-08-30
|
* avconv: remove unused variable opt_shortestMans Rullgard2012-08-25
| | | | | | This was replaced with a per-file value in 3c0df90. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avconv: mark more options as expert.Anton Khirnov2012-08-19
|
* avconv: split printing "main options" into global and per-file.Anton Khirnov2012-08-19
|
* avconv: refactor help printing.Anton Khirnov2012-08-19
| | | | | | | By default don't dump every single option on the user, but print only the basic options. Add -h long/full to print more options.
* avconv: print info/capabilities options in a separate help group.Anton Khirnov2012-08-19
|
* cmdutils: extend -h to allow printing codec details.Anton Khirnov2012-08-19
|
* cmdutils: change semantics of show_help_options() and document it.Anton Khirnov2012-08-19
| | | | | | | | Currently it takes a mask and value, such that options for which (flags & mask) == value. Change it to take required flags and forbidden flags instead. This is shorter and simpler to understand.
* avtools: move some newlines to show_help_options().Anton Khirnov2012-08-19
| | | | Don't require every caller to supply them.
* avconv: deprecate -isync.Anton Khirnov2012-08-19
| | | | | | This option does not do anything. Also remove OPT_GRAB, since -isync is the last option using it.
* avconv: reformat the options table.Anton Khirnov2012-08-19
|
* avconv: get rid of ugly casts in the options table.Anton Khirnov2012-08-19
|
* avconv: try to match codecs by codec descriptor name as a last resort.Anton Khirnov2012-08-19
| | | | This allows e.g. -c:v h264 to select the libx264 encoder.
* 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*).
* avconv: make -shortest a per-output file option.Anton Khirnov2012-08-18
|
* avconv: split option parsing into a separate file.Anton Khirnov2012-08-08