Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
18bff752
Commit
18bff752
authored
Aug 24, 2003
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added all options
Originally committed as revision 2142 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b030b284
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
275 additions
and
43 deletions
+275
-43
ffmpeg-doc.texi
doc/ffmpeg-doc.texi
+275
-43
No files found.
doc/ffmpeg-doc.texi
View file @
18bff752
...
...
@@ -153,12 +153,16 @@ specified for the inputs.
@table @option
@item -L
show license
@item -h
show help
@item -formats
show available formats, codecs, protocols, ...
@item -f fmt
force format
@item -i filename
input file name
...
...
@@ -181,22 +185,55 @@ set the copyright
@item -comment string
set the comment
@item -hq
activate high quality settings
@end table
@section Video Options
@table @option
@item -s size
set frame size [160x128]
@item -r fps
set frame rate [25]
@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
disable video recording
[no]
disable video recording
@item -bt tolerance
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)
@item -pass n
...
...
@@ -207,26 +244,9 @@ select two pass log file name
@end table
@section Audio 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
@section Advanced Video Options
@table @option
@item -map file:stream
set input stream mapping
@item -g gop
_
size
set the group of picture size
@item -intra
...
...
@@ -243,33 +263,245 @@ max difference between the quantiser scale (VBR)
video quantiser scale blur (VBR)
@item -qcomp compression
video quantiser scale compression (VBR)
@item -vd device
set video device
@item -vcodec codec
force video codec
@item -me method
set motion estimation method
@item -bf frames
@item -rc
_
init
_
cplx complexity
initial complexity for 1-pass encoding
@item -b
_
qfactor factor
qp factor between p and b frames
@item -i
_
qfactor factor
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)
@item -hq
activate high quality settings
@item -4mv
@item -mbd mode
macroblock decision
@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)
@item -ad device
set audio device
@item -part
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
force audio codec
@item -deinterlace
deinterlace pictures
@end table
@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
add timings for benchmarking
@item -hex
dump each input packet
@item -
psnr
calculate PSNR of compressed frames
@item -
vstats
dump video coding statistics to file
@item -
bitexact
only use bit exact algorithms (for codec testing)
@item -
ps size
set packet size in bits
@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
@ignore
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment