Statistics
| Branch: | Revision:

ffmpeg / cmdutils.c @ ffcc6e24

History | View | Annotate | Download (20 KB)

# Date Author Comment
ffcc6e24 01/20/2010 06:42 AM Måns Rullgård

Add -timelimit option

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...

7a78bc85 01/01/2010 03:07 PM Stefano Sabatini

Update this_year value.

Originally committed as revision 20995 to svn://svn.ffmpeg.org/ffmpeg/trunk

78638628 12/28/2009 12:01 PM Diego Biurrun

Mark conditionally used variable as av_unused, fixes the warning:
cmdutils.c:576: warning: unused variable ‘filter’

Originally committed as revision 20943 to svn://svn.ffmpeg.org/ffmpeg/trunk

3f7bb426 12/21/2009 09:53 PM Stefano Sabatini

Implement a -pix_fmts option for listing all the supported pixel
formats.

Originally committed as revision 20909 to svn://svn.ffmpeg.org/ffmpeg/trunk

c3c78324 12/14/2009 11:47 PM Stefano Sabatini

Factorize opt+1 out in parse_options(), simplify.

Originally committed as revision 20872 to svn://svn.ffmpeg.org/ffmpeg/trunk

663c2edf 12/12/2009 07:15 PM Stefano Sabatini

Only list libavfilter filters if libavfilter has been enabled during
configuration.
Fix compilation if FFmpeg is not configured with --enable-avfilter.

Originally committed as revision 20813 to svn://svn.ffmpeg.org/ffmpeg/trunk

c5dc6026 12/12/2009 05:45 PM Stefano Sabatini

Move list_fmts() from ffmpeg.c to cmdutils.{h,c}, so that it can be
shared by the other ff* tools code.

Originally committed as revision 20812 to svn://svn.ffmpeg.org/ffmpeg/trunk

62d75662 12/12/2009 04:18 PM Stefano Sabatini

Implement a -filters option, listing all the available libavfilter
filters.
Currently filters are not registered, so the option will show none.

Originally committed as revision 20807 to svn://svn.ffmpeg.org/ffmpeg/trunk

2cb2d6f0 11/21/2009 12:22 AM Stefano Sabatini

Make show_protocols() print one protocol per line.

Originally committed as revision 20568 to svn://svn.ffmpeg.org/ffmpeg/trunk

8447f0bd 11/19/2009 04:35 PM Michael Niedermayer

Split show_formats().

Originally committed as revision 20553 to svn://svn.ffmpeg.org/ffmpeg/trunk

2091b27b 11/18/2009 10:27 PM Stefano Sabatini

Make show_formats() print each bitstream filter on a separate line.
Improve readability of the output.

Originally committed as revision 20549 to svn://svn.ffmpeg.org/ffmpeg/trunk

a3d7c197 09/22/2009 12:23 PM Diego Biurrun

Improve compiler information code to print to the console on program startup.
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

5c1f57ff 09/22/2009 12:21 PM Diego Biurrun

Print compiler version and build date before configuration in console output.

Originally committed as revision 19962 to svn://svn.ffmpeg.org/ffmpeg/trunk

5a8597a0 08/09/2009 10:42 AM William R. Zwicky

Document the output of ffmpeg -formats.

Patch by William R. Zwicky, wrzwicky pobox com

Originally committed as revision 19610 to svn://svn.ffmpeg.org/ffmpeg/trunk

b1d6e5e8 08/03/2009 09:24 AM Benoit Fouet

Handle noX for OPT_BOOL X.

Originally committed as revision 19572 to svn://svn.ffmpeg.org/ffmpeg/trunk

da4c2dab 06/27/2009 10:26 AM Carl Eugen Hoyos

Remove superfluous const.

Originally committed as revision 19284 to svn://svn.ffmpeg.org/ffmpeg/trunk

4c97a6fa 06/16/2009 11:09 PM Stefano Sabatini

Move opt_loglevel() from ffmpeg.c to cmdutils.c.

Originally committed as revision 19209 to svn://svn.ffmpeg.org/ffmpeg/trunk

9cad0e4e 06/05/2009 11:04 AM Diego Biurrun

Add configure option to upgrade (L)GPL to version 3.

Originally committed as revision 19116 to svn://svn.ffmpeg.org/ffmpeg/trunk

3bf28f9d 05/25/2009 10:22 PM Stefano Sabatini

Factorize initial "printf(" and ");" in show_license().

Originally committed as revision 18950 to svn://svn.ffmpeg.org/ffmpeg/trunk

090b61b2 03/18/2009 09:35 PM Stefano Sabatini

Implement read_yesno().

Originally committed as revision 18037 to svn://svn.ffmpeg.org/ffmpeg/trunk

636f1c4c 03/03/2009 11:32 PM Stefano Sabatini

Rename avctx_opts to avcodec_opts.

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

6d4f53cb 03/03/2009 10:51 PM Michael Niedermayer

Remove old scaler.

Originally committed as revision 17786 to svn://svn.ffmpeg.org/ffmpeg/trunk

da2dc39e 02/05/2009 06:51 PM Ramiro Polla

Revert part of r16593.
network.h should only be included when CONFIG_NETWORK is set.

Originally committed as revision 17009 to svn://svn.ffmpeg.org/ffmpeg/trunk

ef4c0bb1 01/18/2009 09:40 PM Stefano Sabatini

Implement a var for containing the current year number rather than
hardcode it in the banner string.

Originally committed as revision 16678 to svn://svn.ffmpeg.org/ffmpeg/trunk

ddda628e 01/14/2009 12:45 AM Diego Biurrun

Remove pointless #if around header #includes.

Originally committed as revision 16593 to svn://svn.ffmpeg.org/ffmpeg/trunk

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk

e329b6ec 01/02/2009 11:09 AM Stefano Sabatini

Bump year number.

Originally committed as revision 16406 to svn://svn.ffmpeg.org/ffmpeg/trunk

f16dd7e6 12/19/2008 10:29 PM Stefano Sabatini

Remove calls to deprecated av_set_string2() with calls to
av_set_string3().

Originally committed as revision 16241 to svn://svn.ffmpeg.org/ffmpeg/trunk

3749076c 12/18/2008 12:13 AM Stefano Sabatini

Fix weird indent.

Originally committed as revision 16200 to svn://svn.ffmpeg.org/ffmpeg/trunk

5c3383e5 12/17/2008 11:21 PM Stefano Sabatini

Fix opt_default(), making it exit immediately in case of an invalid
argument.
See the thread: "[PATCH] Fix opt_default()".

Originally committed as revision 16196 to svn://svn.ffmpeg.org/ffmpeg/trunk

2cd39dbf 10/22/2008 10:36 AM Diego Pettenò

Include headers for optional libraries only when enabled.

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...

a14b362f 10/16/2008 11:46 AM Diego Pettenò

Use CONFIG_* macros in cmdutils.c for consistency.

Originally committed as revision 15626 to svn://svn.ffmpeg.org/ffmpeg/trunk

88b77ef1 10/04/2008 09:25 AM Diego Pettenò

Mark print_all_lib_versions() static in cmdutils.c . Patch by Diego Pettenò

Originally committed as revision 15547 to svn://svn.ffmpeg.org/ffmpeg/trunk

85663ef3 09/28/2008 07:35 PM Michael Niedermayer

Move opt_default() and set_context_opts() to cmdutils so it can be used from
the other tools as well.

Originally committed as revision 15450 to svn://svn.ffmpeg.org/ffmpeg/trunk

1981deaf 09/01/2008 06:02 PM Stefano Sabatini

Make show_banner()/show_version() print the libpostproc version
numbers if enabled.

Originally committed as revision 15149 to svn://svn.ffmpeg.org/ffmpeg/trunk

e9df66a7 08/29/2008 06:29 PM Stefano Sabatini

Cosmetics: vertical align in print_all_lib_versions().

Originally committed as revision 15032 to svn://svn.ffmpeg.org/ffmpeg/trunk

db6d50c7 08/29/2008 06:25 PM Stefano Sabatini

Make show_version()/show_banner() print the libswscale versions if
enabled.

Originally committed as revision 15031 to svn://svn.ffmpeg.org/ffmpeg/trunk

9a109272 08/13/2008 08:08 PM Stefano Sabatini

Make show_banner() and show_version() print both the compile-time and the
link-time/run-time libav* version numbers.

Originally committed as revision 14737 to svn://svn.ffmpeg.org/ffmpeg/trunk

7254edb5 08/03/2008 02:37 PM Diego Biurrun

Replace call to deprecated avcodec_build() with avcodec_version().

Originally committed as revision 14521 to svn://svn.ffmpeg.org/ffmpeg/trunk

304ba23a 07/09/2008 06:45 PM Stefano Sabatini

Print the program_name rather than always "FFmpeg" when showing the
commandline tools license.

Originally committed as revision 14141 to svn://svn.ffmpeg.org/ffmpeg/trunk

ea9c581f 05/29/2008 08:48 AM Stefano Sabatini

Simplify show_banner() so that it does not require arguments, similar
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

ba9880c1 05/22/2008 12:55 PM Stefano Sabatini

Move show_formats() to cmdutils.c.
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13236 to svn://svn.ffmpeg.org/ffmpeg/trunk

64555bd9 05/21/2008 11:36 PM Michael Niedermayer

Do not pass program_name as argument to show_version(), this allows some
future simplifications.

Originally committed as revision 13232 to svn://svn.ffmpeg.org/ffmpeg/trunk

a0b3bcd9 05/21/2008 11:27 PM Michael Niedermayer

OPT_EXIT

Originally committed as revision 13231 to svn://svn.ffmpeg.org/ffmpeg/trunk

245976da 05/09/2008 11:56 AM Diego Biurrun

Use full path for #includes from another directory.

Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk

0b705fa4 05/08/2008 12:46 AM Ramiro Polla

Compile network-related code conditionally.

Originally committed as revision 13076 to svn://svn.ffmpeg.org/ffmpeg/trunk

18ec0460 04/03/2008 10:16 PM Luca Barbato

Error message for EPROTONOSUPPORT, patch from prossATxvidDoTorg

Originally committed as revision 12679 to svn://svn.ffmpeg.org/ffmpeg/trunk

7542157d 03/31/2008 10:01 AM Stefano Sabatini

Export parse_time_or_die from ffmpeg.c to cmdutils.c

Patch by Stefano Sabatini (stefano sabatini-lala poste it)

Originally committed as revision 12647 to svn://svn.ffmpeg.org/ffmpeg/trunk

d9526386 03/22/2008 01:06 AM Diego Biurrun

typo: occured --> occurred

Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk

63d026b1 03/15/2008 04:17 PM Diego Biurrun

cosmetics: #include config.h before all other FFmpeg headers.

Originally committed as revision 12450 to svn://svn.ffmpeg.org/ffmpeg/trunk

1f3d74d3 03/01/2008 11:59 PM Michael Niedermayer

Remove INFINITY as suggested by rich.

Originally committed as revision 12289 to svn://svn.ffmpeg.org/ffmpeg/trunk

ab4b28f0 02/27/2008 07:24 AM Vitor Sessak

Print libavfilter version if it is enabled in configure

Originally committed as revision 12259 to svn://svn.ffmpeg.org/ffmpeg/trunk

7c84b8bc 02/25/2008 02:15 PM Stefano Sabatini

Make parse_options() use parse_number_or_die().
Patch by Stefano Sabatini stefano sabatini-lala poste it

Originally committed as revision 12211 to svn://svn.ffmpeg.org/ffmpeg/trunk

086ab001 02/21/2008 12:24 PM Michael Niedermayer

parse_number_or_die()
Based on a patch by Stefano Sabatini.

Originally committed as revision 12167 to svn://svn.ffmpeg.org/ffmpeg/trunk

7ead693b 01/30/2008 08:07 AM Diego Biurrun

Do not print an (L)GPL license statement when nonfree parts have been compiled
into FFmpeg. Instead warn that the resulting binary is unredistributable.

Originally committed as revision 11666 to svn://svn.ffmpeg.org/ffmpeg/trunk

2208741a 01/10/2008 01:02 AM Michael Niedermayer

Print libavdevice version.

Originally committed as revision 11484 to svn://svn.ffmpeg.org/ffmpeg/trunk

69c12fbb 01/02/2008 09:41 AM Benoit Fouet

Update show_banner date.

Originally committed as revision 11368 to svn://svn.ffmpeg.org/ffmpeg/trunk

b6cd8593 09/29/2007 07:27 PM Ronald S. Bultje

cmdutils.c uses FFMPEG_CONFIGURATION from config.h without directly including
config.h so that compilation without HAVE_AV_CONFIG_H fails.
patch by Ronald S. Bultje, rsbultje gmail com

Originally committed as revision 10619 to svn://svn.ffmpeg.org/ffmpeg/trunk

86074ed1 09/27/2007 06:38 AM Stefano Sabatini

Implement common show version and banner.
Patch by Stefano Sabatini [stefano sabatini-lala poste it]

Originally committed as revision 10600 to svn://svn.ffmpeg.org/ffmpeg/trunk

f35917b2 08/20/2007 08:09 AM Stefano Sabatini

Implement the cmdutils.c show_license function.
patch by Stefano Sabatini: [stefano sabatini-lala /\ poste it]

Originally committed as revision 10149 to svn://svn.ffmpeg.org/ffmpeg/trunk

60a9966e 08/13/2007 11:03 PM Stefano Sabatini

Make cmdutils.c:parse_options accept as argument a function to parse
bare command line parameters.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10112 to svn://svn.ffmpeg.org/ffmpeg/trunk

24fddf48 07/19/2007 03:24 PM Panagiotis Issaris

Replace the only occurrence of AVERROR_NOENT with AVERROR.

Originally committed as revision 9761 to svn://svn.ffmpeg.org/ffmpeg/trunk

6f3e0b21 07/19/2007 03:23 PM Panagiotis Issaris

Replace all occurrences of AVERROR_IO with AVERROR.

Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk

769e10f0 07/19/2007 03:21 PM Panagiotis Issaris

Replace all occurrences of AVERROR_NOMEM with AVERROR.

Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk

0f4e8165 07/02/2007 07:43 AM Ronald S. Bultje

to be able to compile without HAVE_AV_CONFIG_H
patch by Ronald S. Bultje: [rsbultje gmail com]
original thread: [FFmpeg-devel] ffmpeg.c/cmdutils.c compilation
date: 06/23/2007 03:15 AM

Originally committed as revision 9453 to svn://svn.ffmpeg.org/ffmpeg/trunk

f7d78f36 06/24/2007 11:27 AM Måns Rullgård

replace the uses of old string functions that Reimar missed

Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk

364a9607 06/10/2007 02:34 PM Diego Biurrun

Move HAVE_AV_CONFIG_H definition to the Makefile like in the rest of FFmpeg.

Originally committed as revision 9273 to svn://svn.ffmpeg.org/ffmpeg/trunk

62dd740c 06/09/2007 08:41 AM Diego Biurrun

Remove redundant #include, avformat.h indirectly includes common.h.

Originally committed as revision 9261 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ba0c8de 05/10/2007 01:25 PM Benoit Fouet

Use url_fopen error code when opening input file
handle the AVERROR_NOENT error case in print_error

Originally committed as revision 8977 to svn://svn.ffmpeg.org/ffmpeg/trunk

946d3b12 04/13/2007 07:19 AM Patrice Bensoussan

change atoll call to equivalent strtoll to fix compilation on Mac OS X 10.2
patch by Patrice Bensoussan \ patrice dot bensoussan chez free dot fr
Original thread:
date: 04/05/2007 07:56 PM
subject: [Ffmpeg-devel] [PATCH] Fix broken compilation on Mac OS X 10.2 due to OPT_INT64 support...

ffdf9a1f 03/30/2007 09:43 AM Baptiste Coudurier

add OPT_INT64 option

Originally committed as revision 8554 to svn://svn.ffmpeg.org/ffmpeg/trunk

c367d067 03/27/2007 09:47 PM Michael Niedermayer

prevent exit missuse

Originally committed as revision 8536 to svn://svn.ffmpeg.org/ffmpeg/trunk

b0d7bc1e 11/27/2006 03:48 PM Loren Merritt

10l in r7174 caused all options to be treated as filenames.

Originally committed as revision 7177 to svn://svn.ffmpeg.org/ffmpeg/trunk

84bf226b 11/27/2006 12:37 PM Timo Lindfors

Add support for files that begin with a dash.
Patch by Timo Lindfors % lindi A kurp P hut P fi %
Original thread:
Date: Mon, 27 Nov 2006 02:00:14 +0200
Subject: [Ffmpeg-devel] ffplay confused about filenames that begin with a dash

Originally committed as revision 7174 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

fccfc475 12/12/2005 01:51 AM Måns Rullgård

fix const warning

Originally committed as revision 4739 to svn://svn.ffmpeg.org/ffmpeg/trunk

8bbf6db9 09/11/2005 11:10 AM Michael Niedermayer

AVOption API improvments
support AVOptions for encoding in ffmpeg.c

Originally committed as revision 4580 to svn://svn.ffmpeg.org/ffmpeg/trunk

45ce5ddb 01/20/2005 03:31 PM Kostya Shishkov

handle AVERROR_IO and AVERROR_NOMEM patch by (Kostya <cannonball bw-team com>)

Originally committed as revision 3853 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ecca7a4 01/12/2005 12:16 AM Michael Niedermayer

various security fixes and precautionary checks

Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk

1f631450 10/16/2004 08:30 PM Michael Niedermayer

OPT_FLOAT

Originally committed as revision 3601 to svn://svn.ffmpeg.org/ffmpeg/trunk

26d4f26b 04/30/2004 01:41 PM Michael Niedermayer

OPT_INT

Originally committed as revision 3092 to svn://svn.ffmpeg.org/ffmpeg/trunk

d705e4a6 02/22/2004 12:31 AM Michael Niedermayer

(f)printf() is disallowed in libavcodec, compilation will fail now if its used, except that codecs which where added after the printf->av_log change which did ignore av_log() and used prinf are now silent and wont print anything, they should be changed to use av_log, i could do that, but its better if the orginal developer decides which AV_LOG level each message should get...

02d504a7 08/24/2003 03:29 PM Fabrice Bellard

more sections in help - copyright fixes

Originally committed as revision 2143 to svn://svn.ffmpeg.org/ffmpeg/trunk

01310af2 06/07/2003 06:34 PM Fabrice Bellard

added ffplay utility

Originally committed as revision 1936 to svn://svn.ffmpeg.org/ffmpeg/trunk