Commit 4386f941 authored by Diego Biurrun's avatar Diego Biurrun

Sync documentation with the current ffmpeg -h output.

patch from Víctor Paesa, wzrlpy arsystel com

Originally committed as revision 6997 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7b7abda3
...@@ -158,6 +158,9 @@ Show license. ...@@ -158,6 +158,9 @@ Show license.
@item -h @item -h
Show help. Show help.
@item -version
Show version.
@item -formats @item -formats
Show available formats, codecs, protocols, ... Show available formats, codecs, protocols, ...
...@@ -174,13 +177,27 @@ Overwrite output files. ...@@ -174,13 +177,27 @@ Overwrite output files.
Set the recording time in seconds. Set the recording time in seconds.
@code{hh:mm:ss[.xxx]} syntax is also supported. @code{hh:mm:ss[.xxx]} syntax is also supported.
@item -fs limit_size
Set the file size limit.
@item -ss position @item -ss position
Seek to given time position in seconds. Seek to given time position in seconds.
@code{hh:mm:ss[.xxx]} syntax is also supported. @code{hh:mm:ss[.xxx]} syntax is also supported.
@item -itsoffset offset
Set the input time offset in seconds.
@code{[-]hh:mm:ss[.xxx]} syntax is also supported.
This option affects all the input files that follow it.
The offset is added to the timestamps of the input files.
Specifying a positive offset means that the corresponding
streams are delayed by 'offset' seconds.
@item -title string @item -title string
Set the title. Set the title.
@item -timestamp time
Set the timestamp.
@item -author string @item -author string
Set the author. Set the author.
...@@ -190,14 +207,20 @@ Set the copyright. ...@@ -190,14 +207,20 @@ Set the copyright.
@item -comment string @item -comment string
Set the comment. Set the comment.
@item -album string
Set the album.
@item -track number @item -track number
Set the track. Set the track.
@item -year number @item -year number
Set the year. Set the year.
@item -v verbose
Control amount of logging.
@item -target type @item -target type
Specify target file type ("vcd", "svcd", "dvd", "dv", "pal-vcd", Specify target file type ("vcd", "svcd", "dvd", "dv", "dv50", "pal-vcd",
"ntsc-svcd", ... ). All the format options (bitrate, codecs, "ntsc-svcd", ... ). All the format options (bitrate, codecs,
buffer sizes) are then set automatically. You can just type: buffer sizes) are then set automatically. You can just type:
...@@ -212,13 +235,17 @@ they do not conflict with the standard, as in: ...@@ -212,13 +235,17 @@ they do not conflict with the standard, as in:
ffmpeg -i myfile.avi -target vcd -bf 2 /tmp/vcd.mpg ffmpeg -i myfile.avi -target vcd -bf 2 /tmp/vcd.mpg
@end example @end example
@item -itsoffset offset @item -dframes number
Set the input time offset in seconds. Set the number of data frames to record.
@code{[-]hh:mm:ss[.xxx]} syntax is also supported.
This option affects all the input files that follow it. @item -scodec codec
The offset is added to the timestamps of the input files. Force subtitle codec ('copy' to copy stream).
Specifying a positive offset means that the corresponding
streams are delayed by 'offset' seconds. @item -newsubtitle
Add a new subtitle stream to the current output stream.
@item -slang code
Set the ISO 639 language code (3 letters) of the current subtitle stream.
@end table @end table
...@@ -227,8 +254,10 @@ streams are delayed by 'offset' seconds. ...@@ -227,8 +254,10 @@ streams are delayed by 'offset' seconds.
@table @option @table @option
@item -b bitrate @item -b bitrate
Set the video bitrate in bit/s (default = 200 kb/s). Set the video bitrate in bit/s (default = 200 kb/s).
@item -vframes number
Set the number of video frames to record.
@item -r fps @item -r fps
Set frame rate (default = 25). Set frame rate (Hz value, fraction or abbreviation), (default = 25).
@item -s size @item -s size
Set frame size. The format is @samp{wxh} (default = 160x128). Set frame size. The format is @samp{wxh} (default = 160x128).
The following abbreviations are recognized: The following abbreviations are recognized:
...@@ -291,15 +320,22 @@ in the second pass. ...@@ -291,15 +320,22 @@ in the second pass.
@item -passlogfile file @item -passlogfile file
Set two pass logfile name to @var{file}. Set two pass logfile name to @var{file}.
@item -newvideo
Add a new video stream to the current output stream.
@end table @end table
@section Advanced Video Options @section Advanced Video Options
@table @option @table @option
@item -pix_fmt format
Set pixel format.
@item -g gop_size @item -g gop_size
Set the group of pictures size. Set the group of pictures size.
@item -intra @item -intra
Use only intra frames. Use only intra frames.
@item -vdt n
Discard threshold.
@item -qscale q @item -qscale q
Use fixed video quantizer scale (VBR). Use fixed video quantizer scale (VBR).
@item -qmin q @item -qmin q
...@@ -466,11 +502,23 @@ Dump video coding statistics to @file{vstats_HHMMSS.log}. ...@@ -466,11 +502,23 @@ Dump video coding statistics to @file{vstats_HHMMSS.log}.
@item -vhook module @item -vhook module
Insert video processing @var{module}. @var{module} contains the module Insert video processing @var{module}. @var{module} contains the module
name and its parameters separated by spaces. name and its parameters separated by spaces.
@item -top n
top=1/bottom=0/auto=-1 field first
@item -dc precision
Intra_dc_precision.
@item -vtag fourcc/tag
Force video tag/fourcc.
@item -qphist
Show QP histogram.
@item -vbsf bitstream filter
Bitstream filters available are "dump_extra", "remove_extra", "noise".
@end table @end table
@section Audio Options @section Audio Options
@table @option @table @option
@item -aframes number
Set the number of audio frames to record.
@item -ar freq @item -ar freq
Set the audio sampling frequency (default = 44100 Hz). Set the audio sampling frequency (default = 44100 Hz).
@item -ab bitrate @item -ab bitrate
...@@ -494,6 +542,28 @@ Example: ...@@ -494,6 +542,28 @@ Example:
@example @example
ffmpeg -i file.mpg -vcodec copy -acodec ac3 -ab 384 test.mpg -acodec mp2 -ab 192 -newaudio ffmpeg -i file.mpg -vcodec copy -acodec ac3 -ab 384 test.mpg -acodec mp2 -ab 192 -newaudio
@end example @end example
@item -alang code
Set the ISO 639 language code (3 letters) of the current audio stream.
@end table
@section Advanced Audio options:
@table @option
@item -atag fourcc/tag
Force audio tag/fourcc.
@item -absf bitstream filter
Bitstream filters available are "dump_extra", "remove_extra", "noise", "mp3comp", "mp3decomp".
@end table
@section Subtitle options:
@table @option
@item -scodec codec
Force subtitle codec ('copy' to copy stream).
@item -newsubtitle
Add a new subtitle stream to the current output stream.
@item -slang code
Set the ISO 639 language code (3 letters) of the current subtitle stream.
@end table @end table
@section Audio/Video grab options @section Audio/Video grab options
...@@ -509,6 +579,10 @@ Set television standard (NTSC, PAL (SECAM)). ...@@ -509,6 +579,10 @@ Set television standard (NTSC, PAL (SECAM)).
Set DV1394 grab. Set DV1394 grab.
@item -ad device @item -ad device
Set audio device (e.g. @file{/dev/dsp}). Set audio device (e.g. @file{/dev/dsp}).
@item -grab format
Request grabbing using.
@item -gd device
Set grab device.
@end table @end table
@section Advanced options @section Advanced options
...@@ -518,24 +592,30 @@ Set audio device (e.g. @file{/dev/dsp}). ...@@ -518,24 +592,30 @@ Set audio device (e.g. @file{/dev/dsp}).
Set stream mapping from input streams to output streams. Set stream mapping from input streams to output streams.
Just enumerate the input streams in the order you want them in the output. Just enumerate the input streams in the order you want them in the output.
[input stream id] sets the (input) stream to sync against. [input stream id] sets the (input) stream to sync against.
@item -map_meta_data outfile:infile
Set meta data information of outfile from infile.
@item -debug @item -debug
Print specific debug info. Print specific debug info.
@item -benchmark @item -benchmark
Add timings for benchmarking. Add timings for benchmarking.
@item -hex @item -dump
Dump each input packet. Dump each input packet.
@item -hex
When dumping packets, also dump the payload.
@item -bitexact @item -bitexact
Only use bit exact algorithms (for codec testing). Only use bit exact algorithms (for codec testing).
@item -ps size @item -ps size
Set packet size in bits. Set packet size in bits.
@item -re @item -re
Read input at native frame rate. Mainly used to simulate a grab device. Read input at native frame rate. Mainly used to simulate a grab device.
@item -loop @item -loop_input
Loop over the input stream. Currently it works only for image Loop over the input stream. Currently it works only for image
streams. This option is used for automatic FFserver testing. streams. This option is used for automatic FFserver testing.
@item -loop_output number_of_times @item -loop_output number_of_times
Repeatedly loop output for formats that support looping such as animated GIF Repeatedly loop output for formats that support looping such as animated GIF
(0 will loop the output infinitely). (0 will loop the output infinitely).
@item -threads count
Thread count.
@item -vsync parameter @item -vsync parameter
Video sync method. Video will be stretched/squeezed to match the timestamps, Video sync method. Video will be stretched/squeezed to match the timestamps,
it is done by duplicating and dropping frames. With -map you can select from it is done by duplicating and dropping frames. With -map you can select from
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment