Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
18bff752
Commit
18bff752
authored
21 years ago
by
Fabrice Bellard
Browse files
Options
Downloads
Patches
Plain Diff
added all options
Originally committed as revision 2142 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b030b284
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/ffmpeg-doc.texi
+275
-43
275 additions, 43 deletions
doc/ffmpeg-doc.texi
with
275 additions
and
43 deletions
doc/ffmpeg-doc.texi
+
275
−
43
View file @
18bff752
...
@@ -153,12 +153,16 @@ specified for the inputs.
...
@@ -153,12 +153,16 @@ specified for the inputs.
@table @option
@table @option
@item -L
@item -L
show license
show license
@item -h
@item -h
show help
show help
@item -formats
@item -formats
show available formats, codecs, protocols, ...
show available formats, codecs, protocols, ...
@item -f fmt
@item -f fmt
force format
force format
@item -i filename
@item -i filename
input file name
input file name
...
@@ -181,22 +185,55 @@ set the copyright
...
@@ -181,22 +185,55 @@ set the copyright
@item -comment string
@item -comment string
set the comment
set the comment
@item -hq
activate high quality settings
@end table
@end table
@section Video Options
@section Video Options
@table @option
@table @option
@item -s size
set frame size [160x128]
@item -r fps
set frame rate [25]
@item -b bitrate
@item -b bitrate
set the video bitrate in kbit/s [200]
set the video bitrate in kbit/s (default = 200 kb/s)
@item -r fps
set frame rate (default = 25)
@item -s size
set frame size. The format is @samp
{
WxH
}
. (default 160x128)
The following abbreviations are regognized:
@table @sampe
@item sqcif
128x96
@item qcif
176x144
@item cif
352x288
@item 4cif
704x576
@end table
@item -aspect aspect
set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)
@item -croptop size
set top crop band size (in pixels)
@item -cropbottom size
set bottom crop band size (in pixels)
@item -cropleft size
set left crop band size (in pixels)
@item -cropright size
set right crop band size (in pixels)
@item -vn
@item -vn
disable video recording
[no]
disable video recording
@item -bt tolerance
@item -bt tolerance
set video bitrate tolerance (in kbit/s)
set video bitrate tolerance (in kbit/s)
@item -sameq
@item -maxrate bitrate
set max video bitrate tolerance (in kbit/s)
@item -minrate bitrate
set min video bitrate tolerance (in kbit/s)
@item -bufsize size
set ratecontrol buffere size (in kbit)
@item -vcodec codec
force video codec
@item -sameq
use same video quality as source (implies VBR)
use same video quality as source (implies VBR)
@item -pass n
@item -pass n
...
@@ -207,26 +244,9 @@ select two pass log file name
...
@@ -207,26 +244,9 @@ select two pass log file name
@end table
@end table
@section Audio Options
@section Advanced Video Options
@table @option
@item -ab bitrate
set audio bitrate (in kbit/s)
@item -ar freq
set the audio sampling freq [44100]
@item -ab bitrate
set the audio bitrate in kbit/s [64]
@item -ac channels
set the number of audio channels [1]
@item -an
disable audio recording [no]
@end table
@section Advanced options
@table @option
@table @option
@item -map file:stream
set input stream mapping
@item -g gop
_
size
@item -g gop
_
size
set the group of picture size
set the group of picture size
@item -intra
@item -intra
...
@@ -243,33 +263,245 @@ max difference between the quantiser scale (VBR)
...
@@ -243,33 +263,245 @@ max difference between the quantiser scale (VBR)
video quantiser scale blur (VBR)
video quantiser scale blur (VBR)
@item -qcomp compression
@item -qcomp compression
video quantiser scale compression (VBR)
video quantiser scale compression (VBR)
@item -vd device
set video device
@item -rc
_
init
_
cplx complexity
@item -vcodec codec
initial complexity for 1-pass encoding
force video codec
@item -b
_
qfactor factor
@item -me method
qp factor between p and b frames
set motion estimation method
@item -i
_
qfactor factor
@item -bf frames
qp factor between p and i frames
@item -b
_
qoffset offset
qp offset between p and b frames
@item -i
_
qoffset offset
qp offset between p and i frames
@item -rc
_
eq equation
set rate control equation (@pxref
{
FFmpeg formula evaluator
}
)
@item -rc
_
override override
_
string
rate control override for specific internals
@item -me method
set motion estimation method. Available methods are (from lower to best quality):
@table @samp
@item zero
Try just (0, 0) vector.
@item phods
@item log
@item x1
@item epzs
(default method)
@item full
exhaustive search (slow and marginally better than epzs)
@end table
@item -dct
_
algo algo
set dct algo
@table @samp
@item 0
FF
_
DCT
_
AUTO (default)
@item 1
FF
_
DCT
_
FASTINT
@item 2
FF
_
DCT
_
INT
@item 3
FF
_
DCT
_
MMX
@item 4
FF
_
DCT
_
MLIB
@item 5
FF
_
DCT
_
ALTIVEC
@end table
@item -idct
_
algo algo
set idct algo
@table @samp
@item 0
FF
_
IDCT
_
AUTO (default)
@item 1
FF
_
IDCT
_
INT
@item 2
FF
_
IDCT
_
SIMPLE
@item 3
FF
_
IDCT
_
SIMPLEMMX
@item 4
FF
_
IDCT
_
LIBMPEG2MMX
@item 5
FF
_
IDCT
_
PS2
@item 6
FF
_
IDCT
_
MLIB
@item 7
FF
_
IDCT
_
ARM
@item 8
FF
_
IDCT
_
ALTIVEC
@item 9
FF
_
IDCT
_
SH4
@item 10
FF
_
IDCT
_
SIMPLEARM
@end table
@item -er n
set error resilience to 'n'
@table @samp
@item 1
FF
_
ER
_
CAREFULL
@item 2
FF
_
ER
_
COMPLIANT (default)
@item 3
FF
_
ER
_
AGGRESSIVE
@item 4
FF
_
ER
_
VERY
_
AGGRESSIVE
@end table
@item -ec n
set error concealment to n
@table @samp
@item 1
FF
_
EC
_
GUESS
_
MVS
@item 2
FF
_
EC
_
DEBLOCK
@end table
@item -bf frames
use 'frames' B frames (only MPEG-4)
use 'frames' B frames (only MPEG-4)
@item -hq
@item -mbd mode
activate high quality settings
macroblock decision
@item -4mv
@table @samp
@item 0
FF
_
MB
_
DECISION
_
SIMPLE: use mb
_
cmp (cannot change it yet in ffmpeg)
@item 1
FF
_
MB
_
DECISION
_
BITS: chooses the one which needs the fewest bits
@item 2
FF
_
MB
_
DECISION
_
RD: rate distoration
@end table
@item -4mv
use four motion vector by macroblock (only MPEG-4)
use four motion vector by macroblock (only MPEG-4)
@item -ad device
@item -part
set audio device
use data partitioning (only MPEG-4)
@item -bug param
workaround not auto detected encoder bugs
@item -strict strictness
how strictly to follow the standarts
@item -deinterlace
deinterlace pictures
@item -psnr
calculate PSNR of compressed frames
@item -vstats
dump video coding statistics to file
@item -vhook module
insert video processing @var
{
module
}
. @var
{
module
}
contains the module
name and its parameters separated by spaces.
@item -aic
enable Advanced intra coding (h263+)
@item -umv
enable Unlimited Motion Vector (h263+)
@end table
@section Audio Options
@table @option
@item -ab bitrate
set audio bitrate (in kbit/s)
@item -ar freq
set the audio sampling freq (default = 44100 Hz)
@item -ab bitrate
set the audio bitrate in kbit/s (default = 64)
@item -ac channels
set the number of audio channels (default = 1)
@item -an
disable audio recording
@item -acodec codec
@item -acodec codec
force audio codec
force audio codec
@item -deinterlace
@end table
deinterlace pictures
@section Audio/Video grab options
@table @option
@item -vd device
set video grab device (e.g. @file
{
/dev/video0
}
)
@item -vc channel
set video grab channel (DV1394 only)
@item -tvstd standard
set television standard (NTSC, PAL (SECAM))
@item -dv1394
set DV1394 grab
@item -ad device
set audio device (e.g. @file
{
/dev/dsp
}
)
@end table
@section Advanced options
@table @option
@item -map file:stream
set input stream mapping
@item -debug
print specific debug info
@item -benchmark
@item -benchmark
add timings for benchmarking
add timings for benchmarking
@item -hex
@item -hex
dump each input packet
dump each input packet
@item -
psnr
@item -
bitexact
calculate PSNR of compressed frames
only use bit exact algorithms (for codec testing)
@item -
vstats
@item -
ps size
dump video coding statistics to file
set packet size in bits
@end table
@end table
@node FFmpeg formula evaluator
@section FFmpeg formula evaluator
When evaluating a rate control string, FFmpeg uses an internal formula
evaluator.
The following binary operators are available: @code
{
+
}
, @code
{
-
}
,
@code
{
*
}
, @code
{
/
}
, @code
{^}
.
The following unary operators are available: @code
{
+
}
, @code
{
-
}
,
@code
{
(...)
}
.
The following functions are available:
@table @var
@item sinh(x)
@item cosh(x)
@item tanh(x)
@item sin(x)
@item cos(x)
@item tan(x)
@item exp(x)
@item log(x)
@item squish(x)
@item gauss(x)
@item abs(x)
@item max(x, y)
@item min(x, y)
@item gt(x, y)
@item lt(x, y)
@item eq(x, y)
@item bits2qp(bits)
@item qp2bits(qp)
@end table
The following constants are available:
@table @var
@item PI
@item E
@item iTex
@item pTex
@item tex
@item mv
@item fCode
@item iCount
@item mcVar
@item var
@item isI
@item isP
@item isB
@item avgQP
@item qComp
@item avgIITex
@item avgPITex
@item avgPPTex
@item avgBPTex
@item avgTex
@end table
@c man end
@c man end
@ignore
@ignore
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment