summaryrefslogtreecommitdiffstats
path: root/cmdutils.h
Commit message (Collapse)AuthorAgeFilesLines
* cosmetics: Rename ffsink to avsink.Diego Biurrun2012-01-191-2/+2
|
* avprobe, cmdutils: K&R formatting cosmeticsGaurav Narula2012-01-181-6/+12
|
* Fix a bunch of common typos.Diego Biurrun2011-12-111-3/+3
|
* misc Doxygen markup improvementsDiego Biurrun2011-12-051-1/+1
|
* cmdutils: Rename read_file to cmdutils_read_fileMartin Storsjö2011-10-311-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 Khirnov2011-10-121-0/+6
|
* doc: fix references to obsolete presets directories for avconv/ffmpegDiego Biurrun2011-10-111-1/+1
|
* avtools: parse loglevel before all the other options.Anton Khirnov2011-09-261-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 Khirnov2011-09-111-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 Khirnov2011-09-051-0/+2
|
* avconv: move start_time, recording_time and input_ts_offset to options contextAnton Khirnov2011-09-041-0/+1
|
* cmdutils: allow storing per-stream/chapter/.... options in a generic wayAnton Khirnov2011-09-041-0/+13
|
* cmdutils: split per-option code out of parse_options().Anton Khirnov2011-09-041-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 Khirnov2011-09-041-2/+8
| | | | This is the first step to removing the globals plague from avtools.
* cmdutils: declare only one pointer type in OptionDefAnton Khirnov2011-09-041-4/+1
| | | | This will be useful in the following commit.
* cmdutils: move grow_array() from avconv to cmdutils.Anton Khirnov2011-09-041-0/+10
|
* cmdutils: move exit_program() declaration to cmdutils from avconvAnton Khirnov2011-09-041-0/+6
| | | | Allows cmdutils to call each tool's own cleanup function.
* cmdutils: allow precisely specifying a stream for AVOptions.Anton Khirnov2011-08-121-2/+14
|
* cmdutils: add codec_opts parameter to setup_find_stream_info_opts()Stefano Sabatini2011-07-281-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 Sabatini2011-07-281-0/+6
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cmdutils: clarify documentation for setup_find_stream_info_opts()Stefano Sabatini2011-07-281-2/+10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cmdutils: replace opt_default with opt_default2() and remove set_context_optsAnton Khirnov2011-07-131-3/+0
|
* ffplay: use new avcodec_open2 and avformat_find_stream_info API.Anton Khirnov2011-07-131-0/+5
|
* cmdutils: store all codec options in one dict instead of video/audio/subAnton Khirnov2011-07-131-1/+6
| | | | Split them when codec id is known.
* cmdutils: add opt_default2().Anton Khirnov2011-06-161-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_FUNC2Stefano Sabatini2011-05-281-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 cleanupDiego Biurrun2011-05-211-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 Biurrun2011-05-191-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(), simplifyStefano Sabatini2011-05-101-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 streamLuca Barbato2011-05-031-0/+1
| | | | The patch is the first step to support -dcodec copy
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make this_year static to cmdutils.cDiego Elio Pettenò2011-01-241-2/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Implement get_preset_file() in cmdutils.h and use it to factorize codeStefano Sabatini2010-11-041-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.cStefano Sabatini2010-10-181-0/+9
| | | | | | and ffmpeg.c. Originally committed as revision 25520 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize definition of the output_filter defined in both ffplay.c andStefano Sabatini2010-10-121-0/+11
| | | | | | | ffmpeg.c. Replace it with a more generic definition which can be shared. Originally committed as revision 25453 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add init and uninit functions to cmdutils, reduces code duplicationReimar Döffinger2010-10-021-0/+11
| | | | | | | between ffmpeg and ffplay and avoids a valgrind error by freeing avformat_opts->key. Originally committed as revision 25309 to svn://svn.ffmpeg.org/ffmpeg/trunk
* User application side of Codec specific parameters.Michael Niedermayer2010-09-291-1/+1
| | | | Originally committed as revision 25266 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make new doxy follows the agreed upon style and grammaticalStefano Sabatini2010-09-281-5/+5
| | | | | | conventions, for consistency with the rest of the documentation. Originally committed as revision 25246 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extract timestamp correction code from ffplay.c to cmdutils.cAlexander Strange2010-09-281-0/+24
| | | | Originally committed as revision 25241 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move log_callback_help to cmdutils.[hc], for allowing sharing.Stefano Sabatini2010-09-201-0/+6
| | | | Originally committed as revision 25149 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove angular brackets from Doxygen comments; Doxygen confuses them for HTML.Diego Biurrun2010-07-021-1/+1
| | | | Originally committed as revision 23991 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Grammar fixesMåns Rullgård2010-07-021-2/+2
| | | | Originally committed as revision 23961 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-301-20/+20
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Document cmdutils.c:print_error().Stefano Sabatini2010-05-071-0/+9
| | | | Originally committed as revision 23051 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement cmdutils.c:read_file(), and use it in ffmpeg.c for readingStefano Sabatini2010-04-011-0/+11
| | | | | | the second pass encoding log file. Originally committed as revision 22769 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-301-1/+1
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add -timelimit optionMåns Rullgård2010-01-201-0/+5
| | | | | | | | | | | | | This option limits the CPU time used by ffmpeg to the number of seconds specified. After this time, the OS sends a SIGXCPU signal, which we handle and attempt to exit cleanly. If the process is stuck, the OS will deliver a SIGKILL one second later, forcibly terminating the process. This functionality is useful in automated setups where a runaway ffmpeg process would otherwise go undetected. Originally committed as revision 21347 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement a -pix_fmts option for listing all the supported pixelStefano Sabatini2009-12-211-0/+6
| | | | | | formats. Originally committed as revision 20909 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move list_fmts() from ffmpeg.c to cmdutils.{h,c}, so that it can beStefano Sabatini2009-12-121-0/+2
| | | | | | shared by the other ff* tools code. Originally committed as revision 20812 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement a -filters option, listing all the available libavfilterStefano Sabatini2009-12-121-0/+6
| | | | | | | filters. Currently filters are not registered, so the option will show none. Originally committed as revision 20807 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud