Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | avtools: remove the distinction between func_arg and func2_arg. | Anton Khirnov | 2012-08-30 | 1 | -18/+18 |
| | | | | | | 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: split printing "main options" into global and per-file. | Anton Khirnov | 2012-08-19 | 1 | -1/+2 |
| | |||||
* | cmdutils: extend -h to allow printing codec details. | Anton Khirnov | 2012-08-19 | 1 | -0/+30 |
| | |||||
* | cmdutils: change semantics of show_help_options() and document it. | Anton Khirnov | 2012-08-19 | 1 | -2/+10 |
| | | | | | | | | 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. | ||||
* | avconv: deprecate -isync. | Anton Khirnov | 2012-08-19 | 1 | -1/+0 |
| | | | | | | This option does not do anything. Also remove OPT_GRAB, since -isync is the last option using it. | ||||
* | avtools: fix show_foo() signatures. | Anton Khirnov | 2012-08-19 | 1 | -8/+8 |
| | | | | | show_foo() functions are declared as void show_foo(void), but called as int show_foo(const char*, const char*). | ||||
* | cmdutils: refactor -codecs option. | Anton Khirnov | 2012-08-18 | 1 | -0/+12 |
| | | | | | | | Make it print a list of AVCodecDescriptors. Add new -decoders and -encoders options that print lists of decoders and encoders respectively. | ||||
* | Replace all CODEC_ID_* with AV_CODEC_ID_* | Anton Khirnov | 2012-08-07 | 1 | -1/+1 |
| | |||||
* | attributes: add av_noreturn | Reinhard Tartler | 2012-07-03 | 1 | -1/+1 |
| | | | | | | | Also use it in the declaration of the various exit_program implementations in avtools. inspired by a clang-scan report. | ||||
* | cmdutils: Pass the actual chosen encoder to filter_codec_opts | Martin Storsjö | 2012-06-30 | 1 | -1/+3 |
| | | | | | | | This allows passing the right options to encoders when there's more than one encoder for a certain codec id. Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | avtools: move buffer management code from avconv to cmdutils. | Anton Khirnov | 2012-06-05 | 1 | -0/+42 |
| | | | | It will be used by avplay. | ||||
* | lavfi: add video buffer sink, and use it in avtools | Anton Khirnov | 2012-05-09 | 1 | -15/+0 |
| | | | | | | Also add the public interface libavfilter/buffersink.h. Based on a commit by Stefano Sabatini. | ||||
* | avconv: get output pixel format from lavfi. | Anton Khirnov | 2012-04-15 | 1 | -1/+1 |
| | | | | | | | This way we don't require a clearly defined corresponding input stream. The result for the xwd test changes because rgb24 is now chosen instead of bgra. | ||||
* | Read preset files with suffix .avpreset | Reinhard Tartler | 2012-03-18 | 1 | -2/+2 |
| | | | | | | The preset files have been renamed some time ago. CC: libav-stable@libav.org | ||||
* | avconv: add -cpuflags option for setting supported cpuflags. | Anton Khirnov | 2012-03-06 | 1 | -0/+6 |
| | | | | Useful for testing. | ||||
* | Drop unnecessary prefix from *sink* variable and struct names. | Diego Biurrun | 2012-01-25 | 1 | -2/+2 |
| | |||||
* | cosmetics: Rename ffsink to avsink. | Diego Biurrun | 2012-01-19 | 1 | -2/+2 |
| | |||||
* | avprobe, cmdutils: K&R formatting cosmetics | Gaurav Narula | 2012-01-18 | 1 | -6/+12 |
| | |||||
* | Fix a bunch of common typos. | Diego Biurrun | 2011-12-11 | 1 | -3/+3 |
| | |||||
* | misc Doxygen markup improvements | Diego Biurrun | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | cmdutils: Rename read_file to cmdutils_read_file | Martin Storsjö | 2011-10-31 | 1 | -1/+1 |
| | | | | | | | This symbol name clashes with a symbol in gnutls, if linking statically to that library. Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | cmdutils/avtools: simplify show_help() by using av_opt_child_class_next() | Anton Khirnov | 2011-10-12 | 1 | -0/+6 |
| | |||||
* | doc: fix references to obsolete presets directories for avconv/ffmpeg | Diego Biurrun | 2011-10-11 | 1 | -1/+1 |
| | |||||
* | avtools: parse loglevel before all the other options. | Anton Khirnov | 2011-09-26 | 1 | -0/+5 |
| | | | | | This way it can be applied to cmdutils too -- e.g. showing the banner and printing startup messages. | ||||
* | avconv: move audio_sample_fmt to options context. | Anton Khirnov | 2011-09-11 | 1 | -0/+6 |
| | | | | | Also document it and replace undocumented and inconsistent '-sample_fmt list' syntax with -sample_fmts. | ||||
* | avconv: move ts scale to options context. | Anton Khirnov | 2011-09-05 | 1 | -0/+2 |
| | |||||
* | avconv: move start_time, recording_time and input_ts_offset to options context | Anton Khirnov | 2011-09-04 | 1 | -0/+1 |
| | |||||
* | cmdutils: allow storing per-stream/chapter/.... options in a generic way | Anton Khirnov | 2011-09-04 | 1 | -0/+13 |
| | |||||
* | cmdutils: split per-option code out of parse_options(). | Anton Khirnov | 2011-09-04 | 1 | -0/+7 |
| | | | | | This allows options like -target, which are just shortcuts for other options, to work without dummy function for all options they invoke. | ||||
* | cmdutils: add support for caller-provided option context. | Anton Khirnov | 2011-09-04 | 1 | -2/+8 |
| | | | | This is the first step to removing the globals plague from avtools. | ||||
* | cmdutils: declare only one pointer type in OptionDef | Anton Khirnov | 2011-09-04 | 1 | -4/+1 |
| | | | | This will be useful in the following commit. | ||||
* | cmdutils: move grow_array() from avconv to cmdutils. | Anton Khirnov | 2011-09-04 | 1 | -0/+10 |
| | |||||
* | cmdutils: move exit_program() declaration to cmdutils from avconv | Anton Khirnov | 2011-09-04 | 1 | -0/+6 |
| | | | | Allows cmdutils to call each tool's own cleanup function. | ||||
* | cmdutils: allow precisely specifying a stream for AVOptions. | Anton Khirnov | 2011-08-12 | 1 | -2/+14 |
| | |||||
* | cmdutils: add codec_opts parameter to setup_find_stream_info_opts() | Stefano Sabatini | 2011-07-28 | 1 | -1/+1 |
| | | | | | | Avoid brittle and obfuscating reference to a global. Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | cmdutils: clarify documentation for filter_codec_opts() | Stefano Sabatini | 2011-07-28 | 1 | -0/+6 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | cmdutils: clarify documentation for setup_find_stream_info_opts() | Stefano Sabatini | 2011-07-28 | 1 | -2/+10 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | cmdutils: replace opt_default with opt_default2() and remove set_context_opts | Anton Khirnov | 2011-07-13 | 1 | -3/+0 |
| | |||||
* | ffplay: use new avcodec_open2 and avformat_find_stream_info API. | Anton Khirnov | 2011-07-13 | 1 | -0/+5 |
| | |||||
* | cmdutils: store all codec options in one dict instead of video/audio/sub | Anton Khirnov | 2011-07-13 | 1 | -1/+6 |
| | | | | Split them when codec id is known. | ||||
* | cmdutils: add opt_default2(). | Anton Khirnov | 2011-06-16 | 1 | -0/+1 |
| | | | | | | It stores options in a dictionary to be passed to new open calls. It will replace opt_default once all the pieces are in place. | ||||
* | cmdutils: remove OPT_FUNC2 | Stefano Sabatini | 2011-05-28 | 1 | -6/+4 |
| | | | | | | | | | Make ff* tools only accept opt_* functions taking two arguments. The distinction between functions with one and two arguments is quite pointless. Simplify parse_options() code. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | ||||
* | multiple inclusion guard cleanup | Diego Biurrun | 2011-05-21 | 1 | -3/+3 |
| | | | | | Add missing multiple inclusion guards; clean up #endif comments; add missing library prefixes; keep guard names consistent. | ||||
* | Clean up #includes in cmdutils.h. | Diego Biurrun | 2011-05-19 | 1 | -6/+3 |
| | | | | | | inttypes.h is not necessary, just stdint.h is enough. Unconditionally #include avfilter.h in cmdutils.h. It is an installed header with no non-standard external dependencies, so it is safe. | ||||
* | cmdutils: remove list_fmts(), simplify | Stefano Sabatini | 2011-05-10 | 1 | -2/+0 |
| | | | | | | | | | | | | | The function was only used in opt_sample_fmt() for listing the sample formats. Move list_fmts() functionality directly into opt_sample_fmt(). Also fix the warning: ffmpeg.c: In function ‘opt_audio_sample_fmt’: ffmpeg.c:2877: warning: passing argument 1 of ‘list_fmts’ from incompatible pointer type cmdutils.h:163: note: expected ‘void (*)(char *, int, int)’ but argument is of type ‘char * (*)(char *, int, enum AVSampleFormat)’ Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | Make ffmpeg support generic data stream | Luca Barbato | 2011-05-03 | 1 | -0/+1 |
| | | | | The patch is the first step to support -dcodec copy | ||||
* | Replace FFmpeg with Libav in licence headers | Mans Rullgard | 2011-03-19 | 1 | -4/+4 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Make this_year static to cmdutils.c | Diego Elio Pettenò | 2011-01-24 | 1 | -2/+0 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Implement get_preset_file() in cmdutils.h and use it to factorize code | Stefano Sabatini | 2010-11-04 | 1 | -0/+20 |
| | | | | | | from ffmpeg.c and ffserver.c. Originally committed as revision 25679 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Implement a common get_filtered_video_frame(), shared between ffplay.c | Stefano Sabatini | 2010-10-18 | 1 | -0/+9 |
| | | | | | | and ffmpeg.c. Originally committed as revision 25520 to svn://svn.ffmpeg.org/ffmpeg/trunk |