summaryrefslogtreecommitdiff
path: root/cmdutils.c
Commit message (Collapse)AuthorAge
* Extend show_pix_fmts(), make it show input/output support forStefano Sabatini2010-02-10
| | | | | | conversion and other information exposed by the pixdesc API. Originally committed as revision 21751 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check for setrlimit()Måns Rullgård2010-02-09
| | | | Originally committed as revision 21733 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make parse_options() explicitely handle the case where an opt_func2Stefano Sabatini2010-02-07
| | | | | | | function returns a negative value, rather than erroneously trigger the code which manages the case of unknown option. Originally committed as revision 21670 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Declare variable "version" in the PRINT_LIB_VERSION() macro if block,Stefano Sabatini2010-01-27
| | | | | | slightly simpler and more robust. Originally committed as revision 21492 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prettify PRINT_LIB_VERSION macroMåns Rullgård2010-01-27
| | | | Originally committed as revision 21477 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of ifdeffery for printing library versions and configurationsMåns Rullgård2010-01-27
| | | | Originally committed as revision 21476 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print config of each lib if different from that of ffmpeg/ffplay/ffserverMåns Rullgård2010-01-25
| | | | Originally committed as revision 21448 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add -timelimit optionMåns Rullgård2010-01-20
| | | | | | | | | | | | | 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
* Update this_year value.Stefano Sabatini2010-01-01
| | | | Originally committed as revision 20995 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark conditionally used variable as av_unused, fixes the warning:Diego Biurrun2009-12-28
| | | | | | cmdutils.c:576: warning: unused variable ‘filter’ Originally committed as revision 20943 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement a -pix_fmts option for listing all the supported pixelStefano Sabatini2009-12-21
| | | | | | formats. Originally committed as revision 20909 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize opt+1 out in parse_options(), simplify.Stefano Sabatini2009-12-14
| | | | Originally committed as revision 20872 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only list libavfilter filters if libavfilter has been enabled duringStefano Sabatini2009-12-12
| | | | | | | configuration. Fix compilation if FFmpeg is not configured with --enable-avfilter. Originally committed as revision 20813 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move list_fmts() from ffmpeg.c to cmdutils.{h,c}, so that it can beStefano Sabatini2009-12-12
| | | | | | 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-12
| | | | | | | filters. Currently filters are not registered, so the option will show none. Originally committed as revision 20807 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make show_protocols() print one protocol per line.Stefano Sabatini2009-11-21
| | | | Originally committed as revision 20568 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split show_formats().Michael Niedermayer2009-11-19
| | | | Originally committed as revision 20553 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make show_formats() print each bitstream filter on a separate line.Stefano Sabatini2009-11-18
| | | | | | Improve readability of the output. Originally committed as revision 20549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Improve compiler information code to print to the console on program startup.Diego Biurrun2009-09-22
| | | | | | | Remove gcc-specific hacks and allow filling relevant information for non-gcc compilers in configure. Originally committed as revision 19963 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print compiler version and build date before configuration in console output.Diego Biurrun2009-09-22
| | | | Originally committed as revision 19962 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Document the output of ffmpeg -formats.William R. Zwicky2009-08-09
| | | | | | Patch by William R. Zwicky, wrzwicky pobox com Originally committed as revision 19610 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle noX for OPT_BOOL X.Benoit Fouet2009-08-03
| | | | Originally committed as revision 19572 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove superfluous const.Carl Eugen Hoyos2009-06-27
| | | | Originally committed as revision 19284 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move opt_loglevel() from ffmpeg.c to cmdutils.c.Stefano Sabatini2009-06-16
| | | | Originally committed as revision 19209 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add configure option to upgrade (L)GPL to version 3.Diego Biurrun2009-06-05
| | | | Originally committed as revision 19116 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize initial "printf(" and ");" in show_license().Stefano Sabatini2009-05-25
| | | | Originally committed as revision 18950 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement read_yesno().Stefano Sabatini2009-03-18
| | | | Originally committed as revision 18037 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename avctx_opts to avcodec_opts.Stefano Sabatini2009-03-03
| | | | | | | The new name is more meaningful and consistent with avformat_opts and sws_opts. Originally committed as revision 17789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove old scaler.Michael Niedermayer2009-03-03
| | | | Originally committed as revision 17786 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert part of r16593.Ramiro Polla2009-02-05
| | | | | | network.h should only be included when CONFIG_NETWORK is set. Originally committed as revision 17009 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement a var for containing the current year number rather thanStefano Sabatini2009-01-18
| | | | | | hardcode it in the banner string. Originally committed as revision 16678 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove pointless #if around header #includes.Diego Biurrun2009-01-14
| | | | Originally committed as revision 16593 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump year number.Stefano Sabatini2009-01-02
| | | | Originally committed as revision 16406 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove calls to deprecated av_set_string2() with calls toStefano Sabatini2008-12-19
| | | | | | av_set_string3(). Originally committed as revision 16241 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix weird indent.Stefano Sabatini2008-12-18
| | | | Originally committed as revision 16200 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix opt_default(), making it exit immediately in case of an invalidStefano Sabatini2008-12-17
| | | | | | | argument. See the thread: "[PATCH] Fix opt_default()". Originally committed as revision 16196 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Include headers for optional libraries only when enabled.Diego Pettenò2008-10-22
| | | | | | | | | | | Include the headers for libavfilter, libswscale and libpostproc when they are enabled (and thus linked in). Without this change, Sun Studio will fail to link FFmpeg since two inline functions defined in avfilter.h will have undefined references to non-inline libavfilter functions. Originally committed as revision 15665 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use CONFIG_* macros in cmdutils.c for consistency.Diego Pettenò2008-10-16
| | | | Originally committed as revision 15626 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark print_all_lib_versions() static in cmdutils.c . Patch by Diego PettenòDiego Pettenò2008-10-04
| | | | Originally committed as revision 15547 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move opt_default() and set_context_opts() to cmdutils so it can be used fromMichael Niedermayer2008-09-28
| | | | | | the other tools as well. Originally committed as revision 15450 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make show_banner()/show_version() print the libpostproc versionStefano Sabatini2008-09-01
| | | | | | numbers if enabled. Originally committed as revision 15149 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: vertical align in print_all_lib_versions().Stefano Sabatini2008-08-29
| | | | Originally committed as revision 15032 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make show_version()/show_banner() print the libswscale versions ifStefano Sabatini2008-08-29
| | | | | | enabled. Originally committed as revision 15031 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make show_banner() and show_version() print both the compile-time and theStefano Sabatini2008-08-13
| | | | | | link-time/run-time libav* version numbers. Originally committed as revision 14737 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace call to deprecated avcodec_build() with avcodec_version().Diego Biurrun2008-08-03
| | | | Originally committed as revision 14521 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print the program_name rather than always "FFmpeg" when showing theStefano Sabatini2008-07-09
| | | | | | commandline tools license. Originally committed as revision 14141 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify show_banner() so that it does not require arguments, similarStefano Sabatini2008-05-29
| | | | | | | to what was previously done with show_version(). patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13526 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move show_formats() to cmdutils.c.Stefano Sabatini2008-05-22
| | | | | | Patch by: Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13236 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not pass program_name as argument to show_version(), this allows someMichael Niedermayer2008-05-21
| | | | | | future simplifications. Originally committed as revision 13232 to svn://svn.ffmpeg.org/ffmpeg/trunk