Reimar Döffinger
a5c33faacc
Add init and uninit functions to cmdutils, reduces code duplication
...
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
2010-10-02 08:44:33 +00:00
Michael Niedermayer
0093ebc20a
User application side of Codec specific parameters.
...
Originally committed as revision 25266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-29 23:06:51 +00:00
Stefano Sabatini
f03f30d77a
Make new doxy follows the agreed upon style and grammatical
...
conventions, for consistency with the rest of the documentation.
Originally committed as revision 25246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-28 14:49:55 +00:00
Alexander Strange
7a8bfa5d67
Extract timestamp correction code from ffplay.c to cmdutils.c
...
Originally committed as revision 25241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-28 02:05:12 +00:00
Stefano Sabatini
1790d3b330
Move log_callback_help to cmdutils.[hc], for allowing sharing.
...
Originally committed as revision 25149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-20 21:48:03 +00:00
Diego Biurrun
0baf34d844
Remove angular brackets from Doxygen comments; Doxygen confuses them for HTML.
...
Originally committed as revision 23991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 12:48:32 +00:00
Måns Rullgård
48966b02cb
Grammar fixes
...
Originally committed as revision 23961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 00:03:48 +00:00
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 15:38:06 +00:00
Stefano Sabatini
8d787f8e52
Document cmdutils.c:print_error().
...
Originally committed as revision 23051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 12:42:26 +00:00
Stefano Sabatini
458b062d61
Implement cmdutils.c:read_file(), and use it in ffmpeg.c for reading
...
the second pass encoding log file.
Originally committed as revision 22769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-01 22:34:22 +00:00
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-30 23:30:55 +00:00
Måns Rullgård
ffcc6e24f5
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
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
2010-01-20 06:42:39 +00:00
Stefano Sabatini
3f7bb42607
Implement a -pix_fmts option for listing all the supported pixel
...
formats.
Originally committed as revision 20909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-21 21:53:03 +00:00
Stefano Sabatini
c5dc602600
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
2009-12-12 17:45:20 +00:00
Stefano Sabatini
62d7566239
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
2009-12-12 16:18:11 +00:00
Michael Niedermayer
8447f0bd74
Split show_formats().
...
Originally committed as revision 20553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-19 16:35:55 +00:00
Stefano Sabatini
4c97a6fafa
Move opt_loglevel() from ffmpeg.c to cmdutils.c.
...
Originally committed as revision 19209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-16 23:09:03 +00:00
Stefano Sabatini
bf7e799c9e
Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should
...
improve plain text doxy readability.
See the thread: "[RFC] Should we use doxygen markup?".
Originally committed as revision 19122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-06 09:35:15 +00:00
Stefano Sabatini
090b61b2d1
Implement read_yesno().
...
Originally committed as revision 18037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-18 21:35:49 +00:00
Stefano Sabatini
636f1c4cd0
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
2009-03-03 23:32:10 +00:00
Stefano Sabatini
b7438896b3
Fix typo: explixitly -> explicitly.
...
Originally committed as revision 17444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 00:14:41 +00:00
Stefano Sabatini
ef4c0bb1dc
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
2009-01-18 21:40:26 +00:00
Diego Biurrun
95137bbbb4
Fix 'make checkheaders', based on a patch by Diego Pettenò, flameeyes gmail com.
...
Originally committed as revision 15552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 11:20:02 +00:00
Michael Niedermayer
85663ef302
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
2008-09-28 19:35:22 +00:00
Stefano Sabatini
ea9c581f61
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
2008-05-29 08:48:51 +00:00
Stefano Sabatini
41a0df9b81
Update documentation of show_version() to account for latest changes.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 09:59:00 +00:00
Stefano Sabatini
ba9880c13a
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
2008-05-22 12:55:35 +00:00
Michael Niedermayer
64555bd9b1
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
2008-05-21 23:36:32 +00:00
Michael Niedermayer
a0b3bcd9fe
OPT_EXIT
...
Originally committed as revision 13231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 23:27:50 +00:00
Stefano Sabatini
748061de2f
Typo
...
Patch by Stefano Sabatini stefano sabatini-lala poste it
Originally committed as revision 12877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 07:32:38 +00:00
Stefano Sabatini
7542157d8a
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
2008-03-31 10:01:06 +00:00
Diego Biurrun
15067504c8
Improve wording/grammar of Doxygen comments.
...
Originally committed as revision 12215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 15:36:10 +00:00
Stefano Sabatini
60b5a745a9
Export and document in cmdutils.h the function parse_number_or_die().
...
Patch by Stefano Sabatini: stefano sabatini-lala poste it
Originally committed as revision 12210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 14:05:52 +00:00
Diego Biurrun
f0a838e525
Add missing #includes to fix 'make checkheaders'.
...
Originally committed as revision 11087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-24 10:08:02 +00:00
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:37:46 +00:00
Diego Biurrun
ca34b9e615
Use filename as multiple inclusion guard.
...
Originally committed as revision 10762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:26:21 +00:00
Stefano Sabatini
86074ed1b7
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
2007-09-27 06:38:40 +00:00
Diego Biurrun
57b499c7da
Identifiers starting with underscores are reserved.
...
Originally committed as revision 10179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 12:41:16 +00:00
Stefano Sabatini
f35917b2f3
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
2007-08-20 08:09:51 +00:00
Stefano Sabatini
60a9966e4d
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
2007-08-13 23:03:36 +00:00
Baptiste Coudurier
ffdf9a1f2d
add OPT_INT64 option
...
Originally committed as revision 8554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 09:43:39 +00:00
Diego Biurrun
f5a90186d7
Add missing license headers.
...
Originally committed as revision 8149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 16:05:19 +00:00
Michael Niedermayer
8bbf6db98b
AVOption API improvments
...
support AVOptions for encoding in ffmpeg.c
Originally committed as revision 4580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 11:10:25 +00:00
Fabrice Bellard
ae27975dfe
subtitle option
...
Originally committed as revision 4350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 14:07:47 +00:00
Michael Niedermayer
394c4d77d2
1000l (copy & paste)
...
Originally committed as revision 3603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-16 23:44:16 +00:00
Michael Niedermayer
1f631450fd
OPT_FLOAT
...
Originally committed as revision 3601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-16 20:30:14 +00:00
Michael Niedermayer
26d4f26bb7
OPT_INT
...
Originally committed as revision 3092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 13:41:48 +00:00
Fabrice Bellard
02d504a7d3
more sections in help - copyright fixes
...
Originally committed as revision 2143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 15:29:48 +00:00
Fabrice Bellard
01310af292
added ffplay utility
...
Originally committed as revision 1936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-07 18:34:02 +00:00