Sei sulla pagina 1di 266

ffmpegcommandoptions(full).

txt
HyperfastAudioandVideoencoder
usage:ffmpeg[options][[infileoptions]iinfile]...{[outfileoptions]
outfile}...
Gettinghelp:
hprintbasicoptions
hlongprintmoreoptions
hfullprintalloptions(includingallformatandcodecspecificoptions,
verylong)
htype=nameprintalloptionsforthenamed
decoder/encoder/demuxer/muxer/filter
Seemanffmpegfordetaileddescriptionoftheoptions.
Printhelp/information/capabilities:
Lshowlicense
htopicshowhelp
?topicshowhelp
helptopicshowhelp
helptopicshowhelp
versionshowversion
buildconfshowbuildconfiguration
formatsshowavailableformats
devicesshowavailabledevices
codecsshowavailablecodecs
decodersshowavailabledecoders
encodersshowavailableencoders
bsfsshowavailablebitstreamfilters
protocolsshowavailableprotocols
filtersshowavailablefilters
pix_fmtsshowavailablepixelformats
layoutsshowstandardchannellayouts
sample_fmtsshowavailableaudiosampleformats
colorsshowavailablecolornames
sourcesdevicelistsourcesoftheinputdevice
sinksdevicelistsinksoftheoutputdevice
hwaccelsshowavailableHWaccelerationmethods
Globaloptions(affectwholeprograminsteadofjustonefile:
loglevelloglevelsetlogginglevel
vloglevelsetlogginglevel
reportgenerateareport
max_allocbytessetmaximumsizeofasingleallocatedblock
yoverwriteoutputfiles
nneveroverwriteoutputfiles
ignore_unknownIgnoreunknownstreamtypes
statsprintprogressreportduringencoding
max_error_rateratiooferrors(0.0:noerrors,1.0:100%errormaximumerror
rate
Page1

ffmpegcommandoptions(full).txt
bits_per_raw_samplenumbersetthenumberofbitsperrawsample
volvolumechangeaudiovolume(256=normal)
Advancedglobaloptions:
cpuflagsflagsforcespecificcpuflags
hide_bannerhide_bannerdonotshowprogrambanner
copy_unknownCopyunknownstreamtypes
benchmarkaddtimingsforbenchmarking
benchmark_alladdtimingsforeachtask
progressurlwriteprogramreadableprogressinformation
stdinenableordisableinteractiononstandardinput
timelimitlimitsetmaxruntimeinseconds
dumpdumpeachinputpacket
hexwhendumpingpackets,alsodumpthepayload
vsyncvideosyncmethod
frame_drop_thresholdframedropthreshold
asyncaudiosyncmethod
adrift_thresholdthresholdaudiodriftthreshold
copytscopytimestamps
start_at_zeroshiftinputtimestampstostartat0whenusingcopyts
copytbmodecopyinputstreamtimebasewhenstreamcopying
dts_delta_thresholdthresholdtimestampdiscontinuitydeltathreshold
dts_error_thresholdthresholdtimestamperrordeltathreshold
xerrorerrorexitonerror
abort_onflagsabortonthespecifiedconditionflags
filter_complexgraph_descriptioncreateacomplexfiltergraph
lavfigraph_descriptioncreateacomplexfiltergraph
filter_complex_scriptfilenamereadcomplexfiltergraphdescriptionfromafile
debug_tsprinttimestampdebugginginfo
intradeprecateduseg1
sameqRemoved
same_quantRemoved
deinterlacethisoptionisdeprecated,usetheyadiffilterinstead
psnrcalculatePSNRofcompressedframes
vstatsdumpvideocodingstatisticstofile
vstats_filefiledumpvideocodingstatisticstofile
qphistshowQPhistogram
hwaccel_lax_profile_checkattempttodecodeanywayifHWaccelerateddecoder's
supportedprofilesdonotexactlymatchthestream
vcchanneldeprecated,usechannel
tvstdstandarddeprecated,usestandard
isyncthisoptionisdeprecatedanddoesnothing
override_ffserveroverridetheoptionsfromffserver
sdp_filefilespecifyafileinwhichtoprintsdpinformation
Perfilemainoptions:
ffmtforceformat
ccodeccodecname
Page2

ffmpegcommandoptions(full).txt
codeccodeccodecname
prepresetpresetname
map_metadataoutfile[,metadata]:infile[,metadata]setmetadatainformationof
outfilefrominfile
tdurationrecordortranscode"duration"secondsofaudio/video
totime_stoprecordortranscodestoptime
fslimit_sizesetthelimitfilesizeinbytes
sstime_offsetthestarttimeoffset
sseoftime_offsetthestarttimeoffsetrelativetoEOF
seek_timestampenable/disableseekingbytimestampwithss
timestamptimesettherecordingtimestamp('now'tosetthecurrenttime)
metadatastring=stringaddmetadata
programtitle=string:st=number...addprogramwithspecifiedstreams
targettypespecifytargetfiletype("vcd","svcd","dvd","dv"or"dv50"
withoptionalprefixes"pal","ntsc"or"film")
apadaudiopad
framesnumbersetthenumberofframestooutput
filterfilter_graphsetstreamfiltergraph
filter_scriptfilenamereadstreamfiltergraphdescriptionfromafile
reinit_filterreinitfiltergraphoninputparameterchanges
discarddiscard
dispositiondisposition
Advancedperfileoptions:
map[]input_file_id[:stream_specifier][,sync_file_id[:stream_ssetinputstream
mapping
map_channelfile.stream.channel[:syncfile.syncstream]mapanaudiochannelfrom
onestreamtoanother
map_chaptersinput_file_indexsetchaptersmapping
accurate_seekenable/disableaccurateseekingwithss
itsoffsettime_offsettheinputtsoffset
itsscalescalesettheinputtsscale
dframesnumbersetthenumberofdataframestooutput
rereadinputatnativeframerate
shortestfinishencodingwithinshortestinput
copyinkfcopyinitialnonkeyframes
copypriorsscopyordiscardframesbeforestarttime
tagfourcc/tagforcecodectag/fourcc
qqusefixedqualityscale(VBR)
qscalequsefixedqualityscale(VBR)
profileprofilesetprofile
attachfilenameaddanattachmenttotheoutputfile
dump_attachmentfilenameextractanattachmentintoafile
stream_looploopcountsetnumberoftimesinputstreamshallbelooped
thread_queue_sizesetthemaximumnumberofqueuedpacketsfromthedemuxer
autorotateautomaticallyinsertcorrectrotatefilters
muxdelaysecondssetthemaximumdemuxdecodedelay
muxpreloadsecondssettheinitialdemuxdecodedelay
Page3

ffmpegcommandoptions(full).txt
bsfbitstream_filtersAcommaseparatedlistofbitstreamfilters
fprefilenamesetoptionsfromindicatedpresetfile
dcodeccodecforcedatacodec('copy'tocopystream)
Videooptions:
vframesnumbersetthenumberofvideoframestooutput
rratesetframerate(Hzvalue,fractionorabbreviation)
ssizesetframesize(WxHorabbreviation)
aspectaspectsetaspectratio(4:3,16:9or1.3333,1.7777)
bits_per_raw_samplenumbersetthenumberofbitsperrawsample
vndisablevideo
vcodeccodecforcevideocodec('copy'tocopystream)
timecodehh:mm:ss[:;.]ffsetinitialTimeCodevalue.
passnselectthepassnumber(1to3)
vffilter_graphsetvideofilters
abbitrateaudiobitrate(pleaseuseb:a)
bbitratevideobitrate(pleaseuseb:v)
dndisabledata
AdvancedVideooptions:
pix_fmtformatsetpixelformat
intradeprecateduseg1
rc_overrideoverrideratecontroloverrideforspecificintervals
sameqRemoved
same_quantRemoved
passlogfileprefixselecttwopasslogfilenameprefix
deinterlacethisoptionisdeprecated,usetheyadiffilterinstead
psnrcalculatePSNRofcompressedframes
vstatsdumpvideocodingstatisticstofile
vstats_filefiledumpvideocodingstatisticstofile
intra_matrixmatrixspecifyintramatrixcoeffs
inter_matrixmatrixspecifyintermatrixcoeffs
chroma_intra_matrixmatrixspecifyintramatrixcoeffs
toptop=1/bottom=0/auto=1fieldfirst
vtagfourcc/tagforcevideotag/fourcc
qphistshowQPhistogram
force_fpsforcetheselectedframerate,disablethebestsupported
framerateselection
streamidstreamIndex:valuesetthevalueofanoutfilestreamid
force_key_framestimestampsforcekeyframesatspecifiedtimestamps
hwaccelhwaccelnameuseHWaccelerateddecoding
hwaccel_devicedevicenameselectadeviceforHWacceleration
hwaccel_output_formatformatselectoutputformatusedwithHWaccelerated
decoding
vcchanneldeprecated,usechannel
tvstdstandarddeprecated,usestandard
vbsfvideobitstream_filtersdeprecated
vprepresetsetthevideooptionstotheindicatedpreset
Page4

ffmpegcommandoptions(full).txt
Audiooptions:
aframesnumbersetthenumberofaudioframestooutput
aqqualitysetaudioquality(codecspecific)
arratesetaudiosamplingrate(inHz)
acchannelssetnumberofaudiochannels
andisableaudio
acodeccodecforceaudiocodec('copy'tocopystream)
volvolumechangeaudiovolume(256=normal)
affilter_graphsetaudiofilters
AdvancedAudiooptions:
atagfourcc/tagforceaudiotag/fourcc
sample_fmtformatsetsampleformat
channel_layoutlayoutsetchannellayout
guess_layout_maxsetthemaximumnumberofchannelstotrytoguessthechannel
layout
absfaudiobitstream_filtersdeprecated
aprepresetsettheaudiooptionstotheindicatedpreset
Subtitleoptions:
ssizesetframesize(WxHorabbreviation)
sndisablesubtitle
scodeccodecforcesubtitlecodec('copy'tocopystream)
stagfourcc/tagforcesubtitletag/fourcc
fix_sub_durationfixsubtitlesduration
canvas_sizesizesetcanvassize(WxHorabbreviation)
sprepresetsetthesubtitleoptionstotheindicatedpreset

AVCodecContextAVOptions:
b<int64>E..VA...setbitrate(inbits/s)(from0to
I64_MAX)(default200000)
ab<int64>E...A...setbitrate(inbits/s)(from0to
INT_MAX)(default128000)
bt<int>E..V....Setvideobitratetolerance(in
bits/s).In1passmode,bitratetolerancespecifieshowfarratecontrolis
willingtodeviatefromthetargetaveragebitratevalue.Thisisnotrelatedto
minimum/maximumbitrate.Loweringtolerancetoomuchhasanadverseeffecton
quality.(from1toINT_MAX)(default4e+006)
flags<flags>ED.VAS..(default0)
unaligned.D.V....allowdecoderstoproduceunaligned
output
mv4E..V....usefourmotionvectorspermacroblock
(MPEG4)
qpelE..V....use1/4pelmotioncompensation
loopE..V....useloopfilter
gmcE..V....usegmc
Page5

ffmpegcommandoptions(full).txt
mv0E..V....alwaystryambwithmv=<0,0>
grayED.V....onlydecode/encodegrayscale
psnrE..V....error[?]variableswillbesetduring
encoding
truncated.D.V....Inputbitstreammightberandomly
truncated
naqE..V....normalizeadaptivequantization
ildctE..V....useinterlacedDCT
low_delayED.V....forcelowdelay
global_headerE..VA...placeglobalheadersinextradata
insteadofeverykeyframe
bitexactED.VAS..useonlybitexactfunctions(except
(I)DCT)
aicE..V....H.263advancedintracoding/MPEG4AC
prediction
ilmeE..V....interlacedmotionestimation
cgopE..V....closedGOP
output_corrupt.D.V....Outputevenpotentiallycorrupted
frames
me_method<int>E..V....setmotionestimationmethod(from
INT_MINtoINT_MAX)(defaultepzs)
zeroE..V....zeromotionestimation(fastest)
fullE..V....fullmotionestimation(slowest)
epzsE..V....EPZSmotionestimation
esaE..V....esamotionestimation(aliasforfull)
tesaE..V....tesamotionestimation
diaE..V....diamondmotionestimation(aliasfor
EPZS)
logE..V....logmotionestimation
phodsE..V....phodsmotionestimation
x1E..V....X1motionestimation
hexE..V....hexmotionestimation
umhE..V....umhmotionestimation
iterE..V....itermotionestimation
g<int>E..V....setthegroupofpicture(GOP)size
(fromINT_MINtoINT_MAX)(default12)
ar<int>ED..A...setaudiosamplingrate(inHz)(from0
toINT_MAX)(default0)
ac<int>ED..A...setnumberofaudiochannels(from0to
INT_MAX)(default0)
cutoff<int>E...A...setcutoffbandwidth(fromINT_MINto
INT_MAX)(default0)
frame_size<int>E...A...(fromINT_MINtoINT_MAX)(default0)
qcomp<float>E..V....videoquantizerscalecompression
(VBR).Constantofratecontrolequation.Recommendedrangefordefaultrc_eq:
0.01.0(fromFLT_MAXtoFLT_MAX)(default0.5)
qblur<float>E..V....videoquantizerscaleblur(VBR)(from
1toFLT_MAX)(default0.5)
Page6

ffmpegcommandoptions(full).txt
qmin<int>E..V....minimumvideoquantizerscale(VBR)
(from1to69)(default2)
qmax<int>E..V....maximumvideoquantizerscale(VBR)
(from1to1024)(default31)
qdiff<int>E..V....maximumdifferencebetweenthe
quantizerscales(VBR)(fromINT_MINtoINT_MAX)(default3)
bf<int>E..V....setmaximumnumberofBframesbetween
nonBframes(from1toINT_MAX)(default0)
b_qfactor<float>E..V....QPfactorbetweenPandBframes(from
FLT_MAXtoFLT_MAX)(default1.25)
rc_strategy<int>E..V....ratecontrolmethod(fromINT_MINto
INT_MAX)(default0)
b_strategy<int>E..V....strategytochoosebetweenI/P/Bframes
(fromINT_MINtoINT_MAX)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
bug<flags>.D.V....workaroundnotautodetectedencoder
bugs(defaultautodetect)
autodetect.D.V....
old_msmpeg4.D.V....someoldlavcgeneratedMSMPEG4v3files
(noautodetection)
xvid_ilace.D.V....Xvidinterlacingbug(autodetectedif
FOURCC==XVIX)
ump4.D.V....(autodetectedifFOURCC==UMP4)
no_padding.D.V....paddingbug(autodetected)
amv.D.V....
ac_vlc.D.V....illegalVLCbug(autodetectedper
FOURCC)
qpel_chroma.D.V....
std_qpel.D.V....oldstandardqpel(autodetectedper
FOURCC/version)
qpel_chroma2.D.V....
direct_blocksize.D.V....directqpelblocksizebug
(autodetectedperFOURCC/version)
edge.D.V....edgepaddingbug(autodetectedper
FOURCC/version)
hpel_chroma.D.V....
dc_clip.D.V....
ms.D.V....workaroundvariousbugsinMicrosoft's
brokendecoders
trunc.D.V....truncatedframes
strict<int>ED.VA...howstrictlytofollowthestandards
(fromINT_MINtoINT_MAX)(defaultnormal)
veryED.VA...strictlyconformtoaoldermorestrict
versionofthespecorreferencesoftware
strictED.VA...strictlyconformtoallthethingsin
thespecnomatterwhattheconsequences
normalED.VA...
Page7

ffmpegcommandoptions(full).txt
unofficialED.VA...allowunofficialextensions
experimentalED.VA...allownonstandardizedexperimental
things
b_qoffset<float>E..V....QPoffsetbetweenPandBframes(from
FLT_MAXtoFLT_MAX)(default1.25)
err_detect<flags>.D.VA...seterrordetectionflags(default0)
crccheck.D.VA...verifyembeddedCRCs
bitstream.D.VA...detectbitstreamspecification
deviations
buffer.D.VA...detectimproperbitstreamlength
explode.D.VA...abortdecodingonminorerrordetection
ignore_err.D.VA...ignoreerrors
careful.D.VA...considerthingsthatviolatethespec,
arefasttocheckandhavenotbeenseeninthewildaserrors
compliant.D.VA...considerallspecnoncomplianciesas
errors
aggressive.D.VA...considerthingsthatasaneencoder
shouldnotdoasanerror
mpeg_quant<int>E..V....useMPEGquantizersinsteadofH.263
(fromINT_MINtoINT_MAX)(default0)
qsquish<float>E..V....deprecated,useencoderprivateoptions
instead(from0to99)(default0)
rc_qmod_amp<float>E..V....deprecated,useencoderprivateoptions
instead(fromFLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....deprecated,useencoderprivateoptions
instead(fromINT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....deprecated,useencoderprivateoptions
instead
maxrate<int64>E..VA...maximumbitrate(inbits/s).Usedfor
VBVtogetherwithbufsize.(from0toINT_MAX)(default0)
minrate<int64>E..VA...minimumbitrate(inbits/s).Most
usefulinsettingupaCBRencode.Itisoflittleuseotherwise.(fromINT_MINto
INT_MAX)(default0)
bufsize<int>E..VA...setratecontrolbuffersize(inbits)
(fromINT_MINtoINT_MAX)(default0)
rc_buf_aggressivity<float>E..V....deprecated,useencoderprivate
optionsinstead(fromFLT_MAXtoFLT_MAX)(default1)
i_qfactor<float>E..V....QPfactorbetweenPandIframes(from
FLT_MAXtoFLT_MAX)(default0.8)
i_qoffset<float>E..V....QPoffsetbetweenPandIframes(from
FLT_MAXtoFLT_MAX)(default0)
rc_init_cplx<float>E..V....deprecated,useencoderprivateoptions
instead(fromFLT_MAXtoFLT_MAX)(default0)
dct<int>E..V....DCTalgorithm(from0toINT_MAX)
(defaultauto)
autoE..V....autoselectagoodone
fastintE..V....fastinteger
intE..V....accurateinteger
Page8

ffmpegcommandoptions(full).txt
mmxE..V....
altivecE..V....
faanE..V....floatingpointAANDCT
lumi_mask<float>E..V....compressesbrightareasstrongerthan
mediumones(fromFLT_MAXtoFLT_MAX)(default0)
tcplx_mask<float>E..V....temporalcomplexitymasking(from
FLT_MAXtoFLT_MAX)(default0)
scplx_mask<float>E..V....spatialcomplexitymasking(from
FLT_MAXtoFLT_MAX)(default0)
p_mask<float>E..V....intermasking(fromFLT_MAXto
FLT_MAX)(default0)
dark_mask<float>E..V....compressesdarkareasstrongerthan
mediumones(fromFLT_MAXtoFLT_MAX)(default0)
idct<int>ED.V....selectIDCTimplementation(from0to
INT_MAX)(defaultauto)
autoED.V....
intED.V....
simpleED.V....
simplemmxED.V....
armED.V....
altivecED.V....
sh4ED.V....
simplearmED.V....
simplearmv5teED.V....
simplearmv6ED.V....
simpleneonED.V....
simplealphaED.V....
ippED.V....
xvidED.V....
xvidmmxED.V....deprecated,forcompatibilityonly
faaniED.V....floatingpointAANIDCT
simpleautoED.V....
ec<flags>.D.V....seterrorconcealmentstrategy(default
guess_mvs+deblock)
guess_mvs.D.V....iterativemotionvector(MV)search
(slow)
deblock.D.V....usestrongdeblockfilterfordamaged
MBs
favor_inter.D.V....favorpredictingfromtheprevious
frame
pred<int>E..V....predictionmethod(fromINT_MINto
INT_MAX)(defaultleft)
leftE..V....
planeE..V....
medianE..V....
aspect<rational>E..V....sampleaspectratio(from0to10)
(default0/1)
sar<rational>E..V....sampleaspectratio(from0to10)
Page9

ffmpegcommandoptions(full).txt
(default0/1)
debug<flags>ED.VAS..printspecificdebuginfo(default0)
pict.D.V....pictureinfo
rcE..V....ratecontrol
bitstream.D.V....
mb_type.D.V....macroblock(MB)type
qp.D.V....perblockquantizationparameter(QP)
mv.D.V....motionvector
dct_coeff.D.V....
green_metadata.D.V....
skip.D.V....
startcode.D.V....
pts.D.V....
er.D.V....errorrecognition
mmco.D.V....memorymanagementcontroloperations
(H.264)
bugs.D.V....
vis_qp.D.V....visualizequantizationparameter(QP),
lowerQParetintedgreener
vis_mb_type.D.V....visualizeblocktypes
buffers.D.V....picturebufferallocations
thread_ops.D.VA...threadingoperations
nomc.D.VA...skipmotioncompensation
vismv<flags>.D.V....visualizemotionvectors(MVs)
(deprecated)(default0)
pf.D.V....forwardpredictedMVsofPframes
bf.D.V....forwardpredictedMVsofBframes
bb.D.V....backwardpredictedMVsofBframes
cmp<int>E..V....fullpelMEcomparefunction(from
INT_MINtoINT_MAX)(defaultsad)
sadE..V....sumofabsolutedifferences,fast
sseE..V....sumofsquarederrors
satdE..V....sumofabsoluteHadamardtransformed
differences
dctE..V....sumofabsoluteDCTtransformed
differences
psnrE..V....sumofsquaredquantizationerrors
(avoid,lowquality)
bitE..V....numberofbitsneededfortheblock
rdE..V....ratedistortionoptimal,slow
zeroE..V....0
vsadE..V....sumofabsoluteverticaldifferences
vsseE..V....sumofsquaredverticaldifferences
nsseE..V....noisepreservingsumofsquared
differences
w53E..V....5/3wavelet,onlyusedinsnow
w97E..V....9/7wavelet,onlyusedinsnow
dctmaxE..V....
Page10

ffmpegcommandoptions(full).txt
chromaE..V....
msadE..V....sumofabsolutedifferences,median
predicted
subcmp<int>E..V....subpelMEcomparefunction(from
INT_MINtoINT_MAX)(defaultsad)
sadE..V....sumofabsolutedifferences,fast
sseE..V....sumofsquarederrors
satdE..V....sumofabsoluteHadamardtransformed
differences
dctE..V....sumofabsoluteDCTtransformed
differences
psnrE..V....sumofsquaredquantizationerrors
(avoid,lowquality)
bitE..V....numberofbitsneededfortheblock
rdE..V....ratedistortionoptimal,slow
zeroE..V....0
vsadE..V....sumofabsoluteverticaldifferences
vsseE..V....sumofsquaredverticaldifferences
nsseE..V....noisepreservingsumofsquared
differences
w53E..V....5/3wavelet,onlyusedinsnow
w97E..V....9/7wavelet,onlyusedinsnow
dctmaxE..V....
chromaE..V....
msadE..V....sumofabsolutedifferences,median
predicted
mbcmp<int>E..V....macroblockcomparefunction(from
INT_MINtoINT_MAX)(defaultsad)
sadE..V....sumofabsolutedifferences,fast
sseE..V....sumofsquarederrors
satdE..V....sumofabsoluteHadamardtransformed
differences
dctE..V....sumofabsoluteDCTtransformed
differences
psnrE..V....sumofsquaredquantizationerrors
(avoid,lowquality)
bitE..V....numberofbitsneededfortheblock
rdE..V....ratedistortionoptimal,slow
zeroE..V....0
vsadE..V....sumofabsoluteverticaldifferences
vsseE..V....sumofsquaredverticaldifferences
nsseE..V....noisepreservingsumofsquared
differences
w53E..V....5/3wavelet,onlyusedinsnow
w97E..V....9/7wavelet,onlyusedinsnow
dctmaxE..V....
chromaE..V....
msadE..V....sumofabsolutedifferences,median
Page11

ffmpegcommandoptions(full).txt
predicted
ildctcmp<int>E..V....interlacedDCTcomparefunction(from
INT_MINtoINT_MAX)(defaultvsad)
sadE..V....sumofabsolutedifferences,fast
sseE..V....sumofsquarederrors
satdE..V....sumofabsoluteHadamardtransformed
differences
dctE..V....sumofabsoluteDCTtransformed
differences
psnrE..V....sumofsquaredquantizationerrors
(avoid,lowquality)
bitE..V....numberofbitsneededfortheblock
rdE..V....ratedistortionoptimal,slow
zeroE..V....0
vsadE..V....sumofabsoluteverticaldifferences
vsseE..V....sumofsquaredverticaldifferences
nsseE..V....noisepreservingsumofsquared
differences
w53E..V....5/3wavelet,onlyusedinsnow
w97E..V....9/7wavelet,onlyusedinsnow
dctmaxE..V....
chromaE..V....
msadE..V....sumofabsolutedifferences,median
predicted
dia_size<int>E..V....diamondtype&sizeformotion
estimation(fromINT_MINtoINT_MAX)(default0)
last_pred<int>E..V....amountofmotionpredictorsfromthe
previousframe(fromINT_MINtoINT_MAX)(default0)
preme<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
precmp<int>E..V....premotionestimationcomparefunction
(fromINT_MINtoINT_MAX)(defaultsad)
sadE..V....sumofabsolutedifferences,fast
sseE..V....sumofsquarederrors
satdE..V....sumofabsoluteHadamardtransformed
differences
dctE..V....sumofabsoluteDCTtransformed
differences
psnrE..V....sumofsquaredquantizationerrors
(avoid,lowquality)
bitE..V....numberofbitsneededfortheblock
rdE..V....ratedistortionoptimal,slow
zeroE..V....0
vsadE..V....sumofabsoluteverticaldifferences
vsseE..V....sumofsquaredverticaldifferences
nsseE..V....noisepreservingsumofsquared
differences
w53E..V....5/3wavelet,onlyusedinsnow
Page12

ffmpegcommandoptions(full).txt
w97E..V....9/7wavelet,onlyusedinsnow
dctmaxE..V....
chromaE..V....
msadE..V....sumofabsolutedifferences,median
predicted
pre_dia_size<int>E..V....diamondtype&sizeformotion
estimationprepass(fromINT_MINtoINT_MAX)(default0)
subq<int>E..V....subpelmotionestimationquality(from
INT_MINtoINT_MAX)(default8)
me_range<int>E..V....limitmotionvectorsrange(1023for
DivXplayer)(fromINT_MINtoINT_MAX)(default0)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
global_quality<int>E..VA...(fromINT_MINtoINT_MAX)(default0)
coder<int>E..V....(fromINT_MINtoINT_MAX)(defaultvlc)
vlcE..V....variablelengthcoder/Huffmancoder
acE..V....arithmeticcoder
rawE..V....raw(noencoding)
rleE..V....runlengthcoder
deflateE..V....deflatebasedcoder
context<int>E..V....contextmodel(fromINT_MINtoINT_MAX)
(default0)
mbd<int>E..V....macroblockdecisionalgorithm(high
qualitymode)(from0to2)(defaultsimple)
simpleE..V....usembcmp
bitsE..V....usefewestbits
rdE..V....usebestratedistortion
sc_threshold<int>E..V....scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
lmin<int>E..V....deprecated,useencoderprivateoptions
instead(from0toINT_MAX)(default0)
lmax<int>E..V....deprecated,useencoderprivateoptions
instead(from0toINT_MAX)(default0)
nr<int>E..V....noisereduction(fromINT_MINto
INT_MAX)(default0)
rc_init_occupancy<int>E..V....numberofbitswhichshouldbeloaded
intothercbufferbeforedecodingstarts(fromINT_MINtoINT_MAX)(default0)
flags2<flags>ED.VA...(default0)
fastE..V....allownonspeccompliantspeeduptricks
nooutE..V....skipbitstreamencoding
ignorecrop.D.V....ignorecroppinginformationfromsps
local_headerE..V....placeglobalheadersateverykeyframe
insteadofinextradata
chunks.D.V....Framedatamightbesplitintomultiple
chunks
showall.D.V....Showallframesbeforethefirst
Page13

ffmpegcommandoptions(full).txt
keyframe
export_mvs.D.V....exportmotionvectorsthroughframe
sidedata
skip_manual.D.V....donotskipsamplesandexportskip
informationasframesidedata
ass_ro_flush_noop.D...S..donotresetASSReadOrderfieldon
flush
error<int>E..V....(fromINT_MINtoINT_MAX)(default0)
threads<int>ED.VA...setthenumberofthreads(from0to
INT_MAX)(default1)
autoED.V....autodetectasuitablenumberofthreads
touse
me_threshold<int>E..V....motionestimationthreshold(from
INT_MINtoINT_MAX)(default0)
mb_threshold<int>E..V....macroblockthreshold(fromINT_MINto
INT_MAX)(default0)
dc<int>E..V....intra_dc_precision(from8to16)
(default0)
nssew<int>E..V....nsseweight(fromINT_MINtoINT_MAX)
(default8)
skip_top<int>.D.V....numberofmacroblockrowsatthetop
whichareskipped(fromINT_MINtoINT_MAX)(default0)
skip_bottom<int>.D.V....numberofmacroblockrowsatthebottom
whichareskipped(fromINT_MINtoINT_MAX)(default0)
profile<int>E..VA...(fromINT_MINtoINT_MAX)(default
unknown)
unknownE..VA...
aac_mainE...A...
aac_lowE...A...
aac_ssrE...A...
aac_ltpE...A...
aac_heE...A...
aac_he_v2E...A...
aac_ldE...A...
aac_eldE...A...
mpeg2_aac_lowE...A...
mpeg2_aac_heE...A...
dtsE...A...
dts_esE...A...
dts_96_24E...A...
dts_hd_hraE...A...
dts_hd_maE...A...
mpeg4_spE..V....
mpeg4_coreE..V....
mpeg4_mainE..V....
mpeg4_aspE..V....
level<int>E..VA...(fromINT_MINtoINT_MAX)(default
unknown)
Page14

ffmpegcommandoptions(full).txt
unknownE..VA...
lowres<int>.D.VA...decodeat1=1/2,2=1/4,3=1/8
resolutions(from0toINT_MAX)(default0)
skip_threshold<int>E..V....frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skipcmp<int>E..V....frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....sumofabsolutedifferences,fast
sseE..V....sumofsquarederrors
satdE..V....sumofabsoluteHadamardtransformed
differences
dctE..V....sumofabsoluteDCTtransformed
differences
psnrE..V....sumofsquaredquantizationerrors
(avoid,lowquality)
bitE..V....numberofbitsneededfortheblock
rdE..V....ratedistortionoptimal,slow
zeroE..V....0
vsadE..V....sumofabsoluteverticaldifferences
vsseE..V....sumofsquaredverticaldifferences
nsseE..V....noisepreservingsumofsquared
differences
w53E..V....5/3wavelet,onlyusedinsnow
w97E..V....9/7wavelet,onlyusedinsnow
dctmaxE..V....
chromaE..V....
msadE..V....sumofabsolutedifferences,median
predicted
border_mask<float>E..V....deprecated,useencoderprivateoptions
instead(fromFLT_MAXtoFLT_MAX)(default0)
mblmin<int>E..V....minimummacroblockLagrangefactor
(VBR)(from1to32767)(default236)
mblmax<int>E..V....maximummacroblockLagrangefactor
(VBR)(from1to32767)(default3658)
mepc<int>E..V....motionestimationbitratepenalty
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
skip_loop_filter<int>.D.V....skiploopfilteringprocessforthe
selectedframes(fromINT_MINtoINT_MAX)(defaultdefault)
none.D.V....discardnoframe
default.D.V....discarduselessframes
noref.D.V....discardallnonreferenceframes
bidir.D.V....discardallbidirectionalframes
nokey.D.V....discardallframesexceptkeyframes
nointra.D.V....discardallframesexceptIframes
Page15

ffmpegcommandoptions(full).txt
all.D.V....discardallframes
skip_idct<int>.D.V....skipIDCT/dequantizationforthe
selectedframes(fromINT_MINtoINT_MAX)(defaultdefault)
none.D.V....discardnoframe
default.D.V....discarduselessframes
noref.D.V....discardallnonreferenceframes
bidir.D.V....discardallbidirectionalframes
nokey.D.V....discardallframesexceptkeyframes
nointra.D.V....discardallframesexceptIframes
all.D.V....discardallframes
skip_frame<int>.D.V....skipdecodingfortheselectedframes
(fromINT_MINtoINT_MAX)(defaultdefault)
none.D.V....discardnoframe
default.D.V....discarduselessframes
noref.D.V....discardallnonreferenceframes
bidir.D.V....discardallbidirectionalframes
nokey.D.V....discardallframesexceptkeyframes
nointra.D.V....discardallframesexceptIframes
all.D.V....discardallframes
bidir_refine<int>E..V....refinethetwomotionvectorsusedin
bidirectionalmacroblocks(from0to4)(default1)
brd_scale<int>E..V....downscaleframesfordynamicBframe
decision(from0to10)(default0)
keyint_min<int>E..V....minimumintervalbetweenIDRframes
(fromINT_MINtoINT_MAX)(default25)
refs<int>E..V....referenceframestoconsiderformotion
compensation(fromINT_MINtoINT_MAX)(default1)
chromaoffset<int>E..V....chromaQPoffsetfromluma(from
INT_MINtoINT_MAX)(default0)
trellis<int>E..VA...ratedistortionoptimalquantization
(fromINT_MINtoINT_MAX)(default0)
sc_factor<int>E..V....multipliedbyqscaleforeachframeand
addedtoscene_change_score(from0toINT_MAX)(default6)
mv0_threshold<int>E..V....(from0toINT_MAX)(default256)
b_sensitivity<int>E..V....adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
compression_level<int>E..VA...(fromINT_MINtoINT_MAX)(default1)
min_prediction_order<int>E...A...(fromINT_MINtoINT_MAX)(default
1)
max_prediction_order<int>E...A...(fromINT_MINtoINT_MAX)(default
1)
timecode_frame_start<int64>E..V....GOPtimecodeframestartnumber,in
nondropframeformat(from1toI64_MAX)(default1)
channel_layout<int64>ED..A...(from0toI64_MAX)(default0)
request_channel_layout<int64>.D..A...(from0toI64_MAX)(default0)
rc_max_vbv_use<float>E..V....(from0toFLT_MAX)(default0)
rc_min_vbv_use<float>E..V....(from0toFLT_MAX)(default3)
ticks_per_frame<int>ED.VA...(from1toINT_MAX)(default1)
Page16

ffmpegcommandoptions(full).txt
color_primaries<int>ED.V....colorprimaries(from1to10)(default
unspecified)
bt709ED.V....BT.709
unspecifiedED.V....Unspecified
bt470mED.V....BT.470M
bt470bgED.V....BT.470BG
smpte170mED.V....SMPTE170M
smpte240mED.V....SMPTE240M
filmED.V....Film
bt2020ED.V....BT.2020
smpte428_1ED.V....SMPTEST4281
color_trc<int>ED.V....colortransfercharacteristics(from1
to18)(defaultunspecified)
bt709ED.V....BT.709
unspecifiedED.V....Unspecified
gamma22ED.V....BT.470M
gamma28ED.V....BT.470BG
smpte170mED.V....SMPTE170M
smpte240mED.V....SMPTE240M
linearED.V....Linear
logED.V....Log
log_sqrtED.V....Logsquareroot
iec61966_2_4ED.V....IEC6196624
bt1361ED.V....BT.1361
iec61966_2_1ED.V....IEC6196621
bt2020_10bitED.V....BT.202010bit
bt2020_12bitED.V....BT.202012bit
smpte2084ED.V....SMPTEST2084
smpte428_1ED.V....SMPTEST4281
colorspace<int>ED.V....colorspace(from0to10)(default
unspecified)
rgbED.V....RGB
bt709ED.V....BT.709
unspecifiedED.V....Unspecified
fccED.V....FCC
bt470bgED.V....BT.470BG
smpte170mED.V....SMPTE170M
smpte240mED.V....SMPTE240M
ycocgED.V....YCOCG
bt2020_nclED.V....BT.2020NCL
bt2020_clED.V....BT.2020CL
color_range<int>ED.V....colorrange(from0to2)(default
unspecified)
unspecifiedED.V....Unspecified
mpegED.V....MPEG(219*2^(n8))
jpegED.V....JPEG(2^n1)
chroma_sample_location<int>ED.V....chromasamplelocation(from0to
6)(defaultunspecified)
Page17

ffmpegcommandoptions(full).txt
unspecifiedED.V....Unspecified
leftED.V....Left
centerED.V....Center
topleftED.V....Topleft
topED.V....Top
bottomleftED.V....Bottomleft
bottomED.V....Bottom
slices<int>E..V....setthenumberofslices,usedin
parallelizedencoding(from0toINT_MAX)(default0)
thread_type<flags>ED.VA...selectmultithreadingtype(default
slice+frame)
sliceED.V....
frameED.V....
audio_service_type<int>E...A...audioservicetype(from0to8)
(defaultma)
maE...A...MainAudioService
efE...A...Effects
viE...A...VisuallyImpaired
hiE...A...HearingImpaired
diE...A...Dialogue
coE...A...Commentary
emE...A...Emergency
voE...A...VoiceOver
kaE...A...Karaoke
request_sample_fmt<sample_fmt>.D..A...sampleformataudiodecodersshould
prefer(defaultnone)
sub_charenc<string>.D...S..setinputtextsubtitlescharacter
encoding
sub_charenc_mode<flags>.D...S..setinputtextsubtitlescharacter
encodingmode(default0)
do_nothing.D...S..
auto.D...S..
pre_decoder.D...S..
sub_text_format<int>.D...S..setdecodedtextsubtitleformat(from
0to1)(defaultass_with_timings)
ass.D...S..
ass_with_timings.D...S..
refcounted_frames<boolean>.D.VA...(defaultfalse)
side_data_only_packets<boolean>E..VA...(defaulttrue)
skip_alpha<boolean>.D.V....Skipprocessingalpha(defaultfalse)
field_order<int>ED.V....Fieldorder(from0to5)(default0)
progressiveED.V....
ttED.V....
bbED.V....
tbED.V....
btED.V....
dump_separator<string>ED.VAS..setinformationdumpfieldseparator
codec_whitelist<string>.D.VAS..Listofdecodersthatareallowedtobe
Page18

ffmpegcommandoptions(full).txt
used
amvencoderAVOptions:
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
FLT_MAX)(default1)
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
toINT_MAX)(default236)
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
Page19

ffmpegcommandoptions(full).txt
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
zeroE..V....
epzsE..V....
xoneE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
satdE..V....SumofabsoluteHadamardtransformed
differences
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
vsseE..V....Sumofsquaredverticaldifferences
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
dctmaxE..V....
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
Page20

ffmpegcommandoptions(full).txt
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
pred<int>E..V....Predictionmethod(from1to3)
(defaultleft)
leftE..V....
planeE..V....
medianE..V....
APNGencoderAVOptions:
dpi<int>E..V....Setimageresolution(indotsperinch)
(from0to65536)(default0)
dpm<int>E..V....Setimageresolution(indotsper
meter)(from0to65536)(default0)
pred<int>E..V....Predictionmethod(from0to5)
(defaultnone)
noneE..V....
subE..V....
upE..V....
avgE..V....
paethE..V....
mixedE..V....
cinepakAVOptions:
max_extra_cb_iterations<int>E..V....Maxextracodebookrecalculation
passes,moreisbetterandslower(from0toINT_MAX)(default2)
skip_empty_cb<boolean>E..V....Avoidwastingbytes,ignorevintage
MacOSdecoder(defaultfalse)
max_strips<int>E..V....Limitstrips/frame,vintagecompatible
is1..3,otherwisethemorethebetter(from1to32)(default3)
min_strips<int>E..V....Enforceminstrips/frame,moreisworse
andfaster,mustbe<=max_strips(from1to32)(default1)
strip_number_adaptivity<int>E..V....Howfastthestripnumberadapts,
moreisslightlybetter,muchslower(from0to31)(default0)
cljrencoderAVOptions:
dither_type<int>E..V....Dithertype(from0to2)(default1)
dnxhdAVOptions:
nitris_compat<boolean>E..V....encodewithAvidNitriscompatibility
(defaultfalse)
ibias<int>E..V....intraquantbias(fromINT_MINto
Page21

ffmpegcommandoptions(full).txt
INT_MAX)(default0)
profile<int>E..V....(from0to5)(defaultdnxhd)
dnxhdE..V....
dnxhr_444E..V....
dnxhr_hqxE..V....
dnxhr_hqE..V....
dnxhr_sqE..V....
dnxhr_lbE..V....
EXRAVOptions:
layer<string>.D.V....Setthedecodinglayer(default"")
gamma<float>.D.V....Setthefloatgammavaluewhendecoding
(from0.001toFLT_MAX)(default1)
apply_trc<int>.D.V....colortransfercharacteristicstoapply
toEXRlinearinput(from1to18)(defaultgamma)
bt709.D.V....BT.709
gamma.D.V....gamma
gamma22.D.V....BT.470M
gamma28.D.V....BT.470BG
smpte170m.D.V....SMPTE170M
smpte240m.D.V....SMPTE240M
linear.D.V....Linear
log.D.V....Log
log_sqrt.D.V....Logsquareroot
iec61966_2_4.D.V....IEC6196624
bt1361.D.V....BT.1361
iec61966_2_1.D.V....IEC6196621
bt2020_10bit.D.V....BT.202010bit
bt2020_12bit.D.V....BT.202012bit
smpte2084.D.V....SMPTEST2084
smpte428_1.D.V....SMPTEST4281
ffv1encoderAVOptions:
slicecrc<boolean>E..V....ProtectsliceswithCRCs(defaultauto)
coder<int>E..V....Codertype(from2to2)(default
rice)
riceE..V....Golombrice
range_defE..V....Rangewithdefaulttable
range_tabE..V....Rangewithcustomtable
acE..V....Rangewithcustomtable(theacoption
existsforcompatibilityandisdeprecated)
context<int>E..V....Contextmodel(from0to1)(default0)
ffvhuffAVOptions:
non_deterministic<boolean>E..V....Allowmultithreadingfore.g.context=1
attheexpenseofdeterminism(defaulttrue)
pred<int>E..V....Predictionmethod(from0to2)
(defaultleft)
Page22

ffmpegcommandoptions(full).txt
leftE..V....
planeE..V....
medianE..V....
context<int>E..V....Setperframehuffmantables(from0to
1)(default0)
FICencoderAVOptions:
skip_cursor<boolean>.D.V....skipthecursor(defaultfalse)
flvencoderAVOptions:
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
FLT_MAX)(default1)
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
Page23

ffmpegcommandoptions(full).txt
toINT_MAX)(default236)
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
zeroE..V....
epzsE..V....
xoneE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
satdE..V....SumofabsoluteHadamardtransformed
differences
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
vsseE..V....Sumofsquaredverticaldifferences
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
Page24

ffmpegcommandoptions(full).txt
dctmaxE..V....
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
frwuDecoderAVOptions:
change_field_order<boolean>.D.V....Changefieldorder(defaultfalse)
GIFencoderAVOptions:
gifflags<flags>E..V....setGIFflags(default
offsetting+transdiff)
offsettingE..V....enablepictureoffsetting
transdiffE..V....enabletransparencydetectionbetween
frames
gifdecoderAVOptions:
trans_color<int>.D.V....colorvalue(ARGB)thatisusedinstead
oftransparentcolor(from0toUINT32_MAX)(default1.67772e+007)
h261encoderAVOptions:
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
Page25

ffmpegcommandoptions(full).txt
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
FLT_MAX)(default1)
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
toINT_MAX)(default236)
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
zeroE..V....
epzsE..V....
xoneE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
Page26

ffmpegcommandoptions(full).txt
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
satdE..V....SumofabsoluteHadamardtransformed
differences
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
vsseE..V....Sumofsquaredverticaldifferences
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
dctmaxE..V....
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
H.263encoderAVOptions:
obmc<boolean>E..V....useoverlappedblockmotion
compensation.(defaultfalse)
mb_info<int>E..V....emitmacroblockinfoforRFC2190
packetization,theparametervalueisthemaximumpayloadsize(from0toINT_MAX)
(default0)
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
Page27

ffmpegcommandoptions(full).txt
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
FLT_MAX)(default1)
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
toINT_MAX)(default236)
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
Page28

ffmpegcommandoptions(full).txt
zeroE..V....
epzsE..V....
xoneE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
satdE..V....SumofabsoluteHadamardtransformed
differences
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
vsseE..V....Sumofsquaredverticaldifferences
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
dctmaxE..V....
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
Page29

ffmpegcommandoptions(full).txt
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
H.263pencoderAVOptions:
umv<boolean>E..V....Useunlimitedmotionvectors.(default
false)
aiv<boolean>E..V....UsealternativeinterVLC.(default
false)
obmc<boolean>E..V....useoverlappedblockmotion
compensation.(defaultfalse)
structured_slices<boolean>E..V....WriteslicestartpositionateveryGOB
headerinsteadofjustGOBnumber.(defaultfalse)
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
FLT_MAX)(default1)
Page30

ffmpegcommandoptions(full).txt
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
toINT_MAX)(default236)
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
zeroE..V....
epzsE..V....
xoneE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
satdE..V....SumofabsoluteHadamardtransformed
differences
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
vsseE..V....Sumofsquaredverticaldifferences
Page31

ffmpegcommandoptions(full).txt
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
dctmaxE..V....
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
H264DecoderAVOptions:
enable_er<boolean>.D.V....Enableerrorresilienceondamaged
frames(unsafe)(defaultauto)
h264_qsvAVOptions:
async_depth<int>.D.V....Internalparallelizationdepth,the
higherthevaluethehigherthelatency.(from0toINT_MAX)(default4)
HapencoderAVOptions:
format<int>E..V....(from11to15)(defaulthap)
hapE..V....Hap1(DXT1textures)
hap_alphaE..V....HapAlpha(DXT5textures)
hap_qE..V....HapQ(DXT5YCoCgtextures)
chunks<int>E..V....chunkcount(from1to64)(default1)
HEVCdecoderAVOptions:
apply_defdispwin<boolean>.D.V....ApplydefaultdisplaywindowfromVUI
(defaultfalse)
strictdisplaywin<boolean>.D.V....striclyapplydefaultdisplaywindow
size(defaultfalse)
hevc_qsvAVOptions:
async_depth<int>.D.V....Internalparallelizationdepth,the
higherthevaluethehigherthelatency.(from0toINT_MAX)(default4)
load_plugin<int>.D.V....Auserplugintoloadinaninternal
session(from0to1)(defaulthevc_sw)
none.D.V....
hevc_sw.D.V....
Page32

ffmpegcommandoptions(full).txt
load_plugins<string>.D.V....A:separatelistofhexadecimalplugin
UIDstoloadinaninternalsession(default"")
huffyuvAVOptions:
non_deterministic<boolean>E..V....Allowmultithreadingfore.g.context=1
attheexpenseofdeterminism(defaulttrue)
pred<int>E..V....Predictionmethod(from0to2)
(defaultleft)
leftE..V....
planeE..V....
medianE..V....
jpeg2000encoderAVOptions:
format<int>E..V....CodecFormat(from0to1)(default
jp2)
j2kE..V....
jp2E..V....
tile_width<int>E..V....TileWidth(from1to1.07374e+009)
(default256)
tile_height<int>E..V....TileHeight(from1to1.07374e+009)
(default256)
pred<int>E..V....DWTType(from0to1)(default
dwt97int)
dwt97intE..V....
dwt53E..V....
jpeg2000AVOptions:
lowres<int>.D.V....Lowerthedecodingresolutionbya
poweroftwo(from0to33)(default0)
jpeglsAVOptions:
pred<int>E..V....Predictionmethod(from0to2)
(defaultleft)
leftE..V....
planeE..V....
medianE..V....
ljpegAVOptions:
pred<int>E..V....Predictionmethod(from1to3)
(defaultleft)
leftE..V....
planeE..V....
medianE..V....
mjpegencoderAVOptions:
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
Page33

ffmpegcommandoptions(full).txt
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
FLT_MAX)(default1)
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
toINT_MAX)(default236)
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
Page34

ffmpegcommandoptions(full).txt
zeroE..V....
epzsE..V....
xoneE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
satdE..V....SumofabsoluteHadamardtransformed
differences
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
vsseE..V....Sumofsquaredverticaldifferences
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
dctmaxE..V....
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
Page35

ffmpegcommandoptions(full).txt
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
pred<int>E..V....Predictionmethod(from1to3)
(defaultleft)
leftE..V....
planeE..V....
medianE..V....
MJPEGdecoderAVOptions:
extern_huff<boolean>.D.V....Useexternalhuffmantable.(default
false)
mpeg1videoencoderAVOptions:
gop_timecode<string>E..V....MPEGGOPTimecodeinhh:mm:ss[:;.]ff
format.Overridestimecode_frame_start.
intra_vlc<boolean>E..V....UseMPEG2intraVLCtable.(default
false)
drop_frame_timecode<boolean>E..V....Timecodeisindropframeformat.
(defaultfalse)
scan_offset<boolean>E..V....ReservespaceforSVCDscanoffsetuser
data.(defaultfalse)
timecode_frame_start<int64>E..V....GOPtimecodeframestartnumber,in
nondropframeformat(from1toI64_MAX)(default1)
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
Page36

ffmpegcommandoptions(full).txt
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
FLT_MAX)(default1)
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
toINT_MAX)(default236)
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
zeroE..V....
epzsE..V....
xoneE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
Page37

ffmpegcommandoptions(full).txt
satdE..V....SumofabsoluteHadamardtransformed
differences
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
vsseE..V....Sumofsquaredverticaldifferences
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
dctmaxE..V....
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
mpeg2videoencoderAVOptions:
gop_timecode<string>E..V....MPEGGOPTimecodeinhh:mm:ss[:;.]ff
format.Overridestimecode_frame_start.
intra_vlc<boolean>E..V....UseMPEG2intraVLCtable.(default
false)
drop_frame_timecode<boolean>E..V....Timecodeisindropframeformat.
(defaultfalse)
scan_offset<boolean>E..V....ReservespaceforSVCDscanoffsetuser
data.(defaultfalse)
timecode_frame_start<int64>E..V....GOPtimecodeframestartnumber,in
nondropframeformat(from1toI64_MAX)(default1)
non_linear_quant<boolean>E..V....Usenonlinearquantizer.(default
false)
alternate_scan<boolean>E..V....Enablealternatescantable.(default
false)
seq_disp_ext<int>E..V....Writesequence_display_extension
blocks.(from1to1)(defaultauto)
Page38

ffmpegcommandoptions(full).txt
autoE..V....
neverE..V....
alwaysE..V....
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
FLT_MAX)(default1)
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
toINT_MAX)(default236)
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
Page39

ffmpegcommandoptions(full).txt
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
zeroE..V....
epzsE..V....
xoneE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
satdE..V....SumofabsoluteHadamardtransformed
differences
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
vsseE..V....Sumofsquaredverticaldifferences
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
dctmaxE..V....
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
Page40

ffmpegcommandoptions(full).txt
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
MPEG4encoderAVOptions:
data_partitioning<boolean>E..V....Usedatapartitioning.(defaultfalse)
alternate_scan<boolean>E..V....Enablealternatescantable.(default
false)
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
Page41

ffmpegcommandoptions(full).txt
FLT_MAX)(default1)
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
toINT_MAX)(default236)
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
zeroE..V....
epzsE..V....
xoneE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
satdE..V....SumofabsoluteHadamardtransformed
differences
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
Page42

ffmpegcommandoptions(full).txt
vsseE..V....Sumofsquaredverticaldifferences
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
dctmaxE..V....
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
MPEG4VideoDecoderAVOptions:
mpeg2_qsvAVOptions:
async_depth<int>.D.V....Internalparallelizationdepth,the
higherthevaluethehigherthelatency.(from0toINT_MAX)(default4)
msmpeg4v2encoderAVOptions:
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
Page43

ffmpegcommandoptions(full).txt
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
FLT_MAX)(default1)
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
toINT_MAX)(default236)
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
zeroE..V....
epzsE..V....
xoneE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
Page44

ffmpegcommandoptions(full).txt
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
satdE..V....SumofabsoluteHadamardtransformed
differences
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
vsseE..V....Sumofsquaredverticaldifferences
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
dctmaxE..V....
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
msmpeg4v3encoderAVOptions:
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
Page45

ffmpegcommandoptions(full).txt
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
FLT_MAX)(default1)
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
toINT_MAX)(default236)
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
zeroE..V....
epzsE..V....
xoneE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
Page46

ffmpegcommandoptions(full).txt
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
satdE..V....SumofabsoluteHadamardtransformed
differences
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
vsseE..V....Sumofsquaredverticaldifferences
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
dctmaxE..V....
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
PNGencoderAVOptions:
dpi<int>E..V....Setimageresolution(indotsperinch)
(from0to65536)(default0)
dpm<int>E..V....Setimageresolution(indotsper
meter)(from0to65536)(default0)
Page47

ffmpegcommandoptions(full).txt
pred<int>E..V....Predictionmethod(from0to5)
(defaultnone)
noneE..V....
subE..V....
upE..V....
avgE..V....
paethE..V....
mixedE..V....
ProResencoderAVOptions:
mbs_per_slice<int>E..V....macroblocksperslice(from1to8)
(default8)
profile<int>E..V....(from1to4)(defaultauto)
autoE..V....
proxyE..V....
ltE..V....
standardE..V....
hqE..V....
4444E..V....
vendor<string>E..V....vendorID(default"Lavc")
bits_per_mb<int>E..V....desiredbitspermacroblock(from0to
8192)(default0)
quant_mat<int>E..V....quantisermatrix(from1to4)
(defaultauto)
autoE..V....
proxyE..V....
ltE..V....
standardE..V....
hqE..V....
defaultE..V....
alpha_bits<int>E..V....bitsforalphaplane(from0to16)
(default16)
rawdecAVOptions:
top<boolean>.D.V....topfieldfirst(defaultauto)
RoQAVOptions:
quake3_compat<boolean>E..V....Whethertorespectknownlimitationsin
Quake3decoder(defaulttrue)
rv10encoderAVOptions:
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
Page48

ffmpegcommandoptions(full).txt
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
FLT_MAX)(default1)
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
toINT_MAX)(default236)
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
zeroE..V....
epzsE..V....
xoneE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
Page49

ffmpegcommandoptions(full).txt
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
satdE..V....SumofabsoluteHadamardtransformed
differences
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
vsseE..V....Sumofsquaredverticaldifferences
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
dctmaxE..V....
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
Page50

ffmpegcommandoptions(full).txt
rv20encoderAVOptions:
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
FLT_MAX)(default1)
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
toINT_MAX)(default236)
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
Page51

ffmpegcommandoptions(full).txt
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
zeroE..V....
epzsE..V....
xoneE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
satdE..V....SumofabsoluteHadamardtransformed
differences
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
vsseE..V....Sumofsquaredverticaldifferences
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
dctmaxE..V....
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
Page52

ffmpegcommandoptions(full).txt
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
SMPTE302MDecoderAVOptions:
non_pcm_mode<int>.D.V....ChooseswhattodowithNONPCM(from0
to3)(defaultdecode_drop)
copy.D.V....PassNONPCMthroughunchanged
drop.D.V....DropNONPCM
decode_copy.D.V....Decodeifpossibleelsepassthrough
decode_drop.D.V....Decodeifpossibleelsedrop
sgiAVOptions:
rle<int>E..V....Userunlengthcompression(from0to
1)(default1)
snowencoderAVOptions:
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
Page53

ffmpegcommandoptions(full).txt
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
FLT_MAX)(default1)
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
toINT_MAX)(default236)
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
zeroE..V....
epzsE..V....
xoneE..V....
iterE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
satdE..V....SumofabsoluteHadamardtransformed
differences
Page54

ffmpegcommandoptions(full).txt
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
vsseE..V....Sumofsquaredverticaldifferences
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
dctmaxE..V....
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
memc_only<boolean>E..V....OnlydoME/MC(Iframes>ref,Pframe
>ME+MC).(defaultfalse)
no_bitstream<boolean>E..V....Skipfinalbitstreamwriteout.(default
false)
intra_penalty<int>E..V....Penaltyforintrablocksinblock
decission(from0toINT_MAX)(default0)
iterative_dia_size<int>E..V....DiasizefortheiterativeME(from0
toINT_MAX)(default0)
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
pred<int>E..V....Spatialdecompositiontype(from0to
1)(defaultdwt97)
dwt97E..V....
dwt53E..V....
sunrastAVOptions:
rle<int>E..V....Userunlengthcompression(from0to
1)(default1)
svq1encAVOptions:
Page55

ffmpegcommandoptions(full).txt
motionest<int>E..V....Motionestimationalgorithm(from0to
2)(defaultepzs)
zeroE..V....
epzsE..V....
xoneE..V....
targaAVOptions:
rle<int>E..V....Userunlengthcompression(from0to
1)(default1)
TIFFencoderAVOptions:
dpi<int>E..V....settheimageresolution(indpi)(from
1to65536)(default72)
compression_algo<int>E..V....(from1to32946)(defaultpackbits)
packbitsE..V....
rawE..V....
lzwE..V....
deflateE..V....
utvideoAVOptions:
pred<int>E..V....Predictionmethod(from0to3)
(defaultleft)
noneE..V....
leftE..V....
gradientE..V....
medianE..V....
V210DecoderAVOptions:
custom_stride<int>.D.V....CustomV210stride(fromINT_MINto
INT_MAX)(default0)
vc1_qsvAVOptions:
async_depth<int>.D.V....Internalparallelizationdepth,the
higherthevaluethehigherthelatency.(from0toINT_MAX)(default4)
SMPTEVC2encoderAVOptions:
tolerance<double>E..V....Maxundershootinpercent(from0to
45)(default5)
slice_width<int>E..V....Slicewidth(from32to1024)(default
32)
slice_height<int>E..V....Sliceheight(from8to1024)(default
16)
wavelet_depth<int>E..V....Transformdepth(from1to5)(default
4)
wavelet_type<int>E..V....Transformtype(from0to7)(default
9_7)
9_7E..V....DeslauriersDubuc(9,7)
5_3E..V....LeGall(5,3)
Page56

ffmpegcommandoptions(full).txt
haarE..V....Haar(withshift)
haar_noshiftE..V....Haar(withoutshift)
qm<int>E..V....Customquantizationmatrix(from0to
3)(defaultdefault)
defaultE..V....Defaultfromthespecifications
colorE..V....Preventslowbitratediscoloration
flatE..V....OptimizeforPSNR
wmv1encoderAVOptions:
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
FLT_MAX)(default1)
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
toINT_MAX)(default236)
Page57

ffmpegcommandoptions(full).txt
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
zeroE..V....
epzsE..V....
xoneE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
satdE..V....SumofabsoluteHadamardtransformed
differences
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
vsseE..V....Sumofsquaredverticaldifferences
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
dctmaxE..V....
Page58

ffmpegcommandoptions(full).txt
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
wmv2encoderAVOptions:
mpv_flags<flags>E..V....Flagscommonforallmpegvideobased
encoders.(default0)
skip_rdE..V....RDoptimalMBlevelresidualskipping
strict_gopE..V....Strictlyenforcegopsize
qp_rdE..V....Useratedistortionoptimizationforqp
selection
cbp_rdE..V....useratedistortionoptimizationfor
CBP
naqE..V....normalizeadaptivequantization
mv0E..V....alwaystryambwithmv=<0,0>
luma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforluminance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
chroma_elim_threshold<int>E..V....singlecoefficientelimination
thresholdforchrominance(negativevaluesalsoconsiderdccoefficient)(from
INT_MINtoINT_MAX)(default0)
quantizer_noise_shaping<int>E..V....(from0toINT_MAX)(default0)
error_rate<int>E..V....Simulateerrorsinthebitstreamto
testerrorconcealment.(from0toINT_MAX)(default0)
qsquish<float>E..V....howtokeepquantizerbetweenqminand
qmax(0=clip,1=usedifferentiablefunction)(from0to99)(default0)
rc_qmod_amp<float>E..V....experimentalquantizermodulation(from
FLT_MAXtoFLT_MAX)(default0)
rc_qmod_freq<int>E..V....experimentalquantizermodulation(from
INT_MINtoINT_MAX)(default0)
rc_eq<string>E..V....Setratecontrolequation.When
computingtheexpression,besidesthestandardfunctionsdefinedinthesection
'ExpressionEvaluation',thefollowingfunctionsareavailable:bits2qp(bits),
qp2bits(qp).Alsothefollowingconstantsareavailable:iTexpTextexmvfCode
iCountmcVarvarisIisPisBavgQPqCompavgIITexavgPITexavgPPTexavgBPTex
avgTex.
Page59

ffmpegcommandoptions(full).txt
rc_init_cplx<float>E..V....initialcomplexityfor1passencoding
(fromFLT_MAXtoFLT_MAX)(default0)
rc_buf_aggressivity<float>E..V....currentlyuseless(fromFLT_MAXto
FLT_MAX)(default1)
border_mask<float>E..V....increasethequantizerformacroblocks
closetoborders(fromFLT_MAXtoFLT_MAX)(default0)
lmin<int>E..V....minimumLagrangefactor(VBR)(from0
toINT_MAX)(default236)
lmax<int>E..V....maximumLagrangefactor(VBR)(from0
toINT_MAX)(default3658)
ibias<int>E..V....intraquantbias(fromINT_MINto
INT_MAX)(default999999)
pbias<int>E..V....interquantbias(fromINT_MINto
INT_MAX)(default999999)
rc_strategy<int>E..V....ratecontrolmethod(from0to1)
(defaultffmpeg)
ffmpegE..V....defaultnativeratecontrol
xvidE..V....libxvid(2passonly)
motion_est<int>E..V....motionestimationalgorithm(from0to
2)(defaultepzs)
zeroE..V....
epzsE..V....
xoneE..V....
force_duplicated_matrix<boolean>E..V....Alwayswritelumaandchroma
matrixformjpeg,usefulforrtpstreaming.(defaultfalse)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
b_sensitivity<int>E..V....Adjustsensitivityofb_frame_strategy
1(from1toINT_MAX)(default40)
brd_scale<int>E..V....DownscaleframesfordynamicBframe
decision(from0to3)(default0)
skip_threshold<int>E..V....Frameskipthreshold(fromINT_MINto
INT_MAX)(default0)
skip_factor<int>E..V....Frameskipfactor(fromINT_MINto
INT_MAX)(default0)
skip_exp<int>E..V....Frameskipexponent(fromINT_MINto
INT_MAX)(default0)
skip_cmp<int>E..V....Frameskipcomparefunction(from
INT_MINtoINT_MAX)(defaultdctmax)
sadE..V....Sumofabsolutedifferences,fast
sseE..V....Sumofsquarederrors
satdE..V....SumofabsoluteHadamardtransformed
differences
dctE..V....SumofabsoluteDCTtransformed
differences
psnrE..V....Sumofsquaredquantizationerrors,low
quality
bitE..V....Numberofbitsneededfortheblock
Page60

ffmpegcommandoptions(full).txt
rdE..V....Ratedistortionoptimal,slow
zeroE..V....Zero
vsadE..V....Sumofabsoluteverticaldifferences
vsseE..V....Sumofsquaredverticaldifferences
nsseE..V....Noisepreservingsumofsquared
differences
dct264E..V....
dctmaxE..V....
chromaE..V....
msadE..V....Sumofabsolutedifferences,median
predicted
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
ps<int>E..V....RTPpayloadsizeinbytes(fromINT_MIN
toINT_MAX)(default0)
mepc<int>E..V....Motionestimationbitratepenalty
compensation(1.0=256)(fromINT_MINtoINT_MAX)(default256)
mepre<int>E..V....premotionestimation(fromINT_MINto
INT_MAX)(default0)
AACencoderAVOptions:
aac_coder<int>E...A...Codingalgorithm(from0to2)(default
twoloop)
anmrE...A...ANMRmethod
twoloopE...A...Twoloopsearchingmethod
fastE...A...Constantquantizer
aac_ms<boolean>E...A...ForceM/Sstereocoding(defaultauto)
aac_is<boolean>E...A...Intensitystereocoding(defaulttrue)
aac_pns<boolean>E...A...Perceptualnoisesubstitution(default
true)
aac_tns<boolean>E...A...Temporalnoiseshaping(defaulttrue)
aac_ltp<boolean>E...A...Longtermprediction(defaultfalse)
aac_pred<boolean>E...A...AACMainprediction(defaultfalse)
AACdecoderAVOptions:
dual_mono_mode<int>.D..A...Selectthechanneltodecodefordual
mono(from1to2)(defaultauto)
auto.D..A...autoselection
main.D..A...SelectMain/Leftchannel
sub.D..A...SelectSub/Rightchannel
both.D..A...Selectbothchannels
AC3EncoderAVOptions:
per_frame_metadata<boolean>E...A...AllowChangingMetadataPerFrame
Page61

ffmpegcommandoptions(full).txt
(defaultfalse)
center_mixlev<float>E...A...CenterMixLevel(from0to1)(default
0.594604)
surround_mixlev<float>E...A...SurroundMixLevel(from0to1)
(default0.5)
mixing_level<int>E...A...MixingLevel(from1to111)(default
1)
room_type<int>E...A...RoomType(from1to2)(default1)
notindicatedE...A...NotIndicated(default)
largeE...A...LargeRoom
smallE...A...SmallRoom
copyright<int>E...A...CopyrightBit(from1to1)(default
1)
dialnorm<int>E...A...DialogueLevel(dB)(from31to1)
(default31)
dsur_mode<int>E...A...DolbySurroundMode(from1to2)
(default1)
notindicatedE...A...NotIndicated(default)
onE...A...DolbySurroundEncoded
offE...A...NotDolbySurroundEncoded
original<int>E...A...OriginalBitStream(from1to1)
(default1)
dmix_mode<int>E...A...PreferredStereoDownmixMode(from1
to3)(default1)
notindicatedE...A...NotIndicated(default)
ltrtE...A...Lt/RtDownmixPreferred
loroE...A...Lo/RoDownmixPreferred
dpliiE...A...DolbyProLogicIIDownmixPreferred
ltrt_cmixlev<float>E...A...Lt/RtCenterMixLevel(from1to2)
(default1)
ltrt_surmixlev<float>E...A...Lt/RtSurroundMixLevel(from1to2)
(default1)
loro_cmixlev<float>E...A...Lo/RoCenterMixLevel(from1to2)
(default1)
loro_surmixlev<float>E...A...Lo/RoSurroundMixLevel(from1to2)
(default1)
dsurex_mode<int>E...A...DolbySurroundEXMode(from1to3)
(default1)
notindicatedE...A...NotIndicated(default)
onE...A...DolbySurroundEXEncoded
offE...A...NotDolbySurroundEXEncoded
dpliizE...A...DolbyProLogicIIzencoded
dheadphone_mode<int>E...A...DolbyHeadphoneMode(from1to2)
(default1)
notindicatedE...A...NotIndicated(default)
onE...A...DolbyHeadphoneEncoded
offE...A...NotDolbyHeadphoneEncoded
ad_conv_type<int>E...A...A/DConverterType(from1to1)
Page62

ffmpegcommandoptions(full).txt
(default1)
standardE...A...Standard(default)
hdcdE...A...HDCD
stereo_rematrixing<boolean>E...A...StereoRematrixing(defaulttrue)
channel_coupling<int>E...A...ChannelCoupling(from1to1)
(defaultauto)
autoE...A...SelectedbytheEncoder
cpl_start_band<int>E...A...CouplingStartBand(from1to15)
(defaultauto)
autoE...A...SelectedbytheEncoder
AC3decoderAVOptions:
drc_scale<float>.D..A...percentageofdynamicrangecompression
toapply(from0to6)(default1)
heavy_compr<boolean>.D..A...enableheavydynamicrangecompression
(defaultfalse)
target_level<int>.D..A...targetlevelindBFS(0notapplied)
(from31to0)(default0)
FixedPointAC3EncoderAVOptions:
per_frame_metadata<boolean>E...A...AllowChangingMetadataPerFrame
(defaultfalse)
center_mixlev<float>E...A...CenterMixLevel(from0to1)(default
0.594604)
surround_mixlev<float>E...A...SurroundMixLevel(from0to1)
(default0.5)
mixing_level<int>E...A...MixingLevel(from1to111)(default
1)
room_type<int>E...A...RoomType(from1to2)(default1)
notindicatedE...A...NotIndicated(default)
largeE...A...LargeRoom
smallE...A...SmallRoom
copyright<int>E...A...CopyrightBit(from1to1)(default
1)
dialnorm<int>E...A...DialogueLevel(dB)(from31to1)
(default31)
dsur_mode<int>E...A...DolbySurroundMode(from1to2)
(default1)
notindicatedE...A...NotIndicated(default)
onE...A...DolbySurroundEncoded
offE...A...NotDolbySurroundEncoded
original<int>E...A...OriginalBitStream(from1to1)
(default1)
dmix_mode<int>E...A...PreferredStereoDownmixMode(from1
to3)(default1)
notindicatedE...A...NotIndicated(default)
ltrtE...A...Lt/RtDownmixPreferred
loroE...A...Lo/RoDownmixPreferred
Page63

ffmpegcommandoptions(full).txt
dpliiE...A...DolbyProLogicIIDownmixPreferred
ltrt_cmixlev<float>E...A...Lt/RtCenterMixLevel(from1to2)
(default1)
ltrt_surmixlev<float>E...A...Lt/RtSurroundMixLevel(from1to2)
(default1)
loro_cmixlev<float>E...A...Lo/RoCenterMixLevel(from1to2)
(default1)
loro_surmixlev<float>E...A...Lo/RoSurroundMixLevel(from1to2)
(default1)
dsurex_mode<int>E...A...DolbySurroundEXMode(from1to3)
(default1)
notindicatedE...A...NotIndicated(default)
onE...A...DolbySurroundEXEncoded
offE...A...NotDolbySurroundEXEncoded
dpliizE...A...DolbyProLogicIIzencoded
dheadphone_mode<int>E...A...DolbyHeadphoneMode(from1to2)
(default1)
notindicatedE...A...NotIndicated(default)
onE...A...DolbyHeadphoneEncoded
offE...A...NotDolbyHeadphoneEncoded
ad_conv_type<int>E...A...A/DConverterType(from1to1)
(default1)
standardE...A...Standard(default)
hdcdE...A...HDCD
stereo_rematrixing<boolean>E...A...StereoRematrixing(defaulttrue)
channel_coupling<int>E...A...ChannelCoupling(from1to1)
(defaultauto)
autoE...A...SelectedbytheEncoder
cpl_start_band<int>E...A...CouplingStartBand(from1to15)
(defaultauto)
autoE...A...SelectedbytheEncoder
FixedPointAC3DecoderAVOptions:
drc_scale<float>.D..A...percentageofdynamicrangecompression
toapply(from0to6)(default1)
heavy_compr<boolean>.D..A...enableheavydynamicrangecompression
(defaultfalse)
alacencAVOptions:
min_prediction_order<int>E...A...(from1to30)(default4)
max_prediction_order<int>E...A...(from1to30)(default6)
alacAVOptions:
extra_bits_bug<boolean>.D..A...Forcenonstandarddecodingprocess
(defaultfalse)
APEdecoderAVOptions:
max_samples<int>.D..A...maximumnumberofsamplesdecodedper
Page64

ffmpegcommandoptions(full).txt
call(from1toINT_MAX)(default4608)
all.D..A...nomaximum.decodeallsamplesforeach
packetatonce
DCAdecoderAVOptions:
core_only<boolean>.D..A...Decodecoreonlywithoutextensions
(defaultfalse)
EAC3EncoderAVOptions:
per_frame_metadata<boolean>E...A...AllowChangingMetadataPerFrame
(defaultfalse)
mixing_level<int>E...A...MixingLevel(from1to111)(default
1)
room_type<int>E...A...RoomType(from1to2)(default1)
notindicatedE...A...NotIndicated(default)
largeE...A...LargeRoom
smallE...A...SmallRoom
copyright<int>E...A...CopyrightBit(from1to1)(default
1)
dialnorm<int>E...A...DialogueLevel(dB)(from31to1)
(default31)
dsur_mode<int>E...A...DolbySurroundMode(from1to2)
(default1)
notindicatedE...A...NotIndicated(default)
onE...A...DolbySurroundEncoded
offE...A...NotDolbySurroundEncoded
original<int>E...A...OriginalBitStream(from1to1)
(default1)
dmix_mode<int>E...A...PreferredStereoDownmixMode(from1
to3)(default1)
notindicatedE...A...NotIndicated(default)
ltrtE...A...Lt/RtDownmixPreferred
loroE...A...Lo/RoDownmixPreferred
dpliiE...A...DolbyProLogicIIDownmixPreferred
ltrt_cmixlev<float>E...A...Lt/RtCenterMixLevel(from1to2)
(default1)
ltrt_surmixlev<float>E...A...Lt/RtSurroundMixLevel(from1to2)
(default1)
loro_cmixlev<float>E...A...Lo/RoCenterMixLevel(from1to2)
(default1)
loro_surmixlev<float>E...A...Lo/RoSurroundMixLevel(from1to2)
(default1)
dsurex_mode<int>E...A...DolbySurroundEXMode(from1to3)
(default1)
notindicatedE...A...NotIndicated(default)
onE...A...DolbySurroundEXEncoded
offE...A...NotDolbySurroundEXEncoded
dpliizE...A...DolbyProLogicIIzencoded
Page65

ffmpegcommandoptions(full).txt
dheadphone_mode<int>E...A...DolbyHeadphoneMode(from1to2)
(default1)
notindicatedE...A...NotIndicated(default)
onE...A...DolbyHeadphoneEncoded
offE...A...NotDolbyHeadphoneEncoded
ad_conv_type<int>E...A...A/DConverterType(from1to1)
(default1)
standardE...A...Standard(default)
hdcdE...A...HDCD
stereo_rematrixing<boolean>E...A...StereoRematrixing(defaulttrue)
channel_coupling<int>E...A...ChannelCoupling(from1to1)
(defaultauto)
autoE...A...SelectedbytheEncoder
cpl_start_band<int>E...A...CouplingStartBand(from1to15)
(defaultauto)
autoE...A...SelectedbytheEncoder
EAC3decoderAVOptions:
drc_scale<float>.D..A...percentageofdynamicrangecompression
toapply(from0to6)(default1)
heavy_compr<boolean>.D..A...enableheavydynamicrangecompression
(defaultfalse)
target_level<int>.D..A...targetlevelindBFS(0notapplied)
(from31to0)(default0)
evrcAVOptions:
postfilter<boolean>.D..A...enablepostfilter(defaulttrue)
FLACencoderAVOptions:
lpc_coeff_precision<int>E...A...LPCcoefficientprecision(from0to
15)(default15)
lpc_type<int>E...A...LPCalgorithm(from1to3)(default
1)
noneE...A...
fixedE...A...
levinsonE...A...
choleskyE...A...
lpc_passes<int>E...A...NumberofpassestouseforCholesky
factorizationduringLPCanalysis(from1toINT_MAX)(default2)
min_partition_order<int>E...A...(from1to8)(default1)
max_partition_order<int>E...A...(from1to8)(default1)
prediction_order_method<int>E...A...Searchmethodforselecting
predictionorder(from1to5)(default1)
estimationE...A...
2levelE...A...
4levelE...A...
8levelE...A...
searchE...A...
Page66

ffmpegcommandoptions(full).txt
logE...A...
ch_mode<int>E...A...Stereodecorrelationmode(from1to
3)(defaultauto)
autoE...A...
indepE...A...
left_sideE...A...
right_sideE...A...
mid_sideE...A...
exact_rice_parameters<boolean>E...A...Calculatericeparametersexactly
(defaultfalse)
multi_dim_quant<boolean>E...A...Multidimensionalquantization(default
false)
min_prediction_order<int>E...A...(from1to32)(default1)
max_prediction_order<int>E...A...(from1to32)(default1)
FLACdecoderAVOptions:
use_buggy_lpc<boolean>.D..A...emulateoldbuggylavcbehavior
(defaultfalse)
G.723.1decoderAVOptions:
postfilter<boolean>.D..A...enablepostfilter(defaulttrue)
TTADecoderAVOptions:
password<string>.D..A...Setdecodingpassword
WavPackencoderAVOptions:
joint_stereo<boolean>E...A...(defaultauto)
optimize_mono<boolean>E...A...(defaultfalse)
g722decoderAVOptions:
bits_per_codeword<int>.D..A...BitsperG722codeword(from6to8)
(default8)
g726AVOptions:
code_size<int>E...A...Bitspercode(from2to5)(default4)
ClosedcaptionDecoderAVOptions:
real_time<boolean>.D...S..emitsubtitleeventsastheyare
decodedforrealtimedisplay(defaultfalse)
DVBSubDecoderAVOptions:
compute_edt<boolean>.D...S..computeendoftimeusingptsor
timeout(defaultfalse)
compute_clut<boolean>.D...S..computeclutwhennotavailable(1)or
always(1)ornever(0)(defaultauto)
dvb_substream<int>.D...S..(from1to63)(default1)
VOBSUBsubtitleencoderAVOptions:
Page67

ffmpegcommandoptions(full).txt
even_rows_fix<boolean>E....S..Makenumberofrowseven(workaround
forsomeplayers)(defaultfalse)
dvdsubdecAVOptions:
palette<string>.D...S..settheglobalpalette
ifo_palette<string>.D...S..obtaintheglobalpalettefrom.IFO
file
forced_subs_only<boolean>.D...S..Onlyshowforcedsubtitles(default
false)
PGSsubtitledecoderAVOptions:
forced_subs_only<boolean>.D...S..Onlyshowforcedsubtitles(default
false)
pjsdecoderAVOptions:
keep_ass_markup<boolean>.D...S..SetifASStagsmustbeescaped
(defaultfalse)
stldecoderAVOptions:
keep_ass_markup<boolean>.D...S..SetifASStagsmustbeescaped
(defaultfalse)
subviewer1decoderAVOptions:
keep_ass_markup<boolean>.D...S..SetifASStagsmustbeescaped
(defaultfalse)
textdecoderAVOptions:
keep_ass_markup<boolean>.D...S..SetifASStagsmustbeescaped
(defaultfalse)
vplayerdecoderAVOptions:
keep_ass_markup<boolean>.D...S..SetifASStagsmustbeescaped
(defaultfalse)
libilbcAVOptions:
mode<int>E...A...iLBCmode(20or30msframes)(from20
to30)(default20)
libilbcAVOptions:
enhance<int>.D..A...Enhancethedecodedaudio(addsdelay)
(from0to1)(default0)
libmp3lameencoderAVOptions:
reservoir<boolean>E...A...usebitreservoir(defaulttrue)
joint_stereo<boolean>E...A...usejointstereo(defaulttrue)
abr<boolean>E...A...useABR(defaultfalse)
libopencore_amrnbAVOptions:
Page68

ffmpegcommandoptions(full).txt
dtx<int>E...A...AllowDTX(generatecomfortnoise)
(from0to1)(default0)
libopenjpegAVOptions:
format<int>E..V....CodecFormat(from0to2)(default
jp2)
j2kE..V....
jp2E..V....
profile<int>E..V....(from0to4)(defaultjpeg2000)
jpeg2000E..V....
cinema2kE..V....
cinema4kE..V....
cinema_mode<int>E..V....DigitalCinema(from0to3)(default
off)
offE..V....
2k_24E..V....
2k_48E..V....
4k_24E..V....
prog_order<int>E..V....ProgressionOrder(from0to4)
(defaultlrcp)
lrcpE..V....
rlcpE..V....
rpclE..V....
pcrlE..V....
cprlE..V....
numresolution<int>E..V....(from0toINT_MAX)(default0)
numlayers<int>E..V....(from1to10)(default1)
disto_alloc<int>E..V....(from0to1)(default1)
fixed_alloc<int>E..V....(from0to1)(default0)
fixed_quality<int>E..V....(from0to1)(default0)
libopenjpegAVOptions:
lowqual<int>.D.V....Limitthenumberoflayersusedfor
decoding(from0toINT_MAX)(default0)
libopusAVOptions:
application<int>E...A...Intendedapplicationtype(from2048to
2051)(defaultaudio)
voipE...A...Favorimprovedspeechintelligibility
audioE...A...Favorfaithfulnesstotheinput
lowdelayE...A...Restricttoonlythelowestdelaymodes
frame_duration<float>E...A...Durationofaframeinmilliseconds
(from2.5to60)(default20)
packet_loss<int>E...A...Expectedpacketlosspercentage(from0
to100)(default0)
vbr<int>E...A...Variablebitratemode(from0to2)
(defaulton)
offE...A...Useconstantbitrate
Page69

ffmpegcommandoptions(full).txt
onE...A...Usevariablebitrate
constrainedE...A...UseconstrainedVBR
mapping_family<int>E...A...ChannelMappingFamily(from1to255)
(default1)
libschroedingerAVOptions:
noarith<int>E..V....Enablenoarith(from0to1)(default
1)
libspeexAVOptions:
abr<int>E...A...Useaveragebitrate(from0to1)
(default0)
cbr_quality<int>E...A...Setqualityvalue(0to10)forCBR
(from0to10)(default8)
frames_per_packet<int>E...A...Numberofframestoencodeineach
packet(from1to8)(default1)
vad<int>E...A...VoiceActivityDetection(from0to1)
(default0)
dtx<int>E...A...DiscontinuousTransmission(from0to
1)(default0)
libtwolameencoderAVOptions:
mode<int>E...A...MpegMode(from1to3)(defaultauto)
autoE...A...
stereoE...A...
joint_stereoE...A...
dual_channelE...A...
monoE...A...
psymodel<int>E...A...PsychoacousticModel(from1to4)
(default3)
energy_levels<int>E...A...enableenergylevels(from0to1)
(default0)
error_protection<int>E...A...enableCRCerrorprotection(from0to
1)(default0)
copyright<int>E...A...setMPEGAudioCopyrightflag(from0
to1)(default0)
original<int>E...A...setMPEGAudioOriginalflag(from0to
1)(default0)
verbosity<int>E...A...setlibraryoptputlevel(010)(from0
to10)(default0)
libvo_amrwbencAVOptions:
dtx<int>E...A...AllowDTX(generatecomfortnoise)
(from0to1)(default0)
libvorbisAVOptions:
iblock<double>E...A...Setstheimpulseblockbias(from15
to0)(default0)
Page70

ffmpegcommandoptions(full).txt
libvpxvp8encoderAVOptions:
autoaltref<boolean>E..V....Enableuseofalternatereference
frames(2passonly)(defaultauto)
laginframes<int>E..V....Numberofframestolookaheadfor
alternatereferenceframeselection(from1toINT_MAX)(default1)
arnrmaxframes<int>E..V....altrefnoisereductionmaxframecount
(from1toINT_MAX)(default1)
arnrstrength<int>E..V....altrefnoisereductionfilterstrength
(from1toINT_MAX)(default1)
arnrtype<int>E..V....altrefnoisereductionfiltertype
(from1toINT_MAX)(default1)
backwardE..V....
forwardE..V....
centeredE..V....
tune<int>E..V....Tunetheencodingtoaspecific
scenario(from1toINT_MAX)(default1)
psnrE..V....
ssimE..V....
deadline<int>E..V....Timetospendencoding,in
microseconds.(fromINT_MINtoINT_MAX)(defaultgood)
bestE..V....
goodE..V....
realtimeE..V....
errorresilient<flags>E..V....Errorresilienceconfiguration(default
0)
defaultE..V....Improveresiliencyagainstlossesof
wholeframes
partitionsE..V....Theframepartitionsareindependently
decodablebythebooldecoder,meaningthatpartitionscanbedecodedeventhough
earlierpartitionshavebeenlost.Notethatintrapredicitionisstilldoneover
thepartitionboundary.
maxintrarate<int>E..V....MaximumIframebitrate(pct)
0=unlimited(from1toINT_MAX)(default1)
crf<int>E..V....Selectthequalityforconstantquality
mode(from1to63)(default1)
staticthresh<int>E..V....Achangethresholdonblocksbelow
whichtheywillbeskippedbytheencoder(from0toINT_MAX)(default0)
dropthreshold<int>E..V....Framedropthreshold(fromINT_MINto
INT_MAX)(default0)
noisesensitivity<int>E..V....Noisesensitivity(from0to4)
(default0)
undershootpct<int>E..V....Datarateundershoot(min)target(%)
(from1to100)(default1)
overshootpct<int>E..V....Datarateovershoot(max)target(%)
(from1to1000)(default1)
cpuused<int>E..V....Quality/Speedratiomodifier(from16
to16)(default1)
Page71

ffmpegcommandoptions(full).txt
speed<int>E..V....(from16to16)(default1)
quality<int>E..V....(fromINT_MINtoINT_MAX)(default
good)
bestE..V....
goodE..V....
realtimeE..V....
vp8flags<flags>E..V....(default0)
error_resilientE..V....enableerrorresilience
altrefE..V....enableuseofalternatereference
frames(VP8/2passonly)
arnr_max_frames<int>E..V....altrefnoisereductionmaxframecount
(from0to15)(default0)
arnr_strength<int>E..V....altrefnoisereductionfilterstrength
(from0to6)(default3)
arnr_type<int>E..V....altrefnoisereductionfiltertype
(from1to3)(default3)
rc_lookahead<int>E..V....Numberofframestolookaheadfor
alternatereferenceframeselection(from0to25)(default25)
libvpxvp9encoderAVOptions:
autoaltref<boolean>E..V....Enableuseofalternatereference
frames(2passonly)(defaultauto)
laginframes<int>E..V....Numberofframestolookaheadfor
alternatereferenceframeselection(from1toINT_MAX)(default1)
arnrmaxframes<int>E..V....altrefnoisereductionmaxframecount
(from1toINT_MAX)(default1)
arnrstrength<int>E..V....altrefnoisereductionfilterstrength
(from1toINT_MAX)(default1)
arnrtype<int>E..V....altrefnoisereductionfiltertype
(from1toINT_MAX)(default1)
backwardE..V....
forwardE..V....
centeredE..V....
tune<int>E..V....Tunetheencodingtoaspecific
scenario(from1toINT_MAX)(default1)
psnrE..V....
ssimE..V....
deadline<int>E..V....Timetospendencoding,in
microseconds.(fromINT_MINtoINT_MAX)(defaultgood)
bestE..V....
goodE..V....
realtimeE..V....
errorresilient<flags>E..V....Errorresilienceconfiguration(default
0)
defaultE..V....Improveresiliencyagainstlossesof
wholeframes
partitionsE..V....Theframepartitionsareindependently
decodablebythebooldecoder,meaningthatpartitionscanbedecodedeventhough
Page72

ffmpegcommandoptions(full).txt
earlierpartitionshavebeenlost.Notethatintrapredicitionisstilldoneover
thepartitionboundary.
maxintrarate<int>E..V....MaximumIframebitrate(pct)
0=unlimited(from1toINT_MAX)(default1)
crf<int>E..V....Selectthequalityforconstantquality
mode(from1to63)(default1)
staticthresh<int>E..V....Achangethresholdonblocksbelow
whichtheywillbeskippedbytheencoder(from0toINT_MAX)(default0)
dropthreshold<int>E..V....Framedropthreshold(fromINT_MINto
INT_MAX)(default0)
noisesensitivity<int>E..V....Noisesensitivity(from0to4)
(default0)
undershootpct<int>E..V....Datarateundershoot(min)target(%)
(from1to100)(default1)
overshootpct<int>E..V....Datarateovershoot(max)target(%)
(from1to1000)(default1)
cpuused<int>E..V....Quality/Speedratiomodifier(from8
to8)(default1)
lossless<int>E..V....Losslessmode(from1to1)(default
1)
tilecolumns<int>E..V....Numberoftilecolumnstouse,log2
(from1to6)(default1)
tilerows<int>E..V....Numberoftilerowstouse,log2(from
1to2)(default1)
frameparallel<boolean>E..V....Enableframeparalleldecodability
features(defaultauto)
aqmode<int>E..V....adaptivequantizationmode(from1to
3)(default1)
noneE..V....Aqnotused
varianceE..V....VariancebasedAq
complexityE..V....ComplexitybasedAq
cyclicE..V....CyclicRefreshAq
speed<int>E..V....(from16to16)(default1)
quality<int>E..V....(fromINT_MINtoINT_MAX)(default
good)
bestE..V....
goodE..V....
realtimeE..V....
vp8flags<flags>E..V....(default0)
error_resilientE..V....enableerrorresilience
altrefE..V....enableuseofalternatereference
frames(VP8/2passonly)
arnr_max_frames<int>E..V....altrefnoisereductionmaxframecount
(from0to15)(default0)
arnr_strength<int>E..V....altrefnoisereductionfilterstrength
(from0to6)(default3)
arnr_type<int>E..V....altrefnoisereductionfiltertype
(from1to3)(default3)
Page73

ffmpegcommandoptions(full).txt
rc_lookahead<int>E..V....Numberofframestolookaheadfor
alternatereferenceframeselection(from0to25)(default25)
libwebpAVOptions:
lossless<int>E..V....Uselosslessmode(from0to1)
(default0)
preset<int>E..V....Configurationpreset(from1to5)
(defaultnone)
noneE..V....donotuseapreset
defaultE..V....defaultpreset
pictureE..V....digitalpicture,likeportrait,inner
shot
photoE..V....outdoorphotograph,withnatural
lighting
drawingE..V....handorlinedrawing,with
highcontrastdetails
iconE..V....smallsizedcolorfulimages
textE..V....textlike
cr_threshold<int>E..V....Conditionalreplenishmentthreshold
(from0toINT_MAX)(default0)
cr_size<int>E..V....Conditionalreplenishmentblocksize
(from0to256)(default16)
quality<float>E..V....Quality(from0to100)(default75)
libx264AVOptions:
preset<string>E..V....Settheencodingpreset(cf.x264
fullhelp)(default"medium")
tune<string>E..V....Tunetheencodingparams(cf.x264
fullhelp)
profile<string>E..V....Setprofilerestrictions(cf.x264
fullhelp)
fastfirstpass<boolean>E..V....Usefastsettingswhenencodingfirst
pass(defaulttrue)
level<string>E..V....Specifylevel(asdefinedbyAnnexA)
passlogfile<string>E..V....Filenamefor2passstats
wpredp<string>E..V....WeightedpredictionforPframes
a53cc<boolean>E..V....UseA53ClosedCaptions(ifavailable)
(defaultfalse)
x264opts<string>E..V....x264options
crf<float>E..V....Selectthequalityforconstantquality
mode(from1toFLT_MAX)(default1)
crf_max<float>E..V....InCRFmode,preventsVBVfromlowering
qualitybeyondthispoint.(from1toFLT_MAX)(default1)
qp<int>E..V....Constantquantizationparameterrate
controlmethod(from1toINT_MAX)(default1)
aqmode<int>E..V....AQmethod(from1toINT_MAX)(default
1)
noneE..V....
Page74

ffmpegcommandoptions(full).txt
varianceE..V....VarianceAQ(complexitymask)
autovarianceE..V....AutovarianceAQ
autovariancebiasedE..V....AutovarianceAQwithbiastodark
scenes
aqstrength<float>E..V....AQstrength.Reducesblockingand
blurringinflatandtexturedareas.(from1toFLT_MAX)(default1)
psy<boolean>E..V....Usepsychovisualoptimizations.
(defaultauto)
psyrd<string>E..V....Strengthofpsychovisualoptimization,
in<psyrd>:<psytrellis>format.
rclookahead<int>E..V....Numberofframestolookaheadfor
frametypeandratecontrol(from1toINT_MAX)(default1)
weightb<boolean>E..V....WeightedpredictionforBframes.
(defaultauto)
weightp<int>E..V....Weightedpredictionanalysismethod.
(from1toINT_MAX)(default1)
noneE..V....
simpleE..V....
smartE..V....
ssim<boolean>E..V....CalculateandprintSSIMstats.
(defaultauto)
intrarefresh<boolean>E..V....UsePeriodicIntraRefreshinsteadof
IDRframes.(defaultauto)
bluraycompat<boolean>E..V....Bluraycompatibilityworkarounds.
(defaultauto)
bbias<int>E..V....InfluenceshowoftenBframesareused
(fromINT_MINtoINT_MAX)(defaultINT_MIN)
bpyramid<int>E..V....KeepsomeBframesasreferences.(from
1toINT_MAX)(default1)
noneE..V....
strictE..V....Strictlyhierarchicalpyramid
normalE..V....Nonstrict(notBluraycompatible)
mixedrefs<boolean>E..V....Onereferenceperpartition,asopposed
toonereferencepermacroblock(defaultauto)
8x8dct<boolean>E..V....Highprofile8x8transform.(default
auto)
fastpskip<boolean>E..V....(defaultauto)
aud<boolean>E..V....Useaccessunitdelimiters.(default
auto)
mbtree<boolean>E..V....Usemacroblocktreeratecontrol.
(defaultauto)
deblock<string>E..V....Loopfilterparameters,in<alpha:beta>
form.
cplxblur<float>E..V....ReducefluctuationsinQP(beforecurve
compression)(from1toFLT_MAX)(default1)
partitions<string>E..V....Acommaseparatedlistofpartitionsto
consider.Possiblevalues:p8x8,p4x4,b8x8,i8x8,i4x4,none,all
directpred<int>E..V....DirectMVpredictionmode(from1to
Page75

ffmpegcommandoptions(full).txt
INT_MAX)(default1)
noneE..V....
spatialE..V....
temporalE..V....
autoE..V....
slicemaxsize<int>E..V....Limitthesizeofeachsliceinbytes
(from1toINT_MAX)(default1)
stats<string>E..V....Filenamefor2passstats
nalhrd<int>E..V....SignalHRDinformation(requires
vbvbufsize;cbrnotallowedin.mp4)(from1toINT_MAX)(default1)
noneE..V....
vbrE..V....
cbrE..V....
avcintraclass<int>E..V....AVCIntraclass50/100/200(from1to
200)(default1)
motionest<int>E..V....Setmotionestimationmethod(from1
to4)(default1)
diaE..V....
hexE..V....
umhE..V....
esaE..V....
tesaE..V....
forcedidr<boolean>E..V....Ifforcingkeyframes,forcethemasIDR
frames.(defaultauto)
coder<int>E..V....Codertype(from1to1)(default
default)
defaultE..V....
cavlcE..V....
cabacE..V....
vlcE..V....
acE..V....
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from1to2)(default1)
chromaoffset<int>E..V....QPdifferencebetweenchromaandluma
(fromINT_MINtoINT_MAX)(default1)
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default1)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default1)
x264params<string>E..V....Overridethex264configurationusinga
:separatedlistofkey=valueparameters
libx264rgbAVOptions:
preset<string>E..V....Settheencodingpreset(cf.x264
fullhelp)(default"medium")
tune<string>E..V....Tunetheencodingparams(cf.x264
fullhelp)
profile<string>E..V....Setprofilerestrictions(cf.x264
Page76

ffmpegcommandoptions(full).txt
fullhelp)
fastfirstpass<boolean>E..V....Usefastsettingswhenencodingfirst
pass(defaulttrue)
level<string>E..V....Specifylevel(asdefinedbyAnnexA)
passlogfile<string>E..V....Filenamefor2passstats
wpredp<string>E..V....WeightedpredictionforPframes
a53cc<boolean>E..V....UseA53ClosedCaptions(ifavailable)
(defaultfalse)
x264opts<string>E..V....x264options
crf<float>E..V....Selectthequalityforconstantquality
mode(from1toFLT_MAX)(default1)
crf_max<float>E..V....InCRFmode,preventsVBVfromlowering
qualitybeyondthispoint.(from1toFLT_MAX)(default1)
qp<int>E..V....Constantquantizationparameterrate
controlmethod(from1toINT_MAX)(default1)
aqmode<int>E..V....AQmethod(from1toINT_MAX)(default
1)
noneE..V....
varianceE..V....VarianceAQ(complexitymask)
autovarianceE..V....AutovarianceAQ
autovariancebiasedE..V....AutovarianceAQwithbiastodark
scenes
aqstrength<float>E..V....AQstrength.Reducesblockingand
blurringinflatandtexturedareas.(from1toFLT_MAX)(default1)
psy<boolean>E..V....Usepsychovisualoptimizations.
(defaultauto)
psyrd<string>E..V....Strengthofpsychovisualoptimization,
in<psyrd>:<psytrellis>format.
rclookahead<int>E..V....Numberofframestolookaheadfor
frametypeandratecontrol(from1toINT_MAX)(default1)
weightb<boolean>E..V....WeightedpredictionforBframes.
(defaultauto)
weightp<int>E..V....Weightedpredictionanalysismethod.
(from1toINT_MAX)(default1)
noneE..V....
simpleE..V....
smartE..V....
ssim<boolean>E..V....CalculateandprintSSIMstats.
(defaultauto)
intrarefresh<boolean>E..V....UsePeriodicIntraRefreshinsteadof
IDRframes.(defaultauto)
bluraycompat<boolean>E..V....Bluraycompatibilityworkarounds.
(defaultauto)
bbias<int>E..V....InfluenceshowoftenBframesareused
(fromINT_MINtoINT_MAX)(defaultINT_MIN)
bpyramid<int>E..V....KeepsomeBframesasreferences.(from
1toINT_MAX)(default1)
noneE..V....
Page77

ffmpegcommandoptions(full).txt
strictE..V....Strictlyhierarchicalpyramid
normalE..V....Nonstrict(notBluraycompatible)
mixedrefs<boolean>E..V....Onereferenceperpartition,asopposed
toonereferencepermacroblock(defaultauto)
8x8dct<boolean>E..V....Highprofile8x8transform.(default
auto)
fastpskip<boolean>E..V....(defaultauto)
aud<boolean>E..V....Useaccessunitdelimiters.(default
auto)
mbtree<boolean>E..V....Usemacroblocktreeratecontrol.
(defaultauto)
deblock<string>E..V....Loopfilterparameters,in<alpha:beta>
form.
cplxblur<float>E..V....ReducefluctuationsinQP(beforecurve
compression)(from1toFLT_MAX)(default1)
partitions<string>E..V....Acommaseparatedlistofpartitionsto
consider.Possiblevalues:p8x8,p4x4,b8x8,i8x8,i4x4,none,all
directpred<int>E..V....DirectMVpredictionmode(from1to
INT_MAX)(default1)
noneE..V....
spatialE..V....
temporalE..V....
autoE..V....
slicemaxsize<int>E..V....Limitthesizeofeachsliceinbytes
(from1toINT_MAX)(default1)
stats<string>E..V....Filenamefor2passstats
nalhrd<int>E..V....SignalHRDinformation(requires
vbvbufsize;cbrnotallowedin.mp4)(from1toINT_MAX)(default1)
noneE..V....
vbrE..V....
cbrE..V....
avcintraclass<int>E..V....AVCIntraclass50/100/200(from1to
200)(default1)
motionest<int>E..V....Setmotionestimationmethod(from1
to4)(default1)
diaE..V....
hexE..V....
umhE..V....
esaE..V....
tesaE..V....
forcedidr<boolean>E..V....Ifforcingkeyframes,forcethemasIDR
frames.(defaultauto)
coder<int>E..V....Codertype(from1to1)(default
default)
defaultE..V....
cavlcE..V....
cabacE..V....
vlcE..V....
Page78

ffmpegcommandoptions(full).txt
acE..V....
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from1to2)(default1)
chromaoffset<int>E..V....QPdifferencebetweenchromaandluma
(fromINT_MINtoINT_MAX)(default1)
sc_threshold<int>E..V....Scenechangethreshold(fromINT_MINto
INT_MAX)(default1)
noise_reduction<int>E..V....Noisereduction(fromINT_MINto
INT_MAX)(default1)
x264params<string>E..V....Overridethex264configurationusinga
:separatedlistofkey=valueparameters
libx265AVOptions:
crf<float>E..V....setthex265crf(from1toFLT_MAX)
(default1)
preset<string>E..V....setthex265preset
tune<string>E..V....setthex265tuneparameter
x265params<string>E..V....setthex265configurationusinga
:separatedlistofkey=valueparameters
libxavsAVOptions:
crf<float>E..V....Selectthequalityforconstantquality
mode(from1toFLT_MAX)(default1)
qp<int>E..V....Constantquantizationparameterrate
controlmethod(from1toINT_MAX)(default1)
bbias<int>E..V....InfluenceshowoftenBframesareused
(fromINT_MINtoINT_MAX)(defaultINT_MIN)
cplxblur<float>E..V....ReducefluctuationsinQP(beforecurve
compression)(from1toFLT_MAX)(default1)
directpred<int>E..V....DirectMVpredictionmode(from1to
INT_MAX)(default1)
noneE..V....
spatialE..V....
temporalE..V....
autoE..V....
aud<boolean>E..V....Useaccessunitdelimiters.(default
auto)
mbtree<boolean>E..V....Usemacroblocktreeratecontrol.
(defaultauto)
mixedrefs<boolean>E..V....Onereferenceperpartition,asopposed
toonereferencepermacroblock(defaultauto)
fastpskip<boolean>E..V....(defaultauto)
motionest<int>E..V....Setmotionestimationmethod(from1
to4)(default1)
diaE..V....
hexE..V....
umhE..V....
esaE..V....
Page79

ffmpegcommandoptions(full).txt
tesaE..V....
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from0to2)(default0)
chromaoffset<int>E..V....QPdifferencebetweenchromaandluma
(fromINT_MINtoINT_MAX)(default0)
sc_threshold<int>E..V....Scenechangethreshold(from0to
INT_MAX)(default0)
noise_reduction<int>E..V....Noisereduction(from0toINT_MAX)
(default0)
libxvidAVOptions:
lumi_aq<int>E..V....LuminancemaskingAQ(from0to1)
(default0)
variance_aq<int>E..V....VarianceAQ(from0to1)(default0)
ssim<int>E..V....ShowSSIMinformationtostdout(from0
to2)(defaultoff)
offE..V....
avgE..V....
frameE..V....
ssim_acc<int>E..V....SSIMaccuracy(from0to4)(default2)
gmc<int>E..V....useGMC(from0to1)(default0)
me_quality<int>E..V....Motionestimationquality(from0to6)
(default0)
mpeg_quant<int>E..V....UseMPEGquantizersinsteadofH.263
(from0to1)(default0)
libopenh264encAVOptions:
slice_mode<int>E..V....setslicemode(from0to4)(default
fixed)
fixedE..V....afixednumberofslices
dynE..V....Sizelimited(compatibilityname)
sizelimitedE..V....Sizelimited
loopfilter<int>E..V....enableloopfilter(from0to1)
(default1)
profile<string>E..V....setprofilerestrictions
max_nal_size<int>E..V....setmaximumNALsizeinbytes(from0
toINT_MAX)(default0)
allow_skip_frames<boolean>E..V....allowskippingframestohitthetarget
bitrate(defaultfalse)
cabac<int>E..V....Enablecabac(from0to1)(default0)
h264_nvencAVOptions:
preset<int>E..V....Settheencodingpreset(from0to11)
(defaultmedium)
defaultE..V....
slowE..V....hq2passes
mediumE..V....hq1pass
fastE..V....hp1pass
Page80

ffmpegcommandoptions(full).txt
hpE..V....
hqE..V....
bdE..V....
llE..V....lowlatency
llhqE..V....lowlatencyhq
llhpE..V....lowlatencyhp
losslessE..V....
losslesshpE..V....
profile<int>E..V....Settheencodingprofile(from0to3)
(defaultmain)
baselineE..V....
mainE..V....
highE..V....
high444pE..V....
level<int>E..V....Settheencodinglevelrestriction
(from0to51)(defaultauto)
autoE..V....
1E..V....
1.0E..V....
1bE..V....
1.0bE..V....
1.1E..V....
1.2E..V....
1.3E..V....
2E..V....
2.0E..V....
2.1E..V....
2.2E..V....
3E..V....
3.0E..V....
3.1E..V....
3.2E..V....
4E..V....
4.0E..V....
4.1E..V....
4.2E..V....
5E..V....
5.0E..V....
5.1E..V....
rc<int>E..V....Overridethepresetratecontrol(from
1toINT_MAX)(default1)
constqpE..V....ConstantQPmode
vbrE..V....Variablebitratemode
cbrE..V....Constantbitratemode
vbr_minqpE..V....VariablebitratemodewithMinQP
ll_2pass_qualityE..V....Multipassoptimizedforimagequality
(onlyforlowlatencypresets)
ll_2pass_sizeE..V....Multipassoptimizedforconstantframe
Page81

ffmpegcommandoptions(full).txt
size(onlyforlowlatencypresets)
vbr_2passE..V....Multipassvariablebitratemode
rclookahead<int>E..V....Numberofframestolookaheadfor
ratecontrol(from1toINT_MAX)(default1)
surfaces<int>E..V....Numberofconcurrentsurfaces(from0
toINT_MAX)(default32)
cbr<boolean>E..V....Usecbrencodingmode(defaultfalse)
2pass<boolean>E..V....Use2passencodingmode(defaultauto)
gpu<int>E..V....SelectswhichNVENCcapableGPUtouse.
FirstGPUis0,secondis1,andsoon.(from2toINT_MAX)(defaultany)
anyE..V....Pickthefirstdeviceavailable
listE..V....Listtheavailabledevices
delay<int>E..V....Delayframeoutputbythegivenamount
offrames(from0toINT_MAX)(defaultINT_MAX)
h264_qsvencoderAVOptions:
async_depth<int>E..V....Maximumprocessingparallelism(from0
toINT_MAX)(default4)
avbr_accuracy<int>E..V....AccuracyoftheAVBRratecontrol(from
0toINT_MAX)(default0)
avbr_convergence<int>E..V....ConvergenceoftheAVBRratecontrol
(from0toINT_MAX)(default0)
preset<int>E..V....(from1to7)(defaultmedium)
veryfastE..V....
fasterE..V....
fastE..V....
mediumE..V....
slowE..V....
slowerE..V....
veryslowE..V....
vcm<int>E..V....Usethevideoconferencingmode
ratecontrol(from0to1)(default0)
rdo<int>E..V....Enableratedistortionoptimization
(from1to1)(default1)
max_frame_size<int>E..V....Maximumencodedframesizeinbytes
(from1to65535)(default1)
max_slice_size<int>E..V....Maximumencodedslicesizeinbytes
(from1to65535)(default1)
bitrate_limit<int>E..V....Togglebitratelimitations(from1to
1)(default1)
mbbrc<int>E..V....MBlevelbitratecontrol(from1to1)
(default1)
extbrc<int>E..V....Extendedbitratecontrol(from1to1)
(default1)
adaptive_i<int>E..V....AdaptiveIframeplacement(from1to
1)(default1)
adaptive_b<int>E..V....AdaptiveBframeplacement(from1to
1)(default1)
Page82

ffmpegcommandoptions(full).txt
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from1to1)(default1)
cavlc<int>E..V....EnableCAVLC(from0to1)(default0)
idr_interval<int>E..V....Distance(inIframes)betweenIDR
frames(from0toINT_MAX)(default0)
pic_timing_sei<int>E..V....InsertpicturetimingSEIwith
pic_struct_syntaxelement(from0to1)(default1)
single_sei_nal_unit<int>E..V....PutalltheSEImessagesintoone
NALU(from1to1)(default1)
max_dec_frame_buffering<int>E..V....Maximumnumberofframesbuffered
intheDPB(from0to65535)(default0)
look_ahead<int>E..V....UseVBRalgorithmwithlookahead(from
0to1)(default1)
look_ahead_depth<int>E..V....Depthoflookaheadinnumberframes
(from0to100)(default0)
look_ahead_downsampling<int>E..V....(from0to2)(defaultunknown)
unknownE..V....
offE..V....
2xE..V....
int_ref_type<int>E..V....Intrarefreshtype(from1to65535)
(default1)
noneE..V....
verticalE..V....
int_ref_cycle_size<int>E..V....Numberofframesintheintrarefresh
cycle(from1to65535)(default1)
int_ref_qp_delta<int>E..V....QPdifferencefortherefreshMBs(from
32768to32767)(default32768)
recovery_point_sei<int>E..V....InsertrecoverypointSEImessages
(from1to1)(default1)
trellis<flags>E..V....Trellisquantization(default0)
offE..V....
IE..V....
PE..V....
BE..V....
profile<int>E..V....(from0toINT_MAX)(defaultunknown)
unknownE..V....
baselineE..V....
mainE..V....
highE..V....
a53cc<int>E..V....UseA53ClosedCaptions(ifavailable)
(from0to1)(default0)
nvencAVOptions:
preset<int>E..V....Settheencodingpreset(from0to11)
(defaultmedium)
defaultE..V....
slowE..V....hq2passes
mediumE..V....hq1pass
Page83

ffmpegcommandoptions(full).txt
fastE..V....hp1pass
hpE..V....
hqE..V....
bdE..V....
llE..V....lowlatency
llhqE..V....lowlatencyhq
llhpE..V....lowlatencyhp
losslessE..V....
losslesshpE..V....
profile<int>E..V....Settheencodingprofile(from0to3)
(defaultmain)
baselineE..V....
mainE..V....
highE..V....
high444pE..V....
level<int>E..V....Settheencodinglevelrestriction
(from0to51)(defaultauto)
autoE..V....
1E..V....
1.0E..V....
1bE..V....
1.0bE..V....
1.1E..V....
1.2E..V....
1.3E..V....
2E..V....
2.0E..V....
2.1E..V....
2.2E..V....
3E..V....
3.0E..V....
3.1E..V....
3.2E..V....
4E..V....
4.0E..V....
4.1E..V....
4.2E..V....
5E..V....
5.0E..V....
5.1E..V....
rc<int>E..V....Overridethepresetratecontrol(from
1toINT_MAX)(default1)
constqpE..V....ConstantQPmode
vbrE..V....Variablebitratemode
cbrE..V....Constantbitratemode
vbr_minqpE..V....VariablebitratemodewithMinQP
ll_2pass_qualityE..V....Multipassoptimizedforimagequality
(onlyforlowlatencypresets)
Page84

ffmpegcommandoptions(full).txt
ll_2pass_sizeE..V....Multipassoptimizedforconstantframe
size(onlyforlowlatencypresets)
vbr_2passE..V....Multipassvariablebitratemode
rclookahead<int>E..V....Numberofframestolookaheadfor
ratecontrol(from1toINT_MAX)(default1)
surfaces<int>E..V....Numberofconcurrentsurfaces(from0
toINT_MAX)(default32)
cbr<boolean>E..V....Usecbrencodingmode(defaultfalse)
2pass<boolean>E..V....Use2passencodingmode(defaultauto)
gpu<int>E..V....SelectswhichNVENCcapableGPUtouse.
FirstGPUis0,secondis1,andsoon.(from2toINT_MAX)(defaultany)
anyE..V....Pickthefirstdeviceavailable
listE..V....Listtheavailabledevices
delay<int>E..V....Delayframeoutputbythegivenamount
offrames(from0toINT_MAX)(defaultINT_MAX)
nvenc_h264AVOptions:
preset<int>E..V....Settheencodingpreset(from0to11)
(defaultmedium)
defaultE..V....
slowE..V....hq2passes
mediumE..V....hq1pass
fastE..V....hp1pass
hpE..V....
hqE..V....
bdE..V....
llE..V....lowlatency
llhqE..V....lowlatencyhq
llhpE..V....lowlatencyhp
losslessE..V....
losslesshpE..V....
profile<int>E..V....Settheencodingprofile(from0to3)
(defaultmain)
baselineE..V....
mainE..V....
highE..V....
high444pE..V....
level<int>E..V....Settheencodinglevelrestriction
(from0to51)(defaultauto)
autoE..V....
1E..V....
1.0E..V....
1bE..V....
1.0bE..V....
1.1E..V....
1.2E..V....
1.3E..V....
2E..V....
Page85

ffmpegcommandoptions(full).txt
2.0E..V....
2.1E..V....
2.2E..V....
3E..V....
3.0E..V....
3.1E..V....
3.2E..V....
4E..V....
4.0E..V....
4.1E..V....
4.2E..V....
5E..V....
5.0E..V....
5.1E..V....
rc<int>E..V....Overridethepresetratecontrol(from
1toINT_MAX)(default1)
constqpE..V....ConstantQPmode
vbrE..V....Variablebitratemode
cbrE..V....Constantbitratemode
vbr_minqpE..V....VariablebitratemodewithMinQP
ll_2pass_qualityE..V....Multipassoptimizedforimagequality
(onlyforlowlatencypresets)
ll_2pass_sizeE..V....Multipassoptimizedforconstantframe
size(onlyforlowlatencypresets)
vbr_2passE..V....Multipassvariablebitratemode
rclookahead<int>E..V....Numberofframestolookaheadfor
ratecontrol(from1toINT_MAX)(default1)
surfaces<int>E..V....Numberofconcurrentsurfaces(from0
toINT_MAX)(default32)
cbr<boolean>E..V....Usecbrencodingmode(defaultfalse)
2pass<boolean>E..V....Use2passencodingmode(defaultauto)
gpu<int>E..V....SelectswhichNVENCcapableGPUtouse.
FirstGPUis0,secondis1,andsoon.(from2toINT_MAX)(defaultany)
anyE..V....Pickthefirstdeviceavailable
listE..V....Listtheavailabledevices
delay<int>E..V....Delayframeoutputbythegivenamount
offrames(from0toINT_MAX)(defaultINT_MAX)
nvenc_hevcAVOptions:
preset<int>E..V....Settheencodingpreset(from0to11)
(defaultmedium)
defaultE..V....
slowE..V....hq2passes
mediumE..V....hq1pass
fastE..V....hp1pass
hpE..V....
hqE..V....
bdE..V....
Page86

ffmpegcommandoptions(full).txt
llE..V....lowlatency
llhqE..V....lowlatencyhq
llhpE..V....lowlatencyhp
losslessE..V....lossless
losslesshpE..V....losslesshp
profile<int>E..V....Settheencodingprofile(from0to2)
(defaultmain)
mainE..V....
main10E..V....
level<int>E..V....Settheencodinglevelrestriction
(from0to186)(defaultauto)
autoE..V....
1E..V....
1.0E..V....
2E..V....
2.0E..V....
2.1E..V....
3E..V....
3.0E..V....
3.1E..V....
4E..V....
4.0E..V....
4.1E..V....
5E..V....
5.0E..V....
5.1E..V....
5.2E..V....
6E..V....
6.0E..V....
6.1E..V....
6.2E..V....
tier<int>E..V....Settheencodingtier(from0to1)
(defaultmain)
mainE..V....
highE..V....
rc<int>E..V....Overridethepresetratecontrol(from
1toINT_MAX)(default1)
constqpE..V....ConstantQPmode
vbrE..V....Variablebitratemode
cbrE..V....Constantbitratemode
vbr_minqpE..V....VariablebitratemodewithMinQP
ll_2pass_qualityE..V....Multipassoptimizedforimagequality
(onlyforlowlatencypresets)
ll_2pass_sizeE..V....Multipassoptimizedforconstantframe
size(onlyforlowlatencypresets)
vbr_2passE..V....Multipassvariablebitratemode
rclookahead<int>E..V....Numberofframestolookaheadfor
ratecontrol(from1toINT_MAX)(default1)
Page87

ffmpegcommandoptions(full).txt
surfaces<int>E..V....Numberofconcurrentsurfaces(from0
toINT_MAX)(default32)
cbr<boolean>E..V....Usecbrencodingmode(defaultfalse)
2pass<boolean>E..V....Use2passencodingmode(defaultauto)
gpu<int>E..V....SelectswhichNVENCcapableGPUtouse.
FirstGPUis0,secondis1,andsoon.(from2toINT_MAX)(default1)
delay<int>E..V....Delayframeoutputbythegivenamount
offrames(from0toINT_MAX)(defaultINT_MAX)
hevc_nvencAVOptions:
preset<int>E..V....Settheencodingpreset(from0to11)
(defaultmedium)
defaultE..V....
slowE..V....hq2passes
mediumE..V....hq1pass
fastE..V....hp1pass
hpE..V....
hqE..V....
bdE..V....
llE..V....lowlatency
llhqE..V....lowlatencyhq
llhpE..V....lowlatencyhp
losslessE..V....lossless
losslesshpE..V....losslesshp
profile<int>E..V....Settheencodingprofile(from0to2)
(defaultmain)
mainE..V....
main10E..V....
level<int>E..V....Settheencodinglevelrestriction
(from0to186)(defaultauto)
autoE..V....
1E..V....
1.0E..V....
2E..V....
2.0E..V....
2.1E..V....
3E..V....
3.0E..V....
3.1E..V....
4E..V....
4.0E..V....
4.1E..V....
5E..V....
5.0E..V....
5.1E..V....
5.2E..V....
6E..V....
6.0E..V....
Page88

ffmpegcommandoptions(full).txt
6.1E..V....
6.2E..V....
tier<int>E..V....Settheencodingtier(from0to1)
(defaultmain)
mainE..V....
highE..V....
rc<int>E..V....Overridethepresetratecontrol(from
1toINT_MAX)(default1)
constqpE..V....ConstantQPmode
vbrE..V....Variablebitratemode
cbrE..V....Constantbitratemode
vbr_minqpE..V....VariablebitratemodewithMinQP
ll_2pass_qualityE..V....Multipassoptimizedforimagequality
(onlyforlowlatencypresets)
ll_2pass_sizeE..V....Multipassoptimizedforconstantframe
size(onlyforlowlatencypresets)
vbr_2passE..V....Multipassvariablebitratemode
rclookahead<int>E..V....Numberofframestolookaheadfor
ratecontrol(from1toINT_MAX)(default1)
surfaces<int>E..V....Numberofconcurrentsurfaces(from0
toINT_MAX)(default32)
cbr<boolean>E..V....Usecbrencodingmode(defaultfalse)
2pass<boolean>E..V....Use2passencodingmode(defaultauto)
gpu<int>E..V....SelectswhichNVENCcapableGPUtouse.
FirstGPUis0,secondis1,andsoon.(from2toINT_MAX)(default1)
delay<int>E..V....Delayframeoutputbythegivenamount
offrames(from0toINT_MAX)(defaultINT_MAX)
hevc_qsvencoderAVOptions:
async_depth<int>E..V....Maximumprocessingparallelism(from0
toINT_MAX)(default4)
avbr_accuracy<int>E..V....AccuracyoftheAVBRratecontrol(from
0toINT_MAX)(default0)
avbr_convergence<int>E..V....ConvergenceoftheAVBRratecontrol
(from0toINT_MAX)(default0)
preset<int>E..V....(from1to7)(defaultmedium)
veryfastE..V....
fasterE..V....
fastE..V....
mediumE..V....
slowE..V....
slowerE..V....
veryslowE..V....
vcm<int>E..V....Usethevideoconferencingmode
ratecontrol(from0to1)(default0)
rdo<int>E..V....Enableratedistortionoptimization
(from1to1)(default1)
max_frame_size<int>E..V....Maximumencodedframesizeinbytes
Page89

ffmpegcommandoptions(full).txt
(from1to65535)(default1)
max_slice_size<int>E..V....Maximumencodedslicesizeinbytes
(from1to65535)(default1)
bitrate_limit<int>E..V....Togglebitratelimitations(from1to
1)(default1)
mbbrc<int>E..V....MBlevelbitratecontrol(from1to1)
(default1)
extbrc<int>E..V....Extendedbitratecontrol(from1to1)
(default1)
adaptive_i<int>E..V....AdaptiveIframeplacement(from1to
1)(default1)
adaptive_b<int>E..V....AdaptiveBframeplacement(from1to
1)(default1)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from1to1)(default1)
cavlc<int>E..V....EnableCAVLC(from0to1)(default0)
load_plugin<int>E..V....Auserplugintoloadinaninternal
session(from0to2)(defaulthevc_sw)
noneE..V....
hevc_swE..V....
hevc_hwE..V....
load_plugins<string>E..V....A:separatelistofhexadecimalplugin
UIDstoloadinaninternalsession(default"")
profile<int>E..V....(from0toINT_MAX)(defaultunknown)
unknownE..V....
mainE..V....
main10E..V....
mainspE..V....
mpeg2_qsvencoderAVOptions:
async_depth<int>E..V....Maximumprocessingparallelism(from0
toINT_MAX)(default4)
avbr_accuracy<int>E..V....AccuracyoftheAVBRratecontrol(from
0toINT_MAX)(default0)
avbr_convergence<int>E..V....ConvergenceoftheAVBRratecontrol
(from0toINT_MAX)(default0)
preset<int>E..V....(from1to7)(defaultmedium)
veryfastE..V....
fasterE..V....
fastE..V....
mediumE..V....
slowE..V....
slowerE..V....
veryslowE..V....
vcm<int>E..V....Usethevideoconferencingmode
ratecontrol(from0to1)(default0)
rdo<int>E..V....Enableratedistortionoptimization
(from1to1)(default1)
Page90

ffmpegcommandoptions(full).txt
max_frame_size<int>E..V....Maximumencodedframesizeinbytes
(from1to65535)(default1)
max_slice_size<int>E..V....Maximumencodedslicesizeinbytes
(from1to65535)(default1)
bitrate_limit<int>E..V....Togglebitratelimitations(from1to
1)(default1)
mbbrc<int>E..V....MBlevelbitratecontrol(from1to1)
(default1)
extbrc<int>E..V....Extendedbitratecontrol(from1to1)
(default1)
adaptive_i<int>E..V....AdaptiveIframeplacement(from1to
1)(default1)
adaptive_b<int>E..V....AdaptiveBframeplacement(from1to
1)(default1)
b_strategy<int>E..V....StrategytochoosebetweenI/P/Bframes
(from1to1)(default1)
cavlc<int>E..V....EnableCAVLC(from0to1)(default0)
profile<int>E..V....(from0toINT_MAX)(defaultunknown)
unknownE..V....
simpleE..V....
mainE..V....
highE..V....
AVFormatContextAVOptions:
avioflags<flags>ED......(default0)
directED......reducebuffering
probesize<int64>.D......setprobingsize(from32toI64_MAX)
(default5e+006)
formatprobesize<int>.D......numberofbytestoprobefileformat
(from0to2.14748e+009)(default1.04858e+006)
packetsize<int>E.......setpacketsize(from0toINT_MAX)
(default0)
fflags<flags>ED......(defaultflush_packets)
flush_packetsE.......reducethelatencybyflushingout
packetsimmediately
ignidx.D......ignoreindex
genpts.D......generatepts
nofillin.D......donotfillinmissingvaluesthatcan
beexactlycalculated
noparse.D......disableAVParsers,thisneedsnofillin
too
igndts.D......ignoredts
discardcorrupt.D......discardcorruptedframes
sortdts.D......trytointerleaveoutputtedpacketsby
dts
keepside.D......don'tmergesidedata
fastseek.D......fastbutinaccurateseeks
latmE.......enableRTPMP4ALATMpayload
Page91

ffmpegcommandoptions(full).txt
nobuffer.D......reducethelatencyintroducedby
optionalbuffering
bitexactE.......donotwriterandom/volatiledata
seek2any<boolean>.D......allowseekingtononkeyframeson
demuxerlevelwhensupported(defaultfalse)
analyzeduration<int64>.D......specifyhowmanymicrosecondsare
analyzedtoprobetheinput(from0toI64_MAX)(default0)
cryptokey<binary>.D......decryptionkey
indexmem<int>.D......maxmemoryusedfortimestampindex
(perstream)(from0toINT_MAX)(default1.04858e+006)
rtbufsize<int>.D......maxmemoryusedforbufferingrealtime
frames(from0toINT_MAX)(default3.04128e+006)
fdebug<flags>ED......printspecificdebuginfo(default0)
tsED......
max_delay<int>ED......maximummuxingordemuxingdelayin
microseconds(from1toINT_MAX)(default1)
start_time_realtime<int64>E.......wallclocktimewhenstreambegins
(PTS==0)(fromI64_MINtoI64_MAX)(defaultI64_MIN)
fpsprobesize<int>.D......numberofframesusedtoprobefps
(from1to2.14748e+009)(default1)
audio_preload<int>E.......microsecondsbywhichaudiopackets
shouldbeinterleavedearlier(from0to2.14748e+009)(default0)
chunk_duration<int>E.......microsecondsforeachchunk(from0to
2.14748e+009)(default0)
chunk_size<int>E.......sizeinbytesforeachchunk(from0to
2.14748e+009)(default0)
f_err_detect<flags>.D......seterrordetectionflags(deprecated;
useerr_detect,saveviaavconv)(defaultcrccheck)
crccheck.D......verifyembeddedCRCs
bitstream.D......detectbitstreamspecification
deviations
buffer.D......detectimproperbitstreamlength
explode.D......abortdecodingonminorerrordetection
ignore_err.D......ignoreerrors
careful.D......considerthingsthatviolatethespec,
arefasttocheckandhavenotbeenseeninthewildaserrors
compliant.D......considerallspecnoncomplianciesas
errors
aggressive.D......considerthingsthatasaneencoder
shouldn'tdoasanerror
err_detect<flags>.D......seterrordetectionflags(default
crccheck)
crccheck.D......verifyembeddedCRCs
bitstream.D......detectbitstreamspecification
deviations
buffer.D......detectimproperbitstreamlength
explode.D......abortdecodingonminorerrordetection
ignore_err.D......ignoreerrors
Page92

ffmpegcommandoptions(full).txt
careful.D......considerthingsthatviolatethespec,
arefasttocheckandhavenotbeenseeninthewildaserrors
compliant.D......considerallspecnoncomplianciesas
errors
aggressive.D......considerthingsthatasaneencoder
shouldn'tdoasanerror
use_wallclock_as_timestamps<boolean>.D......usewallclockastimestamps
(defaultfalse)
skip_initial_bytes<int64>.D......setnumberofbytestoskipbefore
readingheaderandframes(from0toI64_MAX)(default0)
correct_ts_overflow<boolean>.D......correctsingletimestampoverflows
(defaulttrue)
flush_packets<boolean>E.......enableflushingoftheI/Ocontext
aftereachpacket(defaulttrue)
metadata_header_padding<int>E.......setnumberofbytestobewritten
aspaddinginametadataheader(from1toINT_MAX)(default1)
output_ts_offset<duration>E.......setoutputtimestampoffset(default0)
max_interleave_delta<int64>E.......maximumbufferingdurationfor
interleaving(from0toI64_MAX)(default1e+007)
f_strict<int>ED......howstrictlytofollowthestandards
(deprecated;usestrict,saveviaavconv)(fromINT_MINtoINT_MAX)(default
normal)
veryED......strictlyconformtoaoldermorestrict
versionofthespecorreferencesoftware
strictED......strictlyconformtoallthethingsin
thespecnomatterwhattheconsequences
normalED......
unofficialED......allowunofficialextensions
experimentalED......allownonstandardizedexperimental
variants
strict<int>ED......howstrictlytofollowthestandards
(fromINT_MINtoINT_MAX)(defaultnormal)
veryED......strictlyconformtoaoldermorestrict
versionofthespecorreferencesoftware
strictED......strictlyconformtoallthethingsin
thespecnomatterwhattheconsequences
normalED......
unofficialED......allowunofficialextensions
experimentalED......allownonstandardizedexperimental
variants
max_ts_probe<int>.D......maximumnumberofpacketstoreadwhile
waitingforthefirsttimestamp(from0toINT_MAX)(default50)
avoid_negative_ts<int>E.......shifttimestampssotheystartat0
(from1to2)(defaultauto)
autoE.......enabledwhenrequiredbytargetformat
disabledE.......donotchangetimestamps
make_non_negativeE.......shifttimestampssotheyarenon
negative
Page93

ffmpegcommandoptions(full).txt
make_zeroE.......shifttimestampssotheystartat0
dump_separator<string>ED......setinformationdumpfieldseparator
(default",")
codec_whitelist<string>.D......Listofdecodersthatareallowedtobe
used
format_whitelist<string>.D......Listofdemuxersthatareallowedtobe
used
protocol_whitelist<string>.D......Listofprotocolsthatareallowedto
beused
protocol_blacklist<string>.D......Listofprotocolsthatarenotallowed
tobeused
AVIOContextAVOptions:
protocol_whitelist<string>.D......Listofprotocolsthatareallowedto
beused
URLContextAVOptions:
protocol_whitelist<string>.D......Listofprotocolsthatareallowedto
beused
protocol_blacklist<string>.D......Listofprotocolsthatarenotallowed
tobeused
rw_timeout<int64>ED......TimeoutforIOoperations(in
microseconds)(from0toI64_MAX)(default0)
AsyncAVOptions:
blurayAVOptions:
playlist<int>.D......(from1to99999)(default1)
angle<int>.D......(from0to254)(default0)
chapter<int>.D......(from1to65534)(default1)
CacheAVOptions:
read_ahead_limit<int>.D......Amountinbytesthatmaybereadahead
whenseekingisn'tsupported,1forunlimited(from1toINT_MAX)(default
65536)
cryptoAVOptions:
key<binary>ED......AESencryption/decryptionkey
iv<binary>ED......AESencryption/decryption
initializationvector
decryption_key<binary>.D......AESdecryptionkey
decryption_iv<binary>.D......AESdecryptioninitializationvector
encryption_key<binary>E.......AESencryptionkey
encryption_iv<binary>E.......AESencryptioninitializationvector
fileAVOptions:
truncate<boolean>E.......truncateexistingfilesonwrite
(defaulttrue)
Page94

ffmpegcommandoptions(full).txt
blocksize<int>E.......setI/Ooperationmaximumblocksize
(from1toINT_MAX)(defaultINT_MAX)
follow<int>.D......Followafileasitisbeingwritten
(from0to1)(default0)
ftpAVOptions:
timeout<int>ED......settimeoutofsocketI/Ooperations
(from1toINT_MAX)(default1)
ftpwriteseekable<boolean>E.......controlseekabilityofconnection
duringencoding(defaultfalse)
ftpanonymouspassword<string>ED......passwordforanonymouslogin.
Emailaddressshouldbeused.
httpAVOptions:
seekable<boolean>.D......controlseekabilityofconnection
(defaultauto)
chunked_post<boolean>E.......usechunkedtransferencodingforposts
(defaulttrue)
http_proxy<string>ED......setHTTPproxytotunnelthrough
headers<string>ED......setcustomHTTPheaders,canoverride
builtindefaultheaders
content_type<string>ED......setaspecificcontenttypeforthe
POSTmessages
user_agent<string>.D......overrideUserAgentheader(default
"Lavf/57.48.101")
useragent<string>.D......overrideUserAgentheader(default
"Lavf/57.48.101")
multiple_requests<boolean>ED......usepersistentconnections(default
false)
post_data<binary>ED......setcustomHTTPpostdata
cookies<string>.D......setcookiestobesentinapplicable
futurerequests,usenewlinedelimitedSetCookieHTTPfieldvaluesyntax
icy<boolean>.D......requestICYmetadata(defaulttrue)
auth_type<int>ED......HTTPauthenticationtype(from0to1)
(defaultnone)
noneED......Noauthmethodset,autodetect
basicED......HTTPbasicauthentication
send_expect_100<boolean>E.......ForcesendinganExpect:100continue
headerforPOST(defaultfalse)
location<string>ED......Theactuallocationofthedata
received
offset<int64>.D......initialbyteoffset(from0toI64_MAX)
(default0)
end_offset<int64>.D......trytolimittherequesttobytes
precedingthisoffset(from0toI64_MAX)(default0)
method<string>ED......OverridetheHTTPmethodorsetthe
expectedHTTPmethodfromaclient
reconnect<boolean>.D......autoreconnectafterdisconnectbefore
Page95

ffmpegcommandoptions(full).txt
EOF(defaultfalse)
reconnect_at_eof<boolean>.D......autoreconnectatEOF(defaultfalse)
reconnect_streamed<boolean>.D......autoreconnectstreamed/nonseekable
streams(defaultfalse)
reconnect_delay_max<int>.D......maxreconnectdelayinsecondsafter
whichtogiveup(from0to4294)(default120)
listen<int>ED......listenonHTTP(from0to2)(default
0)
resource<string>E.......Theresourcerequestedbyaclient
reply_code<int>E.......Thehttpstatuscodetoreturntoa
client(fromINT_MINto599)(default200)
httpsAVOptions:
seekable<boolean>.D......controlseekabilityofconnection
(defaultauto)
chunked_post<boolean>E.......usechunkedtransferencodingforposts
(defaulttrue)
http_proxy<string>ED......setHTTPproxytotunnelthrough
headers<string>ED......setcustomHTTPheaders,canoverride
builtindefaultheaders
content_type<string>ED......setaspecificcontenttypeforthe
POSTmessages
user_agent<string>.D......overrideUserAgentheader(default
"Lavf/57.48.101")
useragent<string>.D......overrideUserAgentheader(default
"Lavf/57.48.101")
multiple_requests<boolean>ED......usepersistentconnections(default
false)
post_data<binary>ED......setcustomHTTPpostdata
cookies<string>.D......setcookiestobesentinapplicable
futurerequests,usenewlinedelimitedSetCookieHTTPfieldvaluesyntax
icy<boolean>.D......requestICYmetadata(defaulttrue)
auth_type<int>ED......HTTPauthenticationtype(from0to1)
(defaultnone)
noneED......Noauthmethodset,autodetect
basicED......HTTPbasicauthentication
send_expect_100<boolean>E.......ForcesendinganExpect:100continue
headerforPOST(defaultfalse)
location<string>ED......Theactuallocationofthedata
received
offset<int64>.D......initialbyteoffset(from0toI64_MAX)
(default0)
end_offset<int64>.D......trytolimittherequesttobytes
precedingthisoffset(from0toI64_MAX)(default0)
method<string>ED......OverridetheHTTPmethodorsetthe
expectedHTTPmethodfromaclient
reconnect<boolean>.D......autoreconnectafterdisconnectbefore
EOF(defaultfalse)
Page96

ffmpegcommandoptions(full).txt
reconnect_at_eof<boolean>.D......autoreconnectatEOF(defaultfalse)
reconnect_streamed<boolean>.D......autoreconnectstreamed/nonseekable
streams(defaultfalse)
reconnect_delay_max<int>.D......maxreconnectdelayinsecondsafter
whichtogiveup(from0to4294)(default120)
listen<int>ED......listenonHTTP(from0to2)(default
0)
resource<string>E.......Theresourcerequestedbyaclient
reply_code<int>E.......Thehttpstatuscodetoreturntoa
client(fromINT_MINto599)(default200)
icecastAVOptions:
ice_genre<string>E.......setstreamgenre
ice_name<string>E.......setstreamdescription
ice_description<string>E.......setstreamdescription
ice_url<string>E.......setstreamwebsite
ice_public<boolean>E.......setifstreamispublic(defaultfalse)
user_agent<string>E.......overrideUserAgentheader
password<string>E.......setpassword
content_type<string>E.......setcontenttype,MUSTbesetifnot
audio/mpeg
legacy_icecast<boolean>E.......uselegacySOURCEmethod,forIcecast<
v2.4(defaultfalse)
pipeAVOptions:
blocksize<int>E.......setI/Ooperationmaximumblocksize
(from1toINT_MAX)(defaultINT_MAX)
rtpAVOptions:
ttl<int>ED......Timetolive(inmilliseconds,
multicastonly)(from1toINT_MAX)(default1)
buffer_size<int>ED......Send/Receivebuffersize(inbytes)
(from1toINT_MAX)(default1)
rtcp_port<int>ED......Customrtcpport(from1toINT_MAX)
(default1)
local_rtpport<int>ED......Localrtpport(from1toINT_MAX)
(default1)
local_rtcpport<int>ED......Localrtcpport(from1toINT_MAX)
(default1)
connect<boolean>ED......Connectsocket(defaultfalse)
write_to_source<boolean>ED......Sendpacketstothesourceaddressof
thelatestreceivedpacket(defaultfalse)
pkt_size<int>ED......Maximumpacketsize(from1to
INT_MAX)(default1)
dscp<int>ED......DSCPclass(from1toINT_MAX)
(default1)
sources<string>ED......Sourcelist
block<string>ED......Blocklist
Page97

ffmpegcommandoptions(full).txt
srtpAVOptions:
srtp_out_suite<string>E.......
srtp_out_params<string>E.......
srtp_in_suite<string>.D......
srtp_in_params<string>.D......
subfileAVOptions:
start<int64>.D......startoffset(from0toI64_MAX)
(default0)
end<int64>.D......endoffset(from0toI64_MAX)(default
0)
teeAVOptions:
tcpAVOptions:
listen<int>ED......Listenforincomingconnections(from0
to2)(default0)
timeout<int>ED......settimeout(inmicroseconds)ofsocket
I/Ooperations(from1toINT_MAX)(default1)
listen_timeout<int>ED......Connectionawaitingtimeout(in
milliseconds)(from1toINT_MAX)(default1)
send_buffer_size<int>ED......Socketsendbuffersize(inbytes)
(from1toINT_MAX)(default1)
recv_buffer_size<int>ED......Socketreceivebuffersize(inbytes)
(from1toINT_MAX)(default1)
tlsAVOptions:
ca_file<string>ED......CertificateAuthoritydatabasefile
cafile<string>ED......CertificateAuthoritydatabasefile
tls_verify<int>ED......Verifythepeercertificate(from0to
1)(default0)
cert_file<string>ED......Certificatefile
key_file<string>ED......Privatekeyfile
listen<int>ED......Listenforincomingconnections(from0
to1)(default0)
verifyhost<string>ED......Verifyagainstaspecifichostname
udpAVOptions:
buffer_size<int>ED......Systemdatasize(inbytes)(from1to
INT_MAX)(default1)
bitrate<int64>E.......Bitstosendpersecond(from0to
I64_MAX)(default0)
burst_bits<int64>E.......Maxlengthofburstsinbits(when
usingbitrate)(from0toI64_MAX)(default0)
localport<int>ED......Localport(from1toINT_MAX)
(default1)
local_port<int>ED......Localport(from1toINT_MAX)
Page98

ffmpegcommandoptions(full).txt
(default1)
localaddr<string>ED......Localaddress
udplite_coverage<int>ED......chooseUDPLiteheadsizewhichshould
bevalidatedbychecksum(from0toINT_MAX)(default0)
pkt_size<int>ED......MaximumUDPpacketsize(from1to
INT_MAX)(default1472)
reuse<boolean>ED......explicitlyallowreusingUDPsockets
(defaultauto)
reuse_socket<boolean>ED......explicitlyallowreusingUDPsockets
(defaultauto)
broadcast<boolean>E.......explicitlyallowordisallowbroadcast
destination(defaultfalse)
ttl<int>E.......Timetolive(multicastonly)(from0
toINT_MAX)(default16)
connect<boolean>ED......setifconnect()shouldbecalledon
socket(defaultfalse)
fifo_size<int>.D......settheUDPreceivingcircularbuffer
size,expressedasanumberofpacketswithsizeof188bytes(from0toINT_MAX)
(default28672)
overrun_nonfatal<boolean>.D......surviveincaseofUDPreceiving
circularbufferoverrun(defaultfalse)
timeout<int>.D......setraiseerrortimeout(onlyinread
mode)(from0toINT_MAX)(default0)
sources<string>ED......Sourcelist
block<string>ED......Blocklist
udpliteAVOptions:
buffer_size<int>ED......Systemdatasize(inbytes)(from1to
INT_MAX)(default1)
bitrate<int64>E.......Bitstosendpersecond(from0to
I64_MAX)(default0)
burst_bits<int64>E.......Maxlengthofburstsinbits(when
usingbitrate)(from0toI64_MAX)(default0)
localport<int>ED......Localport(from1toINT_MAX)
(default1)
local_port<int>ED......Localport(from1toINT_MAX)
(default1)
localaddr<string>ED......Localaddress
udplite_coverage<int>ED......chooseUDPLiteheadsizewhichshould
bevalidatedbychecksum(from0toINT_MAX)(default0)
pkt_size<int>ED......MaximumUDPpacketsize(from1to
INT_MAX)(default1472)
reuse<boolean>ED......explicitlyallowreusingUDPsockets
(defaultauto)
reuse_socket<boolean>ED......explicitlyallowreusingUDPsockets
(defaultauto)
broadcast<boolean>E.......explicitlyallowordisallowbroadcast
destination(defaultfalse)
Page99

ffmpegcommandoptions(full).txt
ttl<int>E.......Timetolive(multicastonly)(from0
toINT_MAX)(default16)
connect<boolean>ED......setifconnect()shouldbecalledon
socket(defaultfalse)
fifo_size<int>.D......settheUDPreceivingcircularbuffer
size,expressedasanumberofpacketswithsizeof188bytes(from0toINT_MAX)
(default28672)
overrun_nonfatal<boolean>.D......surviveincaseofUDPreceiving
circularbufferoverrun(defaultfalse)
timeout<int>.D......setraiseerrortimeout(onlyinread
mode)(from0toINT_MAX)(default0)
sources<string>ED......Sourcelist
block<string>ED......Blocklist
librtmpprotocolAVOptions:
rtmp_app<string>ED......Nameofapplicationtoconnecttoon
theRTMPserver
rtmp_buffer<string>ED......Setbuffertimeinmilliseconds.The
defaultis3000.(default"3000")
rtmp_conn<string>ED......AppendarbitraryAMFdatatothe
Connectmessage
rtmp_flashver<string>ED......VersionoftheFlashpluginusedtorun
theSWFplayer.
rtmp_live<int>.D......Specifythatthemediaisalive
stream.(fromINT_MINtoINT_MAX)(defaultrecorded)
any.D......both
live.D......livestream
recorded.D......recordedstream
rtmp_pageurl<string>.D......URLofthewebpageinwhichthemedia
wasembedded.Bydefaultnovaluewillbesent.
rtmp_playpath<string>ED......Streamidentifiertoplayortopublish
rtmp_subscribe<string>.D......Nameoflivestreamtosubscribeto.
Defaultstortmp_playpath.
rtmp_swfurl<string>ED......URLoftheSWFplayer.Bydefaultno
valuewillbesent
rtmp_swfverify<string>.D......URLtoplayerswffile,compute
hash/sizeautomatically.(unimplemented)
rtmp_tcurl<string>ED......URLofthetargetstream.Defaultsto
proto://host[:port]/app.
rtmp_buffer_size<int>ED......setbuffersizeinbytes(from1to
INT_MAX)(default1)
librtmpeprotocolAVOptions:
rtmp_app<string>ED......Nameofapplicationtoconnecttoon
theRTMPserver
rtmp_buffer<string>ED......Setbuffertimeinmilliseconds.The
defaultis3000.(default"3000")
rtmp_conn<string>ED......AppendarbitraryAMFdatatothe
Page100

ffmpegcommandoptions(full).txt
Connectmessage
rtmp_flashver<string>ED......VersionoftheFlashpluginusedtorun
theSWFplayer.
rtmp_live<int>.D......Specifythatthemediaisalive
stream.(fromINT_MINtoINT_MAX)(defaultrecorded)
any.D......both
live.D......livestream
recorded.D......recordedstream
rtmp_pageurl<string>.D......URLofthewebpageinwhichthemedia
wasembedded.Bydefaultnovaluewillbesent.
rtmp_playpath<string>ED......Streamidentifiertoplayortopublish
rtmp_subscribe<string>.D......Nameoflivestreamtosubscribeto.
Defaultstortmp_playpath.
rtmp_swfurl<string>ED......URLoftheSWFplayer.Bydefaultno
valuewillbesent
rtmp_swfverify<string>.D......URLtoplayerswffile,compute
hash/sizeautomatically.(unimplemented)
rtmp_tcurl<string>ED......URLofthetargetstream.Defaultsto
proto://host[:port]/app.
rtmp_buffer_size<int>ED......setbuffersizeinbytes(from1to
INT_MAX)(default1)
librtmpsprotocolAVOptions:
rtmp_app<string>ED......Nameofapplicationtoconnecttoon
theRTMPserver
rtmp_buffer<string>ED......Setbuffertimeinmilliseconds.The
defaultis3000.(default"3000")
rtmp_conn<string>ED......AppendarbitraryAMFdatatothe
Connectmessage
rtmp_flashver<string>ED......VersionoftheFlashpluginusedtorun
theSWFplayer.
rtmp_live<int>.D......Specifythatthemediaisalive
stream.(fromINT_MINtoINT_MAX)(defaultrecorded)
any.D......both
live.D......livestream
recorded.D......recordedstream
rtmp_pageurl<string>.D......URLofthewebpageinwhichthemedia
wasembedded.Bydefaultnovaluewillbesent.
rtmp_playpath<string>ED......Streamidentifiertoplayortopublish
rtmp_subscribe<string>.D......Nameoflivestreamtosubscribeto.
Defaultstortmp_playpath.
rtmp_swfurl<string>ED......URLoftheSWFplayer.Bydefaultno
valuewillbesent
rtmp_swfverify<string>.D......URLtoplayerswffile,compute
hash/sizeautomatically.(unimplemented)
rtmp_tcurl<string>ED......URLofthetargetstream.Defaultsto
proto://host[:port]/app.
rtmp_buffer_size<int>ED......setbuffersizeinbytes(from1to
Page101

ffmpegcommandoptions(full).txt
INT_MAX)(default1)
librtmptprotocolAVOptions:
rtmp_app<string>ED......Nameofapplicationtoconnecttoon
theRTMPserver
rtmp_buffer<string>ED......Setbuffertimeinmilliseconds.The
defaultis3000.(default"3000")
rtmp_conn<string>ED......AppendarbitraryAMFdatatothe
Connectmessage
rtmp_flashver<string>ED......VersionoftheFlashpluginusedtorun
theSWFplayer.
rtmp_live<int>.D......Specifythatthemediaisalive
stream.(fromINT_MINtoINT_MAX)(defaultrecorded)
any.D......both
live.D......livestream
recorded.D......recordedstream
rtmp_pageurl<string>.D......URLofthewebpageinwhichthemedia
wasembedded.Bydefaultnovaluewillbesent.
rtmp_playpath<string>ED......Streamidentifiertoplayortopublish
rtmp_subscribe<string>.D......Nameoflivestreamtosubscribeto.
Defaultstortmp_playpath.
rtmp_swfurl<string>ED......URLoftheSWFplayer.Bydefaultno
valuewillbesent
rtmp_swfverify<string>.D......URLtoplayerswffile,compute
hash/sizeautomatically.(unimplemented)
rtmp_tcurl<string>ED......URLofthetargetstream.Defaultsto
proto://host[:port]/app.
rtmp_buffer_size<int>ED......setbuffersizeinbytes(from1to
INT_MAX)(default1)
librtmpteprotocolAVOptions:
rtmp_app<string>ED......Nameofapplicationtoconnecttoon
theRTMPserver
rtmp_buffer<string>ED......Setbuffertimeinmilliseconds.The
defaultis3000.(default"3000")
rtmp_conn<string>ED......AppendarbitraryAMFdatatothe
Connectmessage
rtmp_flashver<string>ED......VersionoftheFlashpluginusedtorun
theSWFplayer.
rtmp_live<int>.D......Specifythatthemediaisalive
stream.(fromINT_MINtoINT_MAX)(defaultrecorded)
any.D......both
live.D......livestream
recorded.D......recordedstream
rtmp_pageurl<string>.D......URLofthewebpageinwhichthemedia
wasembedded.Bydefaultnovaluewillbesent.
rtmp_playpath<string>ED......Streamidentifiertoplayortopublish
rtmp_subscribe<string>.D......Nameoflivestreamtosubscribeto.
Page102

ffmpegcommandoptions(full).txt
Defaultstortmp_playpath.
rtmp_swfurl<string>ED......URLoftheSWFplayer.Bydefaultno
valuewillbesent
rtmp_swfverify<string>.D......URLtoplayerswffile,compute
hash/sizeautomatically.(unimplemented)
rtmp_tcurl<string>ED......URLofthetargetstream.Defaultsto
proto://host[:port]/app.
rtmp_buffer_size<int>ED......setbuffersizeinbytes(from1to
INT_MAX)(default1)
BlackmagicDeckLinkdemuxerAVOptions:
list_devices<int>.D......listavailabledevices(from0to1)
(default0)
list_formats<int>.D......listsupportedformats(from0to1)
(default0)
bm_v210<int>.D......v21010bitperchannel(from0to1)
(default0)
teletext_lines<int64>.D......teletextlinesbitmask(from0to
3.43597e+010)(default0)
standard.D......
all.D......
channels<int>.D......numberofaudiochannels(from2to16)
(default2)
duplex_mode<int>.D......duplexmode(from0to2)(default
unset)
unset.D......
half.D......
full.D......
video_input<int>.D......videoinput(from0to6)(default
unset)
unset.D......
sdi.D......
hdmi.D......
optical_sdi.D......
component.D......
composite.D......
s_video.D......
audio_input<int>.D......audioinput(from0to6)(default
unset)
unset.D......
embedded.D......
aes_ebu.D......
analog.D......
analog_xlr.D......
analog_rca.D......
microphone.D......
audio_pts<int>.D......audioptssource(from1to4)(default
audio)
Page103

ffmpegcommandoptions(full).txt
audio.D......
video.D......
reference.D......
wallclock.D......
video_pts<int>.D......videoptssource(from1to4)(default
video)
audio.D......
video.D......
reference.D......
wallclock.D......
dshowindevAVOptions:
video_size<image_size>.D......setvideosizegivenastringsuchas
640x480orhd720.
pixel_format<pix_fmt>.D......setvideopixelformat(defaultnone)
framerate<string>.D......setvideoframerate
sample_rate<int>.D......setaudiosamplerate(from0to
INT_MAX)(default0)
sample_size<int>.D......setaudiosamplesize(from0to16)
(default0)
channels<int>.D......setnumberofaudiochannels,suchas1
or2(from0toINT_MAX)(default0)
audio_buffer_size<int>.D......setaudiodevicebufferlatencysizein
milliseconds(defaultisthedevice'sdefault)(from0toINT_MAX)(default0)
list_devices<boolean>.D......listavailabledevices(defaultfalse)
list_options<boolean>.D......listavailableoptionsforspecified
device(defaultfalse)
video_device_number<int>.D......setvideodevicenumberfordevices
withsamename(startsat0)(from0toINT_MAX)(default0)
audio_device_number<int>.D......setaudiodevicenumberfordevices
withsamename(startsat0)(from0toINT_MAX)(default0)
video_pin_name<string>E.......selectvideocapturepinbyname
audio_pin_name<string>E.......selectaudiocapturepinbyname
crossbar_video_input_pin_number<int>.D......setvideoinputpin
numberforcrossbardevice(from1toINT_MAX)(default1)
crossbar_audio_input_pin_number<int>.D......setaudioinputpin
numberforcrossbardevice(from1toINT_MAX)(default1)
show_video_device_dialog<boolean>.D......displaypropertydialogfor
videocapturedevice(defaultfalse)
show_audio_device_dialog<boolean>.D......displaypropertydialogfor
audiocapturedevice(defaultfalse)
show_video_crossbar_connection_dialog<boolean>.D......displayproperty
dialogforcrossbarconnectingpinsfilteronvideodevice(defaultfalse)
show_audio_crossbar_connection_dialog<boolean>.D......displayproperty
dialogforcrossbarconnectingpinsfilteronaudiodevice(defaultfalse)
show_analog_tv_tuner_dialog<boolean>.D......displaypropertydialogfor
analogtunerfilter(defaultfalse)
show_analog_tv_tuner_audio_dialog<boolean>.D......displaypropertydialog
Page104

ffmpegcommandoptions(full).txt
foranalogtuneraudiofilter(defaultfalse)
audio_device_load<string>.D......loadaudiocapturefilterdevice(and
properties)fromfile
audio_device_save<string>.D......saveaudiocapturefilterdevice(and
properties)tofile
video_device_load<string>.D......loadvideocapturefilterdevice(and
properties)fromfile
video_device_save<string>.D......savevideocapturefilterdevice(and
properties)tofile
GDIgrabindevAVOptions:
draw_mouse<int>.D......drawthemousepointer(from0to1)
(default1)
show_region<int>.D......drawborderaroundcapturearea(from0
to1)(default0)
framerate<video_rate>.D......setvideoframerate(default"ntsc")
video_size<image_size>.D......setvideoframesize
offset_x<int>.D......captureareaxoffset(fromINT_MINto
INT_MAX)(default0)
offset_y<int>.D......captureareayoffset(fromINT_MINto
INT_MAX)(default0)
lavfiindevAVOptions:
graph<string>.D......setlibavfiltergraph
graph_file<string>.D......setlibavfiltergraphfilename
dumpgraph<string>.D......dumpgraphtostderr
VFWindevAVOptions:
video_size<string>.D......Astringdescribingframesize,suchas
640x480orhd720.
framerate<string>.D......(default"ntsc")
aaAVOptions:
aa_fixed_key<binary>.D......FixedkeyusedforhandlingAudibleAA
files
ArtworxDataFormatdemuxerAVOptions:
linespeed<int>.D......setsimulatedlinespeed(bytesper
second)(from1toINT_MAX)(default6000)
video_size<image_size>.D......setvideosize,suchas640x480or
hd720.
framerate<video_rate>.D......setframerate(framespersecond)
(default"25")
APNGdemuxerAVOptions:
ignore_loop<boolean>.D......ignoreloopsetting(defaulttrue)
max_fps<int>.D......maximumframerate(0isnolimit)(from
0toINT_MAX)(default15)
Page105

ffmpegcommandoptions(full).txt
default_fps<int>.D......defaultframerate(0isasfastas
possible)(from0toINT_MAX)(default15)
aqtdecAVOptions:
subfps<rational>.D...S..setthemovieframerate(from0to
INT_MAX)(default25/1)
asfdemuxerAVOptions:
no_resync_search<boolean>.D......Don'ttrytoresynchronizebylooking
foracertainoptionalstartcode(defaultfalse)
export_xmp<boolean>.D......ExportfullXMPmetadata(default
false)
aviAVOptions:
use_odml<boolean>.D......useodmlindex(defaulttrue)
BinarytextdemuxerAVOptions:
linespeed<int>.D......setsimulatedlinespeed(bytesper
second)(from1toINT_MAX)(default6000)
video_size<image_size>.D......setvideosize,suchas640x480or
hd720.
framerate<video_rate>.D......setframerate(framespersecond)
(default"25")
cavsvideodemuxerAVOptions:
framerate<video_rate>.D......(default"25")
CDXLdemuxerAVOptions:
sample_rate<int>.D......(from1toINT_MAX)(default11025)
framerate<string>.D......
concatdemuxerAVOptions:
safe<boolean>.D......enablesafemode(defaulttrue)
auto_convert<boolean>.D......automaticallyconvertbitstreamformat
(defaulttrue)
segment_time_metadata<boolean>.D......outputfilesegmentstarttimeand
durationaspacketmetadata(defaultfalse)
diracdemuxerAVOptions:
framerate<video_rate>.D......(default"25")
dnxhddemuxerAVOptions:
framerate<video_rate>.D......(default"25")
dvbsubdemuxerAVOptions:
framerate<video_rate>.D......(default"25")
dvbtxtdemuxerAVOptions:
Page106

ffmpegcommandoptions(full).txt
framerate<video_rate>.D......(default"25")
ffmdemuxerAVOptions:
flvdecAVOptions:
flv_metadata<boolean>.D.V....Allocatestreamsaccordingtothe
onMetaDataarray(defaultfalse)
live_flvdecAVOptions:
flv_metadata<boolean>.D.V....Allocatestreamsaccordingtothe
onMetaDataarray(defaultfalse)
g729demuxerAVOptions:
bit_rate<int>.D......(from0toINT_MAX)(default8000)
GIFdemuxerAVOptions:
min_delay<int>.D......minimumvaliddelaybetweenframes(in
hundredthsofsecond)(from0to6000)(default2)
max_gif_delay<int>.D......maximumvaliddelaybetweenframes(in
hundredthsofseconds)(from0to65535)(default65535)
default_delay<int>.D......defaultdelaybetweenframes(in
hundredthsofsecond)(from0to6000)(default10)
ignore_loop<boolean>.D......ignoreloopsetting(netscape
extension)(defaulttrue)
gsmdemuxerAVOptions:
sample_rate<int>.D......(from1to6.50753e+007)(default
8000)
h261demuxerAVOptions:
framerate<video_rate>.D......(default"25")
h263demuxerAVOptions:
framerate<video_rate>.D......(default"25")
h264demuxerAVOptions:
framerate<video_rate>.D......(default"25")
hevcdemuxerAVOptions:
framerate<video_rate>.D......(default"25")
hls,applehttpAVOptions:
live_start_index<int>.D......segmentindextostartlivestreamsat
(negativevaluesarefromtheend)(fromINT_MINtoINT_MAX)(default3)
iCEDrawFiledemuxerAVOptions:
linespeed<int>.D......setsimulatedlinespeed(bytesper
second)(from1toINT_MAX)(default6000)
Page107

ffmpegcommandoptions(full).txt
video_size<image_size>.D......setvideosize,suchas640x480or
hd720.
framerate<video_rate>.D......setframerate(framespersecond)
(default"25")
image2demuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
image2pipedemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
Page108

ffmpegcommandoptions(full).txt
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
alias_pixdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
brender_pixdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
Page109

ffmpegcommandoptions(full).txt
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
ingenientdemuxerAVOptions:
framerate<video_rate>.D......(default"25")
m4vdemuxerAVOptions:
framerate<video_rate>.D......(default"25")
microdvddecAVOptions:
subfps<rational>.D...S..setthemovieframeratefallback(from
0toINT_MAX)(default0/1)
mjpegdemuxerAVOptions:
framerate<video_rate>.D......(default"25")
mov,mp4,m4a,3gp,3g2,mj2AVOptions:
use_absolute_path<boolean>.D.V....allowusingabsolutepathwhenopening
alias,thisisapossiblesecurityissue(defaultfalse)
seek_streams_individually<boolean>.D.V....Seekeachstreamindividually
tothetotheclosestpoint(defaulttrue)
ignore_editlist<boolean>.D.V....(defaultfalse)
ignore_chapters<boolean>.D.V....(defaultfalse)
use_mfra_for<int>.D.V....usemfraforfragmenttimestamps(from
1to2)(defaultauto)
auto.D.V....auto
dts.D.V....dts
pts.D.V....pts
export_all<boolean>.D.V....Exportunrecognizedmetadataentries
(defaultfalse)
export_xmp<boolean>.D.V....ExportfullXMPmetadata(default
false)
activation_bytes<binary>.D......SecretbytesforAudibleAAXfiles
audible_fixed_key<binary>.D......FixedkeyusedforhandlingAudibleAAX
files
decryption_key<binary>.D......Themediadecryptionkey(hex)
enable_drefs<boolean>.D.V....Enableexternaltracksupport.(default
false)
mp3AVOptions:
usetoc<boolean>.D......usetableofcontents(defaultfalse)
mpegtsdemuxerAVOptions:
resync_size<int>.D......setsizelimitforlookingupanew
synchronization(from0toINT_MAX)(default65536)
fix_teletext_pts<boolean>.D......trytofixptsvaluesofdvbteletext
Page110

ffmpegcommandoptions(full).txt
streams(defaulttrue)
ts_packetsize<int>.D....XRoutputoptioncarryingtherawpacket
size(from0to0)(default0)
scan_all_pmts<boolean>.D......scanandcombineallPMTs(default
auto)
mpegtsrawdemuxerAVOptions:
resync_size<int>.D......setsizelimitforlookingupanew
synchronization(from0toINT_MAX)(default65536)
compute_pcr<boolean>.D......computeexactPCRforeachtransport
streampacket(defaultfalse)
ts_packetsize<int>.D....XRoutputoptioncarryingtherawpacket
size(from0to0)(default0)
mpegvideodemuxerAVOptions:
framerate<video_rate>.D......(default"25")
MPJPEGdemuxerAVOptions:
strict_mime_boundary<boolean>.D......requireMIMEboundariesmatch
(defaultfalse)
alawdemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
mulawdemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
f64bedemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
f64ledemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
f32bedemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
f32ledemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
s32bedemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
Page111

ffmpegcommandoptions(full).txt
s32ledemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
s24bedemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
s24ledemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
s16bedemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
s16ledemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
s8demuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
u32bedemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
u32ledemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
u24bedemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
u24ledemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
u16bedemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
u16ledemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
Page112

ffmpegcommandoptions(full).txt
u8demuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default44100)
channels<int>.D......(from0toINT_MAX)(default1)
rawvideodemuxerAVOptions:
video_size<image_size>.D......setframesize
pixel_format<string>.D......setpixelformat(default"yuv420p")
framerate<video_rate>.D......setframerate(default"25")
RTPdemuxerAVOptions:
rtp_flags<flags>.D......setRTPflags(default0)
filter_src.D......onlyreceivepacketsfromthe
negotiatedpeerIP
reorder_queue_size<int>.D......setnumberofpacketstobufferfor
handlingofreorderedpackets(from1toINT_MAX)(default1)
buffer_size<int>ED......Underlyingprotocolsend/receivebuffer
size(from1toINT_MAX)(default1)
RTSPdemuxerAVOptions:
initial_pause<boolean>.D......donotstartplayingthestream
immediately(defaultfalse)
rtpflags<flags>E.......RTPmuxerflags(default0)
latmE.......UseMP4ALATMpacketizationinsteadof
MPEG4GENERICforAAC
rfc2190E.......UseRFC2190packetizationinsteadof
RFC4629forH.263
skip_rtcpE.......Don'tsendRTCPsenderreports
h264_mode0E.......Usemode0forH.264inRTP
send_byeE.......SendRTCPBYEpacketswhenfinishing
rtsp_transport<flags>ED......setRTSPtransportprotocols(default
0)
udpED......UDP
tcpED......TCP
udp_multicast.D......UDPmulticast
http.D......HTTPtunneling
rtsp_flags<flags>.D......setRTSPflags(default0)
filter_src.D......onlyreceivepacketsfromthe
negotiatedpeerIP
listen.D......waitforincomingconnections
prefer_tcpED......tryRTPviaTCPfirst,ifavailable
allowed_media_types<flags>.D......setmediatypestoacceptfromthe
server(defaultvideo+audio+data+subtitle)
video.D......Video
audio.D......Audio
data.D......Data
subtitle.D......Subtitle
min_port<int>ED......setminimumlocalUDPport(from0to
Page113

ffmpegcommandoptions(full).txt
65535)(default5000)
max_port<int>ED......setmaximumlocalUDPport(from0to
65535)(default65000)
timeout<int>.D......setmaximumtimeout(inseconds)to
waitforincomingconnections(1isinfinite,implyflaglisten)(fromINT_MINto
INT_MAX)(default1)
stimeout<int>.D......settimeout(inmicroseconds)ofsocket
TCPI/Ooperations(fromINT_MINtoINT_MAX)(default0)
reorder_queue_size<int>.D......setnumberofpacketstobufferfor
handlingofreorderedpackets(from1toINT_MAX)(default1)
buffer_size<int>ED......Underlyingprotocolsend/receivebuffer
size(from1toINT_MAX)(default1)
useragent<string>.D......overrideUserAgentheader(default
"Lavf57.48.101")
sbg_demuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default0)
frame_size<int>.D......(from0toINT_MAX)(default0)
max_file_size<int>.D......(from0toINT_MAX)(default5e+006)
SDPdemuxerAVOptions:
sdp_flags<flags>.D......SDPflags(default0)
filter_src.D......onlyreceivepacketsfromthe
negotiatedpeerIP
custom_io.D......usecustomI/O
rtcp_to_source.D......sendRTCPpacketstothesourceaddress
ofreceivedpackets
allowed_media_types<flags>.D......setmediatypestoacceptfromthe
server(defaultvideo+audio+data+subtitle)
video.D......Video
audio.D......Audio
data.D......Data
subtitle.D......Subtitle
reorder_queue_size<int>.D......setnumberofpacketstobufferfor
handlingofreorderedpackets(from1toINT_MAX)(default1)
buffer_size<int>ED......Underlyingprotocolsend/receivebuffer
size(from1toINT_MAX)(default1)
slndemuxerAVOptions:
sample_rate<int>.D......(from0toINT_MAX)(default8000)
channels<int>.D......(from0toINT_MAX)(default1)
tedcaptions_demuxerAVOptions:
start_time<int64>.D...S..setthestarttime(offset)ofthe
subtitles,inms(fromI64_MINtoI64_MAX)(default15000)
TTYdemuxerAVOptions:
chars_per_frame<int>.D......(from1toINT_MAX)(default6000)
Page114

ffmpegcommandoptions(full).txt
video_size<image_size>.D......Astringdescribingframesize,suchas
640x480orhd720.
framerate<video_rate>.D......(default"25")
v210demuxerAVOptions:
video_size<image_size>.D......setframesize
framerate<video_rate>.D......setframerate(default"25")
v210xdemuxerAVOptions:
video_size<image_size>.D......setframesize
framerate<video_rate>.D......setframerate(default"25")
vc1demuxerAVOptions:
framerate<video_rate>.D......(default"25")
vobsubAVOptions:
sub_name<string>.D......URIfor.subfile
WAVdemuxerAVOptions:
ignore_length<boolean>.D......Ignorelength(defaultfalse)
WebMDASHManifestdemuxerAVOptions:
live<boolean>.D......flagindicatingthattheinputisa
livefilethatonlyhastheheaders.(defaultfalse)
WebVTTdemuxerAVOptions:
eXtendedBINarytext(XBIN)demuxerAVOptions:
linespeed<int>.D......setsimulatedlinespeed(bytesper
second)(from1toINT_MAX)(default6000)
video_size<image_size>.D......setvideosize,suchas640x480or
hd720.
framerate<video_rate>.D......setframerate(framespersecond)
(default"25")
bmpdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
Page115

ffmpegcommandoptions(full).txt
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
ddsdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
dpxdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
Page116

ffmpegcommandoptions(full).txt
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
exrdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
j2kdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
Page117

ffmpegcommandoptions(full).txt
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
jpegdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
jpeglsdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
Page118

ffmpegcommandoptions(full).txt
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
pamdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
pbmdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
Page119

ffmpegcommandoptions(full).txt
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
pcxdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
pgmyuvdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
Page120

ffmpegcommandoptions(full).txt
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
pgmdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
pictordemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
Page121

ffmpegcommandoptions(full).txt
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
pngdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
ppmdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
Page122

ffmpegcommandoptions(full).txt
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
qdrawdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
sgidemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
Page123

ffmpegcommandoptions(full).txt
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
sunrastdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
tiffdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
Page124

ffmpegcommandoptions(full).txt
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
webpdemuxerAVOptions:
framerate<video_rate>.D......setthevideoframerate(default"25")
loop<boolean>.D......forceloopoverinputfilesequence
(defaultfalse)
pattern_type<int>.D......setpatterntype(from0toINT_MAX)
(default4)
glob_sequence.D......selectglob/sequencepatterntype
glob.D......selectglobpatterntype
sequence.D......selectsequencepatterntype
none.D......disablepatternmatching
pixel_format<string>.D......setvideopixelformat
start_number<int>.D......setfirstnumberinthesequence(from
INT_MINtoINT_MAX)(default0)
start_number_range<int>.D......setrangeforlookingatthefirst
sequencenumber(from1toINT_MAX)(default5)
video_size<image_size>.D......setvideosize
frame_size<int>.D......forceframesizeinbytes(from0to
INT_MAX)(default0)
ts_from_file<int>.D......setframetimestampfromfile'sone
(from0to2)(defaultnone)
none.D......none
sec.D......secondprecision
ns.D......nanosecondprecision
GameMusicEmudemuxerAVOptions:
track_index<int>.D..A...settrackthatshouldbeplayed(from0
toINT_MAX)(default0)
sample_rate<int>.D..A...setsamplerate(from1000to999999)
(default44100)
max_size<int64>.D..A...setmaxfilesizesupported(inbytes)
(from0to1.84467e+019)(default5.24288e+007)
ModPlugdemuxerAVOptions:
noise_reduction<int>.D......Enablenoisereduction0(off)1(on)
(from0to1)(default0)
reverb_depth<int>.D......Reverblevel0(quiet)100(loud)(from0
to100)(default0)
Page125

ffmpegcommandoptions(full).txt
reverb_delay<int>.D......Reverbdelayinms,usually40200ms
(from0toINT_MAX)(default0)
bass_amount<int>.D......XBasslevel0(quiet)100(loud)(from0
to100)(default0)
bass_range<int>.D......XBasscutoffinHz10100(from0to
100)(default0)
surround_depth<int>.D......Surroundlevel0(quiet)100(heavy)
(from0to100)(default0)
surround_delay<int>.D......Surrounddelayinms,usually540ms
(from0toINT_MAX)(default0)
max_size<int>.D......Maxfilesizesupported(inbytes).
Defaultis5MB.Setto0fornolimit(notrecommended)(from0to1.04858e+008)
(default5.24288e+006)
video_stream_expr<string>.D......Colorformula
video_stream<int>.D......Makedemuxeroutputavideostream
(from0to1)(default0)
video_stream_w<int>.D......Videostreamwidthinchar(onechar=
8x8px)(from20to512)(default30)
video_stream_h<int>.D......Videostreamheightinchar(onechar=
8x8px)(from20to512)(default30)
video_stream_ptxt<int>.D......Printspeed,tempo,order,...invideo
stream(from0to1)(default1)
caca_outdevAVOptions:
window_size<image_size>E.......setwindowforcedsize
window_title<string>E.......setwindowtitle
driver<string>E.......setdisplaydriver
algorithm<string>E.......setditheringalgorithm(default
"default")
antialias<string>E.......setantialiasmethod(default
"default")
charset<string>E.......setcharsetusedtorenderoutput
(default"default")
color<string>E.......setcolorusedtorenderoutput
(default"default")
list_drivers<boolean>E.......listavailabledrivers(defaultfalse)
list_dither<string>E.......listavailableditheroptions
algorithmsE.......
antialiasesE.......
charsetsE.......
colorsE.......
BlackmagicDeckLinkmuxerAVOptions:
list_devices<int>E.......listavailabledevices(from0to1)
(default0)
list_formats<int>E.......listsupportedformats(from0to1)
(default0)
preroll<double>E.......videoprerollinseconds(from0to5)
Page126

ffmpegcommandoptions(full).txt
(default0.5)
sdloutdevAVOptions:
window_title<string>E.......setSDLwindowtitle
icon_title<string>E.......setSDLiconifiedwindowtitle
window_size<image_size>E.......setSDLwindowforcedsize
window_fullscreen<int>E.......setSDLwindowfullscreen(fromINT_MIN
toINT_MAX)(default0)
ADTSmuxerAVOptions:
write_id3v2<boolean>E.......EnableID3v2tagwriting(default
false)
write_apetag<boolean>E.......EnableAPEtagwriting(defaultfalse)
AIFFmuxerAVOptions:
write_id3v2<boolean>E.......EnableID3tagswriting.(default
false)
id3v2_version<int>E.......SelectID3v2versiontowrite.
Currently3and4aresupported.(from3to4)(default4)
APNGmuxerAVOptions:
plays<int>E.......Numberoftimestoplaytheoutput:0
infiniteloop,1noloop(from0toUINT32_MAX)(default1)
final_delay<rational>E.......Forcedelayafterthelastframe(from
0to65535)(default0/1)
ASFmuxerAVOptions:
packet_size<int>E.......Packetsize(from100to65536)
(default3200)
assmuxerAVOptions:
ignore_readorder<boolean>E.......writeeventsimmediately,evenif
they'reoutoforder(defaultfalse)
ASTmuxerAVOptions:
loopstart<int64>E.......Loopstartpositioninmilliseconds.
(from1toINT_MAX)(default1)
loopend<int64>E.......Loopendpositioninmilliseconds.(from
0toINT_MAX)(default0)
ASFstreammuxerAVOptions:
packet_size<int>E.......Packetsize(from100to65536)
(default3200)
AVImuxerAVOptions:
write_channel_mask<boolean>E.......writechannelmaskintowaveformat
header(defaulttrue)
Page127

ffmpegcommandoptions(full).txt
dashmuxerAVOptions:
window_size<int>E.......numberofsegmentskeptinthemanifest
(from0toINT_MAX)(default0)
extra_window_size<int>E.......numberofsegmentskeptoutsideofthe
manifestbeforeremovingfromdisk(from0toINT_MAX)(default5)
min_seg_duration<int64>E.......minimumsegmentduration(in
microseconds)(from0toINT_MAX)(default5e+006)
remove_at_exit<boolean>E.......removeallsegmentswhenfinished
(defaultfalse)
use_template<boolean>E.......UseSegmentTemplateinsteadof
SegmentList(defaulttrue)
use_timeline<boolean>E.......UseSegmentTimelineinSegmentTemplate
(defaulttrue)
single_file<boolean>E.......Storeallsegmentsinonefile,
accessedusingbyteranges(defaultfalse)
single_file_name<string>E.......DASHtemplatednametobeusedfor
baseURL.Impliesstoringallsegmentsinonefile,accessedusingbyteranges
init_seg_name<string>E.......DASHtemplatednametousedforthe
initializationsegment(default"initstream$RepresentationID$.m4s")
media_seg_name<string>E.......DASHtemplatednametousedforthe
mediasegments(default"chunkstream$RepresentationID$$Number%05d$.m4s")
f4vmuxerAVOptions:
movflags<flags>E.......MOVmuxerflags(default0)
rtphintE.......AddRTPhinttracks
empty_moovE.......Maketheinitialmoovatomempty
frag_keyframeE.......Fragmentatvideokeyframes
separate_moofE.......Writeseparatemoof/mdatatomsforeach
track
frag_customE.......Flushfragmentsoncallerrequests
ismlE.......Createalivesmoothstreamingfeed
(forpushingtoapublishingpoint)
faststartE.......Runasecondpasstoputtheindex
(moovatom)atthebeginningofthefile
omit_tfhd_offsetE.......Omitthebasedataoffsetintfhd
atoms
disable_chplE.......DisableNerochapteratom
default_base_moofE.......Setthedefaultbaseismoofflagin
tfhdatoms
dashE.......WriteDASHcompatiblefragmentedMP4
frag_discontE.......Signalthatthenextfragmentis
discontinuousfromearlierones
delay_moovE.......Delaywritingtheinitialmoovuntil
thefirstfragmentiscut,oruntilthefirstfragmentflush
global_sidxE.......Writeaglobalsidxindexatthestart
ofthefile
write_colrE.......Writecolratom(Experimental,maybe
renamedorchanged,donotusefromscripts)
Page128

ffmpegcommandoptions(full).txt
write_gamaE.......Writedeprecatedgamaatom
use_metadata_tagsE.......Usemdtaatomformetadata.
moov_size<int>E.......maximummoovsizesoitcanbeplaced
atthebegin(from0toINT_MAX)(default0)
rtpflags<flags>E.......RTPmuxerflags(default0)
latmE.......UseMP4ALATMpacketizationinsteadof
MPEG4GENERICforAAC
rfc2190E.......UseRFC2190packetizationinsteadof
RFC4629forH.263
skip_rtcpE.......Don'tsendRTCPsenderreports
h264_mode0E.......Usemode0forH.264inRTP
send_byeE.......SendRTCPBYEpacketswhenfinishing
skip_iods<boolean>E.......Skipwritingiodsatom.(defaulttrue)
iods_audio_profile<int>E.......iodsaudioprofileatom.(from1to
255)(default1)
iods_video_profile<int>E.......iodsvideoprofileatom.(from1to
255)(default1)
frag_duration<int>E.......Maximumfragmentduration(from0to
INT_MAX)(default0)
min_frag_duration<int>E.......Minimumfragmentduration(from0to
INT_MAX)(default0)
frag_size<int>E.......Maximumfragmentsize(from0to
INT_MAX)(default0)
ism_lookahead<int>E.......NumberoflookaheadentriesforISM
files(from0toINT_MAX)(default0)
video_track_timescale<int>E.......settimescaleofallvideotracks
(from0toINT_MAX)(default0)
brand<string>E.......Overridemajorbrand
use_editlist<boolean>E.......useeditlist(defaultauto)
fragment_index<int>E.......Fragmentnumberofthenextfragment
(from1toINT_MAX)(default1)
mov_gamma<float>E.......gammavalueforgamaatom(from0to
10)(default0)
frag_interleave<int>E.......Interleavesampleswithinfragments
(maxnumberofconsecutivesamples,loweristighterinterleaving,butwithmore
overhead)(from0toINT_MAX)(default0)
encryption_scheme<string>E.......Configurestheencryptionscheme,
allowedvaluesarenone,cencaesctr
encryption_key<binary>E.......Themediaencryptionkey(hex)
encryption_kid<binary>E.......Themediaencryptionkeyidentifier
(hex)
FifomuxerAVOptions:
fifo_format<string>E.......Targetmuxer
queue_size<int>E.......Sizeoffifoqueue(from1toINT_MAX)
(default60)
format_opts<string>E.......Optionstobepassedtounderlying
muxer
Page129

ffmpegcommandoptions(full).txt
drop_pkts_on_overflow<boolean>E.......Droppacketsonfifoqueueoverflow
nottoblockencoder(defaultfalse)
restart_with_keyframe<boolean>E.......Waitforkeyframewhenrestarting
output(defaultfalse)
attempt_recovery<boolean>E.......Attemptrecoveryincaseoffailure
(defaultfalse)
max_recovery_attempts<int>E.......Maximalnumberofrecoveryattempts
(from0toINT_MAX)(default0)
recovery_wait_time<duration>E.......Waitingtimebetweenrecoveryattempts
(default5)
recovery_wait_streamtime<boolean>E.......Usestreamtimeinsteadofreal
timewhilewaitingforrecovery(defaultfalse)
recover_any_error<boolean>E.......Attemptrecoveryregardlessoftypeof
theerror(defaultfalse)
flacmuxerAVOptions:
write_header<boolean>E.......Writethefileheader(defaulttrue)
flvmuxerAVOptions:
flvflags<flags>E.......FLVmuxerflags(default0)
aac_seq_header_detectE.......PutAACsequenceheaderbasedon
streamdata
framehashencoderclassAVOptions:
hash<string>E.......sethashtouse(default"sha256")
format_version<int>E.......fileformatversion(from1to2)
(default2)
framehashencoderclassAVOptions:
hash<string>E.......sethashtouse(default"md5")
format_version<int>E.......fileformatversion(from1to2)
(default2)
GIFmuxerAVOptions:
loop<int>E.......Numberoftimestolooptheoutput:1
noloop,0infiniteloop(from1to65535)(default0)
final_delay<int>E.......Forcedelay(incentiseconds)afterthe
lastframe(from1to65535)(default1)
hashencoderclassAVOptions:
hash<string>E.......sethashtouse(default"sha256")
format_version<int>E.......fileformatversion(from1to2)
(default2)
HDSmuxerAVOptions:
window_size<int>E.......numberoffragmentskeptinthe
manifest(from0toINT_MAX)(default0)
extra_window_size<int>E.......numberoffragmentskeptoutsideofthe
Page130

ffmpegcommandoptions(full).txt
manifestbeforeremovingfromdisk(from0toINT_MAX)(default5)
min_frag_duration<int64>E.......minimumfragmentduration(in
microseconds)(from0toINT_MAX)(default1e+007)
remove_at_exit<boolean>E.......removeallfragmentswhenfinished
(defaultfalse)
hlsmuxerAVOptions:
start_number<int64>E.......setfirstnumberinthesequence(from
0toI64_MAX)(default0)
hls_time<float>E.......setsegmentlengthinseconds(from0
toFLT_MAX)(default2)
hls_list_size<int>E.......setmaximumnumberofplaylistentries
(from0toINT_MAX)(default5)
hls_ts_options<string>E.......sethlsmpegtslistofoptionsforthe
containerformatusedforhls
hls_vtt_options<string>E.......sethlsvttlistofoptionsforthe
containerformatusedforhls
hls_wrap<int>E.......setnumberafterwhichtheindexwraps
(from0toINT_MAX)(default0)
hls_allow_cache<int>E.......explicitlysetwhethertheclientMAY
(1)orMUSTNOT(0)cachemediasegments(fromINT_MINtoINT_MAX)(default1)
hls_base_url<string>E.......urltoprependtoeachplaylistentry
hls_segment_filename<string>E.......filenametemplateforsegmentfiles
hls_key_info_file<string>E.......filewithkeyURIandkeyfilepath
hls_subtitle_path<string>E.......setpathofhlssubtitles
hls_flags<flags>E.......setflagsaffectingHLSplaylistand
mediafilegeneration(default0)
single_fileE.......generateasinglemediafileindexed
withbyteranges
delete_segmentsE.......deletesegmentfilesthatarenolonger
partoftheplaylist
round_durationsE.......rounddurationsinm3u8towhole
numbers
discont_startE.......starttheplaylistwithadiscontinuity
tag
omit_endlistE.......Donotappendanendlistwhenending
stream
split_by_timeE.......splitthehlssegmentbytimewhich
usersetbyhls_time
append_listE.......appendthenewsegmentsintooldhls
segmentlist
use_localtime<boolean>E.......setfilenameexpansionwithstrftimeat
segmentcreation(defaultfalse)
use_localtime_mkdir<boolean>E.......createlastdirectorycomponentin
strftimegeneratedfilename(defaultfalse)
hls_playlist_type<int>E.......settheHLSplaylisttype(from0to2)
(default0)
eventE.......EVENTplaylist
Page131

ffmpegcommandoptions(full).txt
vodE.......VODplaylist
method<string>E.......settheHTTPmethod
image2muxerAVOptions:
updatefirst<boolean>E.......continuouslyoverwriteonefile
(defaultfalse)
update<boolean>E.......continuouslyoverwriteonefile
(defaultfalse)
start_number<int>E.......setfirstnumberinthesequence(from
0toINT_MAX)(default1)
strftime<boolean>E.......usestrftimeforfilename(default
false)
atomic_writing<boolean>E.......writefilesatomically(usingtemporary
filesandrenames)(defaultfalse)
ipodmuxerAVOptions:
movflags<flags>E.......MOVmuxerflags(default0)
rtphintE.......AddRTPhinttracks
empty_moovE.......Maketheinitialmoovatomempty
frag_keyframeE.......Fragmentatvideokeyframes
separate_moofE.......Writeseparatemoof/mdatatomsforeach
track
frag_customE.......Flushfragmentsoncallerrequests
ismlE.......Createalivesmoothstreamingfeed
(forpushingtoapublishingpoint)
faststartE.......Runasecondpasstoputtheindex
(moovatom)atthebeginningofthefile
omit_tfhd_offsetE.......Omitthebasedataoffsetintfhd
atoms
disable_chplE.......DisableNerochapteratom
default_base_moofE.......Setthedefaultbaseismoofflagin
tfhdatoms
dashE.......WriteDASHcompatiblefragmentedMP4
frag_discontE.......Signalthatthenextfragmentis
discontinuousfromearlierones
delay_moovE.......Delaywritingtheinitialmoovuntil
thefirstfragmentiscut,oruntilthefirstfragmentflush
global_sidxE.......Writeaglobalsidxindexatthestart
ofthefile
write_colrE.......Writecolratom(Experimental,maybe
renamedorchanged,donotusefromscripts)
write_gamaE.......Writedeprecatedgamaatom
use_metadata_tagsE.......Usemdtaatomformetadata.
moov_size<int>E.......maximummoovsizesoitcanbeplaced
atthebegin(from0toINT_MAX)(default0)
rtpflags<flags>E.......RTPmuxerflags(default0)
latmE.......UseMP4ALATMpacketizationinsteadof
MPEG4GENERICforAAC
Page132

ffmpegcommandoptions(full).txt
rfc2190E.......UseRFC2190packetizationinsteadof
RFC4629forH.263
skip_rtcpE.......Don'tsendRTCPsenderreports
h264_mode0E.......Usemode0forH.264inRTP
send_byeE.......SendRTCPBYEpacketswhenfinishing
skip_iods<boolean>E.......Skipwritingiodsatom.(defaulttrue)
iods_audio_profile<int>E.......iodsaudioprofileatom.(from1to
255)(default1)
iods_video_profile<int>E.......iodsvideoprofileatom.(from1to
255)(default1)
frag_duration<int>E.......Maximumfragmentduration(from0to
INT_MAX)(default0)
min_frag_duration<int>E.......Minimumfragmentduration(from0to
INT_MAX)(default0)
frag_size<int>E.......Maximumfragmentsize(from0to
INT_MAX)(default0)
ism_lookahead<int>E.......NumberoflookaheadentriesforISM
files(from0toINT_MAX)(default0)
video_track_timescale<int>E.......settimescaleofallvideotracks
(from0toINT_MAX)(default0)
brand<string>E.......Overridemajorbrand
use_editlist<boolean>E.......useeditlist(defaultauto)
fragment_index<int>E.......Fragmentnumberofthenextfragment
(from1toINT_MAX)(default1)
mov_gamma<float>E.......gammavalueforgamaatom(from0to
10)(default0)
frag_interleave<int>E.......Interleavesampleswithinfragments
(maxnumberofconsecutivesamples,loweristighterinterleaving,butwithmore
overhead)(from0toINT_MAX)(default0)
encryption_scheme<string>E.......Configurestheencryptionscheme,
allowedvaluesarenone,cencaesctr
encryption_key<binary>E.......Themediaencryptionkey(hex)
encryption_kid<binary>E.......Themediaencryptionkeyidentifier
(hex)
ismvmuxerAVOptions:
movflags<flags>E.......MOVmuxerflags(default0)
rtphintE.......AddRTPhinttracks
empty_moovE.......Maketheinitialmoovatomempty
frag_keyframeE.......Fragmentatvideokeyframes
separate_moofE.......Writeseparatemoof/mdatatomsforeach
track
frag_customE.......Flushfragmentsoncallerrequests
ismlE.......Createalivesmoothstreamingfeed
(forpushingtoapublishingpoint)
faststartE.......Runasecondpasstoputtheindex
(moovatom)atthebeginningofthefile
omit_tfhd_offsetE.......Omitthebasedataoffsetintfhd
Page133

ffmpegcommandoptions(full).txt
atoms
disable_chplE.......DisableNerochapteratom
default_base_moofE.......Setthedefaultbaseismoofflagin
tfhdatoms
dashE.......WriteDASHcompatiblefragmentedMP4
frag_discontE.......Signalthatthenextfragmentis
discontinuousfromearlierones
delay_moovE.......Delaywritingtheinitialmoovuntil
thefirstfragmentiscut,oruntilthefirstfragmentflush
global_sidxE.......Writeaglobalsidxindexatthestart
ofthefile
write_colrE.......Writecolratom(Experimental,maybe
renamedorchanged,donotusefromscripts)
write_gamaE.......Writedeprecatedgamaatom
use_metadata_tagsE.......Usemdtaatomformetadata.
moov_size<int>E.......maximummoovsizesoitcanbeplaced
atthebegin(from0toINT_MAX)(default0)
rtpflags<flags>E.......RTPmuxerflags(default0)
latmE.......UseMP4ALATMpacketizationinsteadof
MPEG4GENERICforAAC
rfc2190E.......UseRFC2190packetizationinsteadof
RFC4629forH.263
skip_rtcpE.......Don'tsendRTCPsenderreports
h264_mode0E.......Usemode0forH.264inRTP
send_byeE.......SendRTCPBYEpacketswhenfinishing
skip_iods<boolean>E.......Skipwritingiodsatom.(defaulttrue)
iods_audio_profile<int>E.......iodsaudioprofileatom.(from1to
255)(default1)
iods_video_profile<int>E.......iodsvideoprofileatom.(from1to
255)(default1)
frag_duration<int>E.......Maximumfragmentduration(from0to
INT_MAX)(default0)
min_frag_duration<int>E.......Minimumfragmentduration(from0to
INT_MAX)(default0)
frag_size<int>E.......Maximumfragmentsize(from0to
INT_MAX)(default0)
ism_lookahead<int>E.......NumberoflookaheadentriesforISM
files(from0toINT_MAX)(default0)
video_track_timescale<int>E.......settimescaleofallvideotracks
(from0toINT_MAX)(default0)
brand<string>E.......Overridemajorbrand
use_editlist<boolean>E.......useeditlist(defaultauto)
fragment_index<int>E.......Fragmentnumberofthenextfragment
(from1toINT_MAX)(default1)
mov_gamma<float>E.......gammavalueforgamaatom(from0to
10)(default0)
frag_interleave<int>E.......Interleavesampleswithinfragments
(maxnumberofconsecutivesamples,loweristighterinterleaving,butwithmore
Page134

ffmpegcommandoptions(full).txt
overhead)(from0toINT_MAX)(default0)
encryption_scheme<string>E.......Configurestheencryptionscheme,
allowedvaluesarenone,cencaesctr
encryption_key<binary>E.......Themediaencryptionkey(hex)
encryption_kid<binary>E.......Themediaencryptionkeyidentifier
(hex)
LATM/LOASmuxerAVOptions:
smcinterval<int>E.......StreamMuxConfiginterval.(from1to
65535)(default20)
MD5encoderclassAVOptions:
hash<string>E.......sethashtouse(default"md5")
format_version<int>E.......fileformatversion(from1to2)
(default2)
matroskamuxerAVOptions:
reserve_index_space<int>E.......Reserveagivenamountofspace(in
bytes)atthebeginningofthefilefortheindex(cues).(from0toINT_MAX)
(default0)
cluster_size_limit<int>E.......Storeatmosttheprovidedamountof
bytesinacluster.(from1toINT_MAX)(default1)
cluster_time_limit<int64>E.......Storeatmosttheprovidednumberof
millisecondsinacluster.(from1toI64_MAX)(default1)
dash<boolean>E.......CreateaWebMfileconformingtoWebM
DASHspecification(defaultfalse)
dash_track_number<int>E.......TracknumberfortheDASHstream(from
0to127)(default1)
live<boolean>E.......Writefilesassumingitisalive
stream.(defaultfalse)
allow_raw_vfw<boolean>E.......allowRAWVFWmode(defaultfalse)
matroskaaudiomuxerAVOptions:
reserve_index_space<int>E.......Reserveagivenamountofspace(in
bytes)atthebeginningofthefilefortheindex(cues).(from0toINT_MAX)
(default0)
cluster_size_limit<int>E.......Storeatmosttheprovidedamountof
bytesinacluster.(from1toINT_MAX)(default1)
cluster_time_limit<int64>E.......Storeatmosttheprovidednumberof
millisecondsinacluster.(from1toI64_MAX)(default1)
dash<boolean>E.......CreateaWebMfileconformingtoWebM
DASHspecification(defaultfalse)
dash_track_number<int>E.......TracknumberfortheDASHstream(from
0to127)(default1)
live<boolean>E.......Writefilesassumingitisalive
stream.(defaultfalse)
allow_raw_vfw<boolean>E.......allowRAWVFWmode(defaultfalse)
Page135

ffmpegcommandoptions(full).txt
movmuxerAVOptions:
movflags<flags>E.......MOVmuxerflags(default0)
rtphintE.......AddRTPhinttracks
empty_moovE.......Maketheinitialmoovatomempty
frag_keyframeE.......Fragmentatvideokeyframes
separate_moofE.......Writeseparatemoof/mdatatomsforeach
track
frag_customE.......Flushfragmentsoncallerrequests
ismlE.......Createalivesmoothstreamingfeed
(forpushingtoapublishingpoint)
faststartE.......Runasecondpasstoputtheindex
(moovatom)atthebeginningofthefile
omit_tfhd_offsetE.......Omitthebasedataoffsetintfhd
atoms
disable_chplE.......DisableNerochapteratom
default_base_moofE.......Setthedefaultbaseismoofflagin
tfhdatoms
dashE.......WriteDASHcompatiblefragmentedMP4
frag_discontE.......Signalthatthenextfragmentis
discontinuousfromearlierones
delay_moovE.......Delaywritingtheinitialmoovuntil
thefirstfragmentiscut,oruntilthefirstfragmentflush
global_sidxE.......Writeaglobalsidxindexatthestart
ofthefile
write_colrE.......Writecolratom(Experimental,maybe
renamedorchanged,donotusefromscripts)
write_gamaE.......Writedeprecatedgamaatom
use_metadata_tagsE.......Usemdtaatomformetadata.
moov_size<int>E.......maximummoovsizesoitcanbeplaced
atthebegin(from0toINT_MAX)(default0)
rtpflags<flags>E.......RTPmuxerflags(default0)
latmE.......UseMP4ALATMpacketizationinsteadof
MPEG4GENERICforAAC
rfc2190E.......UseRFC2190packetizationinsteadof
RFC4629forH.263
skip_rtcpE.......Don'tsendRTCPsenderreports
h264_mode0E.......Usemode0forH.264inRTP
send_byeE.......SendRTCPBYEpacketswhenfinishing
skip_iods<boolean>E.......Skipwritingiodsatom.(defaulttrue)
iods_audio_profile<int>E.......iodsaudioprofileatom.(from1to
255)(default1)
iods_video_profile<int>E.......iodsvideoprofileatom.(from1to
255)(default1)
frag_duration<int>E.......Maximumfragmentduration(from0to
INT_MAX)(default0)
min_frag_duration<int>E.......Minimumfragmentduration(from0to
INT_MAX)(default0)
frag_size<int>E.......Maximumfragmentsize(from0to
Page136

ffmpegcommandoptions(full).txt
INT_MAX)(default0)
ism_lookahead<int>E.......NumberoflookaheadentriesforISM
files(from0toINT_MAX)(default0)
video_track_timescale<int>E.......settimescaleofallvideotracks
(from0toINT_MAX)(default0)
brand<string>E.......Overridemajorbrand
use_editlist<boolean>E.......useeditlist(defaultauto)
fragment_index<int>E.......Fragmentnumberofthenextfragment
(from1toINT_MAX)(default1)
mov_gamma<float>E.......gammavalueforgamaatom(from0to
10)(default0)
frag_interleave<int>E.......Interleavesampleswithinfragments
(maxnumberofconsecutivesamples,loweristighterinterleaving,butwithmore
overhead)(from0toINT_MAX)(default0)
encryption_scheme<string>E.......Configurestheencryptionscheme,
allowedvaluesarenone,cencaesctr
encryption_key<binary>E.......Themediaencryptionkey(hex)
encryption_kid<binary>E.......Themediaencryptionkeyidentifier
(hex)
MP3muxerAVOptions:
id3v2_version<int>E.......SelectID3v2versiontowrite.
Currently3and4aresupported.(from0to4)(default4)
write_id3v1<boolean>E.......EnableID3v1writing.ID3v1tagsare
writteninUTF8whichmaynotbesupportedbymostsoftware.(defaultfalse)
write_xing<boolean>E.......WritetheXingheadercontainingfile
duration.(defaulttrue)
mp4muxerAVOptions:
movflags<flags>E.......MOVmuxerflags(default0)
rtphintE.......AddRTPhinttracks
empty_moovE.......Maketheinitialmoovatomempty
frag_keyframeE.......Fragmentatvideokeyframes
separate_moofE.......Writeseparatemoof/mdatatomsforeach
track
frag_customE.......Flushfragmentsoncallerrequests
ismlE.......Createalivesmoothstreamingfeed
(forpushingtoapublishingpoint)
faststartE.......Runasecondpasstoputtheindex
(moovatom)atthebeginningofthefile
omit_tfhd_offsetE.......Omitthebasedataoffsetintfhd
atoms
disable_chplE.......DisableNerochapteratom
default_base_moofE.......Setthedefaultbaseismoofflagin
tfhdatoms
dashE.......WriteDASHcompatiblefragmentedMP4
frag_discontE.......Signalthatthenextfragmentis
discontinuousfromearlierones
Page137

ffmpegcommandoptions(full).txt
delay_moovE.......Delaywritingtheinitialmoovuntil
thefirstfragmentiscut,oruntilthefirstfragmentflush
global_sidxE.......Writeaglobalsidxindexatthestart
ofthefile
write_colrE.......Writecolratom(Experimental,maybe
renamedorchanged,donotusefromscripts)
write_gamaE.......Writedeprecatedgamaatom
use_metadata_tagsE.......Usemdtaatomformetadata.
moov_size<int>E.......maximummoovsizesoitcanbeplaced
atthebegin(from0toINT_MAX)(default0)
rtpflags<flags>E.......RTPmuxerflags(default0)
latmE.......UseMP4ALATMpacketizationinsteadof
MPEG4GENERICforAAC
rfc2190E.......UseRFC2190packetizationinsteadof
RFC4629forH.263
skip_rtcpE.......Don'tsendRTCPsenderreports
h264_mode0E.......Usemode0forH.264inRTP
send_byeE.......SendRTCPBYEpacketswhenfinishing
skip_iods<boolean>E.......Skipwritingiodsatom.(defaulttrue)
iods_audio_profile<int>E.......iodsaudioprofileatom.(from1to
255)(default1)
iods_video_profile<int>E.......iodsvideoprofileatom.(from1to
255)(default1)
frag_duration<int>E.......Maximumfragmentduration(from0to
INT_MAX)(default0)
min_frag_duration<int>E.......Minimumfragmentduration(from0to
INT_MAX)(default0)
frag_size<int>E.......Maximumfragmentsize(from0to
INT_MAX)(default0)
ism_lookahead<int>E.......NumberoflookaheadentriesforISM
files(from0toINT_MAX)(default0)
video_track_timescale<int>E.......settimescaleofallvideotracks
(from0toINT_MAX)(default0)
brand<string>E.......Overridemajorbrand
use_editlist<boolean>E.......useeditlist(defaultauto)
fragment_index<int>E.......Fragmentnumberofthenextfragment
(from1toINT_MAX)(default1)
mov_gamma<float>E.......gammavalueforgamaatom(from0to
10)(default0)
frag_interleave<int>E.......Interleavesampleswithinfragments
(maxnumberofconsecutivesamples,loweristighterinterleaving,butwithmore
overhead)(from0toINT_MAX)(default0)
encryption_scheme<string>E.......Configurestheencryptionscheme,
allowedvaluesarenone,cencaesctr
encryption_key<binary>E.......Themediaencryptionkey(hex)
encryption_kid<binary>E.......Themediaencryptionkeyidentifier
(hex)
Page138

ffmpegcommandoptions(full).txt
mpegmuxerAVOptions:
muxrate<int>E.......(from0to1.67772e+009)(default0)
preload<int>E.......Initialdemuxdecodedelayin
microseconds.(from0toINT_MAX)(default500000)
vcdmuxerAVOptions:
muxrate<int>E.......(from0to1.67772e+009)(default0)
preload<int>E.......Initialdemuxdecodedelayin
microseconds.(from0toINT_MAX)(default500000)
dvdmuxerAVOptions:
muxrate<int>E.......(from0to1.67772e+009)(default0)
preload<int>E.......Initialdemuxdecodedelayin
microseconds.(from0toINT_MAX)(default500000)
svcdmuxerAVOptions:
muxrate<int>E.......(from0to1.67772e+009)(default0)
preload<int>E.......Initialdemuxdecodedelayin
microseconds.(from0toINT_MAX)(default500000)
vobmuxerAVOptions:
muxrate<int>E.......(from0to1.67772e+009)(default0)
preload<int>E.......Initialdemuxdecodedelayin
microseconds.(from0toINT_MAX)(default500000)
MPEGTSmuxerAVOptions:
mpegts_transport_stream_id<int>E.......Settransport_stream_idfield.
(from1to65535)(default1)
mpegts_original_network_id<int>E.......Setoriginal_network_idfield.
(from1to65535)(default65281)
mpegts_service_id<int>E.......Setservice_idfield.(from1to65535)
(default1)
mpegts_service_type<int>E.......Setservice_typefield.(from1to
255)(defaultdigital_tv)
digital_tvE.......DigitalTelevision.
digital_radioE.......DigitalRadio.
teletextE.......Teletext.
advanced_codec_digital_radioE.......AdvancedCodecDigital
Radio.
mpeg2_digital_hdtvE.......MPEG2DigitalHDTV.
advanced_codec_digital_sdtvE.......AdvancedCodecDigital
SDTV.
advanced_codec_digital_hdtvE.......AdvancedCodecDigital
HDTV.
hevc_digital_hdtvE.......HEVCDigitalTelevisionService.
mpegts_pmt_start_pid<int>E.......SetthefirstpidofthePMT.(from
16to7936)(default4096)
mpegts_start_pid<int>E.......Setthefirstpid.(from32to3840)
Page139

ffmpegcommandoptions(full).txt
(default256)
mpegts_m2ts_mode<boolean>E.......Enablem2tsmode.(defaultauto)
muxrate<int>E.......(from0toINT_MAX)(default1)
pes_payload_size<int>E.......MinimumPESpacketpayloadinbytes
(from0toINT_MAX)(default2930)
mpegts_flags<flags>E.......MPEGTSmuxingflags(default0)
resend_headersE.......ReemitPAT/PMTbeforewritingthenext
packet
latmE.......UseLATMpacketizationforAAC
pat_pmt_at_framesE.......ReemitPATandPMTateachvideo
frame
system_bE.......ConformtoSystemB(DVB)insteadof
SystemA(ATSC)
resend_headers<int>E.......ReemitPAT/PMTbeforewritingthenext
packet(from0toINT_MAX)(default0)
mpegts_copyts<boolean>E.......don'toffsetdts/pts(defaultauto)
tables_version<int>E.......setPAT,PMTandSDTversion(from0to
31)(default0)
omit_video_pes_length<boolean>E.......OmitthePESpacketlengthfor
videopackets(defaulttrue)
pcr_period<int>E.......PCRretransmissiontime(from0to
INT_MAX)(default20)
pat_period<double>E.......PAT/PMTretransmissiontimelimitin
seconds(from0toINT_MAX)(defaultINT_MAX)
sdt_period<double>E.......SDTretransmissiontimelimitin
seconds(from0toINT_MAX)(defaultINT_MAX)
mpjpeg_muxerAVOptions:
boundary_tag<string>E.......Boundarytag(default"ffserver")
MXFmuxerAVOptions:
signal_standard<int>E.......Force/setSigalStandard(from1to7)
(default1)
bt601E.......ITURBT.601andBT.656,alsoSMPTE
125M(525and625lineinterlaced)
bt1358E.......ITURBT.1358andITURBT.7993,also
SMPTE293M(525and625lineprogressive)
smpte347mE.......SMPTE347M(540Mbpsmappings)
smpte274mE.......SMPTE274M(1125line)
smpte296mE.......SMPTE296M(750lineprogressive)
smpte349mE.......SMPTE349M(1485Mbpsmappings)
smpte428E.......SMPTE4281DCDM
store_user_comments<boolean>E.......(defaulttrue)
MXFD10muxerAVOptions:
d10_channelcount<int>E.......Force/setchannelcountingenericsound
essencedescriptor(from1to8)(default1)
signal_standard<int>E.......Force/setSigalStandard(from1to7)
Page140

ffmpegcommandoptions(full).txt
(default1)
bt601E.......ITURBT.601andBT.656,alsoSMPTE
125M(525and625lineinterlaced)
bt1358E.......ITURBT.1358andITURBT.7993,also
SMPTE293M(525and625lineprogressive)
smpte347mE.......SMPTE347M(540Mbpsmappings)
smpte274mE.......SMPTE274M(1125line)
smpte296mE.......SMPTE296M(750lineprogressive)
smpte349mE.......SMPTE349M(1485Mbpsmappings)
smpte428E.......SMPTE4281DCDM
store_user_comments<boolean>E.......(defaultfalse)
MXFOPAtommuxerAVOptions:
mxf_audio_edit_rate<rational>E.......Audioeditratefortimecode(from0
toINT_MAX)(default25/1)
signal_standard<int>E.......Force/setSigalStandard(from1to7)
(default1)
bt601E.......ITURBT.601andBT.656,alsoSMPTE
125M(525and625lineinterlaced)
bt1358E.......ITURBT.1358andITURBT.7993,also
SMPTE293M(525and625lineprogressive)
smpte347mE.......SMPTE347M(540Mbpsmappings)
smpte274mE.......SMPTE274M(1125line)
smpte296mE.......SMPTE296M(750lineprogressive)
smpte349mE.......SMPTE349M(1485Mbpsmappings)
smpte428E.......SMPTE4281DCDM
nutencAVOptions:
syncpoints<flags>E.......NUTsyncpointbehaviour(default0)
defaultE.......
noneE.......Disablesyncpoints,lowoverheadand
unseekable
timestampedE.......Extendsyncpointswithawallclock
timestamp
write_index<boolean>E.......Writeindex(defaulttrue)
OggaudiomuxerAVOptions:
serial_offset<int>E.......serialnumberoffset(from0to
INT_MAX)(default0)
oggpagesize<int>E.......SetpreferredOggpagesize.(from0to
65025)(default0)
pagesize<int>E.......preferredpagesizeinbytes
(deprecated)(from0to65025)(default0)
page_duration<int64>E.......preferredpageduration,in
microseconds(from0toI64_MAX)(default1e+006)
OggmuxerAVOptions:
serial_offset<int>E.......serialnumberoffset(from0to
Page141

ffmpegcommandoptions(full).txt
INT_MAX)(default0)
oggpagesize<int>E.......SetpreferredOggpagesize.(from0to
65025)(default0)
pagesize<int>E.......preferredpagesizeinbytes
(deprecated)(from0to65025)(default0)
page_duration<int64>E.......preferredpageduration,in
microseconds(from0toI64_MAX)(default1e+006)
OggvideomuxerAVOptions:
serial_offset<int>E.......serialnumberoffset(from0to
INT_MAX)(default0)
oggpagesize<int>E.......SetpreferredOggpagesize.(from0to
65025)(default0)
pagesize<int>E.......preferredpagesizeinbytes
(deprecated)(from0to65025)(default0)
page_duration<int64>E.......preferredpageduration,in
microseconds(from0toI64_MAX)(default1e+006)
OggOpusmuxerAVOptions:
serial_offset<int>E.......serialnumberoffset(from0to
INT_MAX)(default0)
oggpagesize<int>E.......SetpreferredOggpagesize.(from0to
65025)(default0)
pagesize<int>E.......preferredpagesizeinbytes
(deprecated)(from0to65025)(default0)
page_duration<int64>E.......preferredpageduration,in
microseconds(from0toI64_MAX)(default1e+006)
pspmuxerAVOptions:
movflags<flags>E.......MOVmuxerflags(default0)
rtphintE.......AddRTPhinttracks
empty_moovE.......Maketheinitialmoovatomempty
frag_keyframeE.......Fragmentatvideokeyframes
separate_moofE.......Writeseparatemoof/mdatatomsforeach
track
frag_customE.......Flushfragmentsoncallerrequests
ismlE.......Createalivesmoothstreamingfeed
(forpushingtoapublishingpoint)
faststartE.......Runasecondpasstoputtheindex
(moovatom)atthebeginningofthefile
omit_tfhd_offsetE.......Omitthebasedataoffsetintfhd
atoms
disable_chplE.......DisableNerochapteratom
default_base_moofE.......Setthedefaultbaseismoofflagin
tfhdatoms
dashE.......WriteDASHcompatiblefragmentedMP4
frag_discontE.......Signalthatthenextfragmentis
discontinuousfromearlierones
Page142

ffmpegcommandoptions(full).txt
delay_moovE.......Delaywritingtheinitialmoovuntil
thefirstfragmentiscut,oruntilthefirstfragmentflush
global_sidxE.......Writeaglobalsidxindexatthestart
ofthefile
write_colrE.......Writecolratom(Experimental,maybe
renamedorchanged,donotusefromscripts)
write_gamaE.......Writedeprecatedgamaatom
use_metadata_tagsE.......Usemdtaatomformetadata.
moov_size<int>E.......maximummoovsizesoitcanbeplaced
atthebegin(from0toINT_MAX)(default0)
rtpflags<flags>E.......RTPmuxerflags(default0)
latmE.......UseMP4ALATMpacketizationinsteadof
MPEG4GENERICforAAC
rfc2190E.......UseRFC2190packetizationinsteadof
RFC4629forH.263
skip_rtcpE.......Don'tsendRTCPsenderreports
h264_mode0E.......Usemode0forH.264inRTP
send_byeE.......SendRTCPBYEpacketswhenfinishing
skip_iods<boolean>E.......Skipwritingiodsatom.(defaulttrue)
iods_audio_profile<int>E.......iodsaudioprofileatom.(from1to
255)(default1)
iods_video_profile<int>E.......iodsvideoprofileatom.(from1to
255)(default1)
frag_duration<int>E.......Maximumfragmentduration(from0to
INT_MAX)(default0)
min_frag_duration<int>E.......Minimumfragmentduration(from0to
INT_MAX)(default0)
frag_size<int>E.......Maximumfragmentsize(from0to
INT_MAX)(default0)
ism_lookahead<int>E.......NumberoflookaheadentriesforISM
files(from0toINT_MAX)(default0)
video_track_timescale<int>E.......settimescaleofallvideotracks
(from0toINT_MAX)(default0)
brand<string>E.......Overridemajorbrand
use_editlist<boolean>E.......useeditlist(defaultauto)
fragment_index<int>E.......Fragmentnumberofthenextfragment
(from1toINT_MAX)(default1)
mov_gamma<float>E.......gammavalueforgamaatom(from0to
10)(default0)
frag_interleave<int>E.......Interleavesampleswithinfragments
(maxnumberofconsecutivesamples,loweristighterinterleaving,butwithmore
overhead)(from0toINT_MAX)(default0)
encryption_scheme<string>E.......Configurestheencryptionscheme,
allowedvaluesarenone,cencaesctr
encryption_key<binary>E.......Themediaencryptionkey(hex)
encryption_kid<binary>E.......Themediaencryptionkeyidentifier
(hex)
Page143

ffmpegcommandoptions(full).txt
RTPmuxerAVOptions:
rtpflags<flags>E.......RTPmuxerflags(default0)
latmE.......UseMP4ALATMpacketizationinsteadof
MPEG4GENERICforAAC
rfc2190E.......UseRFC2190packetizationinsteadof
RFC4629forH.263
skip_rtcpE.......Don'tsendRTCPsenderreports
h264_mode0E.......Usemode0forH.264inRTP
send_byeE.......SendRTCPBYEpacketswhenfinishing
payload_type<int>E.......SpecifyRTPpayloadtype(from1to
127)(default1)
ssrc<int>E.......Streamidentifier(fromINT_MINto
INT_MAX)(default0)
cname<string>E.......CNAMEtoincludeinRTCPSRpackets
seq<int>E.......Startingsequencenumber(from1to
65535)(default1)
RTSPmuxerAVOptions:
initial_pause<boolean>.D......donotstartplayingthestream
immediately(defaultfalse)
rtpflags<flags>E.......RTPmuxerflags(default0)
latmE.......UseMP4ALATMpacketizationinsteadof
MPEG4GENERICforAAC
rfc2190E.......UseRFC2190packetizationinsteadof
RFC4629forH.263
skip_rtcpE.......Don'tsendRTCPsenderreports
h264_mode0E.......Usemode0forH.264inRTP
send_byeE.......SendRTCPBYEpacketswhenfinishing
rtsp_transport<flags>ED......setRTSPtransportprotocols(default
0)
udpED......UDP
tcpED......TCP
udp_multicast.D......UDPmulticast
http.D......HTTPtunneling
rtsp_flags<flags>.D......setRTSPflags(default0)
filter_src.D......onlyreceivepacketsfromthe
negotiatedpeerIP
listen.D......waitforincomingconnections
prefer_tcpED......tryRTPviaTCPfirst,ifavailable
allowed_media_types<flags>.D......setmediatypestoacceptfromthe
server(defaultvideo+audio+data+subtitle)
video.D......Video
audio.D......Audio
data.D......Data
subtitle.D......Subtitle
min_port<int>ED......setminimumlocalUDPport(from0to
65535)(default5000)
max_port<int>ED......setmaximumlocalUDPport(from0to
Page144

ffmpegcommandoptions(full).txt
65535)(default65000)
timeout<int>.D......setmaximumtimeout(inseconds)to
waitforincomingconnections(1isinfinite,implyflaglisten)(fromINT_MINto
INT_MAX)(default1)
stimeout<int>.D......settimeout(inmicroseconds)ofsocket
TCPI/Ooperations(fromINT_MINtoINT_MAX)(default0)
reorder_queue_size<int>.D......setnumberofpacketstobufferfor
handlingofreorderedpackets(from1toINT_MAX)(default1)
buffer_size<int>ED......Underlyingprotocolsend/receivebuffer
size(from1toINT_MAX)(default1)
useragent<string>.D......overrideUserAgentheader(default
"Lavf57.48.101")
segmentmuxerAVOptions:
reference_stream<string>E.......setreferencestream(default"auto")
segment_format<string>E.......setcontainerformatusedforthe
segments
segment_format_options<string>E.......setlistofoptionsforthe
containerformatusedforthesegments
segment_list<string>E.......setthesegmentlistfilename
segment_header_filename<string>E.......writeasinglefilecontaining
theheader
segment_list_flags<flags>E.......setflagsaffectingsegmentlist
generation(defaultcache)
cacheE.......allowlistcaching
liveE.......enablelivefriendlylistgeneration
(usefulforHLS)
segment_list_size<int>E.......setthemaximumnumberofplaylist
entries(from0toINT_MAX)(default0)
segment_list_type<int>E.......setthesegmentlisttype(from1to
4)(default1)
flatE.......flatformat
csvE.......csvformat
extE.......extendedformat
ffconcatE.......ffconcatformat
m3u8E.......M3U8format
hlsE.......AppleHTTPLiveStreamingcompatible
segment_atclocktime<boolean>E.......setsegmenttobecutatclocktime
(defaultfalse)
segment_clocktime_offset<duration>E.......setsegmentclocktimeoffset
(default0)
segment_clocktime_wrap_duration<duration>E.......setsegmentclocktime
wrappingduration(defaultINT64_MAX)
segment_time<string>E.......setsegmentduration
segment_time_delta<duration>E.......setapproximationvalueusedforthe
segmenttimes(default0)
segment_times<string>E.......setsegmentsplittimepoints
segment_frames<string>E.......setsegmentsplitframenumbers
Page145

ffmpegcommandoptions(full).txt
segment_wrap<int>E.......setnumberafterwhichtheindexwraps
(from0toINT_MAX)(default0)
segment_list_entry_prefix<string>E.......setbaseurlprefixfor
segments
segment_start_number<int>E.......setthesequencenumberofthefirst
segment(from0toINT_MAX)(default0)
segment_wrap_number<int>E.......setthenumberofwrapbeforethe
firstsegment(from0toINT_MAX)(default0)
strftime<boolean>E.......setfilenameexpansionwithstrftimeat
segmentcreation(defaultfalse)
increment_tc<boolean>E.......incrementtimecodebetweeneachsegment
(defaultfalse)
break_non_keyframes<boolean>E.......allowbreakingsegmentson
nonkeyframes(defaultfalse)
individual_header_trailer<boolean>E.......writeheader/trailertoeach
segment(defaulttrue)
write_header_trailer<boolean>E.......writeaheadertothefirstsegment
andatrailertothelastone(defaulttrue)
reset_timestamps<boolean>E.......resettimestampsatthebeginofeach
segment(defaultfalse)
initial_offset<duration>E.......setinitialtimestampoffset(default
0)
write_empty_segments<boolean>E.......allowwritingempty'filler'
segments(defaultfalse)
stream_segmentmuxerAVOptions:
reference_stream<string>E.......setreferencestream(default"auto")
segment_format<string>E.......setcontainerformatusedforthe
segments
segment_format_options<string>E.......setlistofoptionsforthe
containerformatusedforthesegments
segment_list<string>E.......setthesegmentlistfilename
segment_header_filename<string>E.......writeasinglefilecontaining
theheader
segment_list_flags<flags>E.......setflagsaffectingsegmentlist
generation(defaultcache)
cacheE.......allowlistcaching
liveE.......enablelivefriendlylistgeneration
(usefulforHLS)
segment_list_size<int>E.......setthemaximumnumberofplaylist
entries(from0toINT_MAX)(default0)
segment_list_type<int>E.......setthesegmentlisttype(from1to
4)(default1)
flatE.......flatformat
csvE.......csvformat
extE.......extendedformat
ffconcatE.......ffconcatformat
m3u8E.......M3U8format
Page146

ffmpegcommandoptions(full).txt
hlsE.......AppleHTTPLiveStreamingcompatible
segment_atclocktime<boolean>E.......setsegmenttobecutatclocktime
(defaultfalse)
segment_clocktime_offset<duration>E.......setsegmentclocktimeoffset
(default0)
segment_clocktime_wrap_duration<duration>E.......setsegmentclocktime
wrappingduration(defaultINT64_MAX)
segment_time<string>E.......setsegmentduration
segment_time_delta<duration>E.......setapproximationvalueusedforthe
segmenttimes(default0)
segment_times<string>E.......setsegmentsplittimepoints
segment_frames<string>E.......setsegmentsplitframenumbers
segment_wrap<int>E.......setnumberafterwhichtheindexwraps
(from0toINT_MAX)(default0)
segment_list_entry_prefix<string>E.......setbaseurlprefixfor
segments
segment_start_number<int>E.......setthesequencenumberofthefirst
segment(from0toINT_MAX)(default0)
segment_wrap_number<int>E.......setthenumberofwrapbeforethe
firstsegment(from0toINT_MAX)(default0)
strftime<boolean>E.......setfilenameexpansionwithstrftimeat
segmentcreation(defaultfalse)
increment_tc<boolean>E.......incrementtimecodebetweeneachsegment
(defaultfalse)
break_non_keyframes<boolean>E.......allowbreakingsegmentson
nonkeyframes(defaultfalse)
individual_header_trailer<boolean>E.......writeheader/trailertoeach
segment(defaulttrue)
write_header_trailer<boolean>E.......writeaheadertothefirstsegment
andatrailertothelastone(defaulttrue)
reset_timestamps<boolean>E.......resettimestampsatthebeginofeach
segment(defaultfalse)
initial_offset<duration>E.......setinitialtimestampoffset(default
0)
write_empty_segments<boolean>E.......allowwritingempty'filler'
segments(defaultfalse)
smoothstreamingmuxerAVOptions:
window_size<int>E.......numberoffragmentskeptinthe
manifest(from0toINT_MAX)(default0)
extra_window_size<int>E.......numberoffragmentskeptoutsideofthe
manifestbeforeremovingfromdisk(from0toINT_MAX)(default5)
lookahead_count<int>E.......numberoflookaheadfragments(from0
toINT_MAX)(default2)
min_frag_duration<int64>E.......minimumfragmentduration(in
microseconds)(from0toINT_MAX)(default5e+006)
remove_at_exit<boolean>E.......removeallfragmentswhenfinished
(defaultfalse)
Page147

ffmpegcommandoptions(full).txt
OggSpeexmuxerAVOptions:
serial_offset<int>E.......serialnumberoffset(from0to
INT_MAX)(default0)
oggpagesize<int>E.......SetpreferredOggpagesize.(from0to
65025)(default0)
pagesize<int>E.......preferredpagesizeinbytes
(deprecated)(from0to65025)(default0)
page_duration<int64>E.......preferredpageduration,in
microseconds(from0toI64_MAX)(default1e+006)
spdifAVOptions:
spdif_flags<flags>E.......IEC61937encapsulationflags(default
0)
beE.......outputinbigendianformat(foruseas
s16be)
dtshd_rate<int>E.......muxcompleteDTSframesinHDmodeat
thespecifiedIEC958rate(inHz,default0=disabled)(from0to768000)(default
0)
dtshd_fallback_time<int>E.......minsecstostripHDforafteran
overflow(1:tilltheend,default60)(from1toINT_MAX)(default60)
tg2muxerAVOptions:
movflags<flags>E.......MOVmuxerflags(default0)
rtphintE.......AddRTPhinttracks
empty_moovE.......Maketheinitialmoovatomempty
frag_keyframeE.......Fragmentatvideokeyframes
separate_moofE.......Writeseparatemoof/mdatatomsforeach
track
frag_customE.......Flushfragmentsoncallerrequests
ismlE.......Createalivesmoothstreamingfeed
(forpushingtoapublishingpoint)
faststartE.......Runasecondpasstoputtheindex
(moovatom)atthebeginningofthefile
omit_tfhd_offsetE.......Omitthebasedataoffsetintfhd
atoms
disable_chplE.......DisableNerochapteratom
default_base_moofE.......Setthedefaultbaseismoofflagin
tfhdatoms
dashE.......WriteDASHcompatiblefragmentedMP4
frag_discontE.......Signalthatthenextfragmentis
discontinuousfromearlierones
delay_moovE.......Delaywritingtheinitialmoovuntil
thefirstfragmentiscut,oruntilthefirstfragmentflush
global_sidxE.......Writeaglobalsidxindexatthestart
ofthefile
write_colrE.......Writecolratom(Experimental,maybe
renamedorchanged,donotusefromscripts)
Page148

ffmpegcommandoptions(full).txt
write_gamaE.......Writedeprecatedgamaatom
use_metadata_tagsE.......Usemdtaatomformetadata.
moov_size<int>E.......maximummoovsizesoitcanbeplaced
atthebegin(from0toINT_MAX)(default0)
rtpflags<flags>E.......RTPmuxerflags(default0)
latmE.......UseMP4ALATMpacketizationinsteadof
MPEG4GENERICforAAC
rfc2190E.......UseRFC2190packetizationinsteadof
RFC4629forH.263
skip_rtcpE.......Don'tsendRTCPsenderreports
h264_mode0E.......Usemode0forH.264inRTP
send_byeE.......SendRTCPBYEpacketswhenfinishing
skip_iods<boolean>E.......Skipwritingiodsatom.(defaulttrue)
iods_audio_profile<int>E.......iodsaudioprofileatom.(from1to
255)(default1)
iods_video_profile<int>E.......iodsvideoprofileatom.(from1to
255)(default1)
frag_duration<int>E.......Maximumfragmentduration(from0to
INT_MAX)(default0)
min_frag_duration<int>E.......Minimumfragmentduration(from0to
INT_MAX)(default0)
frag_size<int>E.......Maximumfragmentsize(from0to
INT_MAX)(default0)
ism_lookahead<int>E.......NumberoflookaheadentriesforISM
files(from0toINT_MAX)(default0)
video_track_timescale<int>E.......settimescaleofallvideotracks
(from0toINT_MAX)(default0)
brand<string>E.......Overridemajorbrand
use_editlist<boolean>E.......useeditlist(defaultauto)
fragment_index<int>E.......Fragmentnumberofthenextfragment
(from1toINT_MAX)(default1)
mov_gamma<float>E.......gammavalueforgamaatom(from0to
10)(default0)
frag_interleave<int>E.......Interleavesampleswithinfragments
(maxnumberofconsecutivesamples,loweristighterinterleaving,butwithmore
overhead)(from0toINT_MAX)(default0)
encryption_scheme<string>E.......Configurestheencryptionscheme,
allowedvaluesarenone,cencaesctr
encryption_key<binary>E.......Themediaencryptionkey(hex)
encryption_kid<binary>E.......Themediaencryptionkeyidentifier
(hex)
tgpmuxerAVOptions:
movflags<flags>E.......MOVmuxerflags(default0)
rtphintE.......AddRTPhinttracks
empty_moovE.......Maketheinitialmoovatomempty
frag_keyframeE.......Fragmentatvideokeyframes
separate_moofE.......Writeseparatemoof/mdatatomsforeach
Page149

ffmpegcommandoptions(full).txt
track
frag_customE.......Flushfragmentsoncallerrequests
ismlE.......Createalivesmoothstreamingfeed
(forpushingtoapublishingpoint)
faststartE.......Runasecondpasstoputtheindex
(moovatom)atthebeginningofthefile
omit_tfhd_offsetE.......Omitthebasedataoffsetintfhd
atoms
disable_chplE.......DisableNerochapteratom
default_base_moofE.......Setthedefaultbaseismoofflagin
tfhdatoms
dashE.......WriteDASHcompatiblefragmentedMP4
frag_discontE.......Signalthatthenextfragmentis
discontinuousfromearlierones
delay_moovE.......Delaywritingtheinitialmoovuntil
thefirstfragmentiscut,oruntilthefirstfragmentflush
global_sidxE.......Writeaglobalsidxindexatthestart
ofthefile
write_colrE.......Writecolratom(Experimental,maybe
renamedorchanged,donotusefromscripts)
write_gamaE.......Writedeprecatedgamaatom
use_metadata_tagsE.......Usemdtaatomformetadata.
moov_size<int>E.......maximummoovsizesoitcanbeplaced
atthebegin(from0toINT_MAX)(default0)
rtpflags<flags>E.......RTPmuxerflags(default0)
latmE.......UseMP4ALATMpacketizationinsteadof
MPEG4GENERICforAAC
rfc2190E.......UseRFC2190packetizationinsteadof
RFC4629forH.263
skip_rtcpE.......Don'tsendRTCPsenderreports
h264_mode0E.......Usemode0forH.264inRTP
send_byeE.......SendRTCPBYEpacketswhenfinishing
skip_iods<boolean>E.......Skipwritingiodsatom.(defaulttrue)
iods_audio_profile<int>E.......iodsaudioprofileatom.(from1to
255)(default1)
iods_video_profile<int>E.......iodsvideoprofileatom.(from1to
255)(default1)
frag_duration<int>E.......Maximumfragmentduration(from0to
INT_MAX)(default0)
min_frag_duration<int>E.......Minimumfragmentduration(from0to
INT_MAX)(default0)
frag_size<int>E.......Maximumfragmentsize(from0to
INT_MAX)(default0)
ism_lookahead<int>E.......NumberoflookaheadentriesforISM
files(from0toINT_MAX)(default0)
video_track_timescale<int>E.......settimescaleofallvideotracks
(from0toINT_MAX)(default0)
brand<string>E.......Overridemajorbrand
Page150

ffmpegcommandoptions(full).txt
use_editlist<boolean>E.......useeditlist(defaultauto)
fragment_index<int>E.......Fragmentnumberofthenextfragment
(from1toINT_MAX)(default1)
mov_gamma<float>E.......gammavalueforgamaatom(from0to
10)(default0)
frag_interleave<int>E.......Interleavesampleswithinfragments
(maxnumberofconsecutivesamples,loweristighterinterleaving,butwithmore
overhead)(from0toINT_MAX)(default0)
encryption_scheme<string>E.......Configurestheencryptionscheme,
allowedvaluesarenone,cencaesctr
encryption_key<binary>E.......Themediaencryptionkey(hex)
encryption_kid<binary>E.......Themediaencryptionkeyidentifier
(hex)
WAVmuxerAVOptions:
write_bext<boolean>E.......WriteBEXTchunk.(defaultfalse)
write_peak<int>E.......WritePeakEnvelopechunk.(from0to
2)(defaultoff)
offE.......Donotwritepeakchunk.
onE.......Appendpeakchunkafterwavdata.
onlyE.......Writeonlypeakchunk,omitwavdata.
rf64<int>E.......UseRF64headerratherthanRIFFfor
largefiles.(from1to1)(defaultnever)
autoE.......WriteRF64headeriffilegrowslarge
enough.
alwaysE.......AlwayswriteRF64headerregardlessof
filesize.
neverE.......NeverwriteRF64headerregardlessof
filesize.
peak_block_size<int>E.......Numberofaudiosamplesusedto
generateeachpeakframe.(from0to65536)(default256)
peak_format<int>E.......Theformatofthepeakenvelopedata
(1:uint8,2:uint16).(from1to2)(default2)
peak_ppv<int>E.......Numberofpeakpointsperpeakvalue(1
or2).(from1to2)(default2)
webmmuxerAVOptions:
reserve_index_space<int>E.......Reserveagivenamountofspace(in
bytes)atthebeginningofthefilefortheindex(cues).(from0toINT_MAX)
(default0)
cluster_size_limit<int>E.......Storeatmosttheprovidedamountof
bytesinacluster.(from1toINT_MAX)(default1)
cluster_time_limit<int64>E.......Storeatmosttheprovidednumberof
millisecondsinacluster.(from1toI64_MAX)(default1)
dash<boolean>E.......CreateaWebMfileconformingtoWebM
DASHspecification(defaultfalse)
dash_track_number<int>E.......TracknumberfortheDASHstream(from
0to127)(default1)
Page151

ffmpegcommandoptions(full).txt
live<boolean>E.......Writefilesassumingitisalive
stream.(defaultfalse)
allow_raw_vfw<boolean>E.......allowRAWVFWmode(defaultfalse)
WebMDASHManifestmuxerAVOptions:
adaptation_sets<string>E.......Adaptationsets.Syntax:
id=0,streams=0,1,2id=1,streams=3,4andsoon
debug_mode<boolean>E.......[privateoptionusersshouldnever
setthis].Createdeterministicoutput(defaultfalse)
live<boolean>E.......createalivestreammanifest(default
false)
chunk_start_index<int>E.......startindexofthechunk(from0to
INT_MAX)(default0)
chunk_duration_ms<int>E.......durationofeachchunk(in
milliseconds)(from0toINT_MAX)(default1000)
utc_timing_url<string>E.......URLofthepagethatwillreturnthe
UTCtimestampinISOformat
time_shift_buffer_depth<double>E.......Smallesttime(inseconds)
shiftingbufferforwhichanyRepresentationisguaranteedtobeavailable.(from
1toDBL_MAX)(default60)
minimum_update_period<int>E.......MinimumUpdatePeriod(inseconds)
ofthemanifest.(from0toINT_MAX)(default0)
WebMChunkMuxerAVOptions:
chunk_start_index<int>E.......startindexofthechunk(from0to
INT_MAX)(default0)
header<string>E.......filenameoftheheaderwherethe
initializationdatawillbewritten
audio_chunk_duration<int>E.......durationofeachchunkin
milliseconds(from0toINT_MAX)(default5000)
WebPmuxerAVOptions:
loop<int>E.......Numberoftimestolooptheoutput:0
infiniteloop(from0to65535)(default1)
SWScalerAVOptions:
sws_flags<flags>E..V....scalerflags(defaultbicubic)
fast_bilinearE..V....fastbilinear
bilinearE..V....bilinear
bicubicE..V....bicubic
experimentalE..V....experimental
neighborE..V....nearestneighbor
areaE..V....averagingarea
bicublinE..V....lumabicubic,chromabilinear
gaussE..V....Gaussian
sincE..V....sinc
lanczosE..V....Lanczos
splineE..V....naturalbicubicspline
Page152

ffmpegcommandoptions(full).txt
print_infoE..V....printinfo
accurate_rndE..V....accuraterounding
full_chroma_intE..V....fullchromainterpolation
full_chroma_inpE..V....fullchromainput
bitexactE..V....
error_diffusionE..V....errordiffusiondither
srcw<int>E..V....sourcewidth(from1toINT_MAX)
(default16)
srch<int>E..V....sourceheight(from1toINT_MAX)
(default16)
dstw<int>E..V....destinationwidth(from1toINT_MAX)
(default16)
dsth<int>E..V....destinationheight(from1toINT_MAX)
(default16)
src_format<int>E..V....sourceformat(from0to341)(default
0)
dst_format<int>E..V....destinationformat(from0to341)
(default0)
src_range<boolean>E..V....sourceisfullrange(defaultfalse)
dst_range<boolean>E..V....destinationisfullrange(default
false)
param0<double>E..V....scalerparam0(fromINT_MINto
INT_MAX)(default123456)
param1<double>E..V....scalerparam1(fromINT_MINto
INT_MAX)(default123456)
src_v_chr_pos<int>E..V....sourceverticalchromapositioninluma
grid/256(from513to512)(default513)
src_h_chr_pos<int>E..V....sourcehorizontalchromapositionin
lumagrid/256(from513to512)(default513)
dst_v_chr_pos<int>E..V....destinationverticalchromapositionin
lumagrid/256(from513to512)(default513)
dst_h_chr_pos<int>E..V....destinationhorizontalchromaposition
inlumagrid/256(from513to512)(default513)
sws_dither<int>E..V....setditheringalgorithm(from0to6)
(defaultauto)
autoE..V....leavechoicetosws
bayerE..V....bayerdither
edE..V....errordiffusion
a_ditherE..V....arithmeticadditiondither
x_ditherE..V....arithmeticxordither
gamma<boolean>E..V....gammacorrectscaling(defaultfalse)
alphablend<int>E..V....modeforalpha>nonalpha(from0to
2)(defaultnone)
noneE..V....ignorealpha
uniform_colorE..V....blendontoauniformcolor
checkerboardE..V....blendontoacheckerboard
SWResamplerAVOptions:
Page153

ffmpegcommandoptions(full).txt
ich<int>....A...setinputchannelcount(from0to64)
(default0)
in_channel_count<int>....A...setinputchannelcount(from0to64)
(default0)
och<int>....A...setoutputchannelcount(from0to64)
(default0)
out_channel_count<int>....A...setoutputchannelcount(from0to64)
(default0)
uch<int>....A...setusedchannelcount(from0to64)
(default0)
used_channel_count<int>....A...setusedchannelcount(from0to64)
(default0)
isr<int>....A...setinputsamplerate(from0to
INT_MAX)(default0)
in_sample_rate<int>....A...setinputsamplerate(from0to
INT_MAX)(default0)
osr<int>....A...setoutputsamplerate(from0to
INT_MAX)(default0)
out_sample_rate<int>....A...setoutputsamplerate(from0to
INT_MAX)(default0)
isf<sample_fmt>....A...setinputsampleformat(defaultnone)
in_sample_fmt<sample_fmt>....A...setinputsampleformat(defaultnone)
osf<sample_fmt>....A...setoutputsampleformat(defaultnone)
out_sample_fmt<sample_fmt>....A...setoutputsampleformat(defaultnone)
tsf<sample_fmt>....A...setinternalsampleformat(default
none)
internal_sample_fmt<sample_fmt>....A...setinternalsampleformat(default
none)
icl<channel_layout>....A...setinputchannellayout(default
0x0)
in_channel_layout<channel_layout>....A...setinputchannellayout(default
0x0)
ocl<channel_layout>....A...setoutputchannellayout(default
0x0)
out_channel_layout<channel_layout>....A...setoutputchannellayout(default
0x0)
clev<float>....A...setcentermixlevel(from32to32)
(default0.707107)
center_mix_level<float>....A...setcentermixlevel(from32to32)
(default0.707107)
slev<float>....A...setsurroundmixlevel(from32to32)
(default0.707107)
surround_mix_level<float>....A...setsurroundmixLevel(from32to
32)(default0.707107)
lfe_mix_level<float>....A...setLFEmixlevel(from32to32)
(default0)
rmvol<float>....A...setrematrixvolume(from1000to
1000)(default1)
Page154

ffmpegcommandoptions(full).txt
rematrix_volume<float>....A...setrematrixvolume(from1000to
1000)(default1)
rematrix_maxval<float>....A...setrematrixmaxval(from0to1000)
(default0)
flags<flags>....A...setflags(default0)
res....A...forceresampling
swr_flags<flags>....A...setflags(default0)
res....A...forceresampling
dither_scale<float>....A...setditherscale(from0toINT_MAX)
(default1)
dither_method<int>....A...setdithermethod(from0to71)
(default0)
rectangular....A...selectrectangulardither
triangular....A...selecttriangulardither
triangular_hp....A...selecttriangularditherwithhighpass
lipshitz....A...selectLipshitznoiseshapingdither
shibata....A...selectShibatanoiseshapingdither
low_shibata....A...selectlowShibatanoiseshapingdither
high_shibata....A...selecthighShibatanoiseshaping
dither
f_weighted....A...selectfweightednoiseshapingdither
modified_e_weighted....A...selectmodifiedeweightednoise
shapingdither
improved_e_weighted....A...selectimprovedeweightednoise
shapingdither
filter_size<int>....A...setswrresamplingfiltersize(from0
toINT_MAX)(default32)
phase_shift<int>....A...setswrresamplingphaseshift(from0
to24)(default10)
linear_interp<boolean>....A...enablelinearinterpolation(default
false)
exact_rational<boolean>....A...enableexactrational(defaultfalse)
cutoff<double>....A...setcutofffrequencyratio(from0to
1)(default0)
resample_cutoff<double>....A...setcutofffrequencyratio(from0to
1)(default0)
resampler<int>....A...setresamplingEngine(from0to1)
(defaultswr)
swr....A...selectSWResampler
soxr....A...selectSoXResampler
precision<double>....A...setsoxrresamplingprecision(inbits)
(from15to33)(default20)
cheby<boolean>....A...enablesoxrChebyshevpassband&
higherprecisionirrationalratioapproximation(defaultfalse)
min_comp<float>....A...setminimumdifferencebetween
timestampsandaudiodata(inseconds)belowwhichnotimestampcompensationof
eitherkindisapplied(from0toFLT_MAX)(defaultFLT_MAX)
min_hard_comp<float>....A...setminimumdifferencebetween
Page155

ffmpegcommandoptions(full).txt
timestampsandaudiodata(inseconds)totriggerpadding/trimmingthedata.(from
0toINT_MAX)(default0.1)
comp_duration<float>....A...setduration(inseconds)overwhich
dataisstretched/squeezedtomakeitmatchthetimestamps.(from0toINT_MAX)
(default1)
max_soft_comp<float>....A...setmaximumfactorbywhichdatais
stretched/squeezedtomakeitmatchthetimestamps.(fromINT_MINtoINT_MAX)
(default0)
async<float>....A...simplified1parameteraudiotimestamp
matching,0(disabled),1(fillingandtrimming),>1(maximumstretch/squeezein
samplespersecond)(fromINT_MINtoINT_MAX)(default0)
first_pts<int64>....A...Assumethefirstptsshouldbethis
value(insamples).(fromI64_MINtoI64_MAX)(defaultI64_MIN)
matrix_encoding<int>....A...setmatrixedstereoencoding(from0to
6)(defaultnone)
none....A...selectnone
dolby....A...selectDolby
dplii....A...selectDolbyProLogicII
filter_type<int>....A...selectswrfiltertype(from0to2)
(defaultkaiser)
cubic....A...selectcubic
blackman_nuttall....A...selectBlackmanNuttallwindowedsinc
kaiser....A...selectKaiserwindowedsinc
kaiser_beta<double>....A...setswrKaiserwindowbeta(from2to
16)(default9)
output_sample_bits<int>....A...setswrnumberofoutputsamplebits
(from0to64)(default0)
AVFilterAVOptions:
thread_type<flags>..F.....Allowedthreadtypes(defaultslice)
enable<string>..F.....setenableexpression
abenchAVOptions:
action<int>..F.A...setaction(from0to1)(defaultstart)
start..F.A...starttimer
stop..F.A...stoptimer
acompressorAVOptions:
level_in<double>..F.A...setinputgain(from0.015625to64)
(default1)
threshold<double>..F.A...setthreshold(from0.000976563to1)
(default0.125)
ratio<double>..F.A...setratio(from1to20)(default2)
attack<double>..F.A...setattack(from0.01to2000)(default
20)
release<double>..F.A...setrelease(from0.01to9000)(default
250)
makeup<double>..F.A...setmakeupgain(from1to64)(default
Page156

ffmpegcommandoptions(full).txt
2)
knee<double>..F.A...setknee(from1to8)(default2.82843)
link<int>..F.A...setlinktype(from0to1)(default
average)
average..F.A...
maximum..F.A...
detection<int>..F.A...setdetection(from0to1)(default
rms)
peak..F.A...
rms..F.A...
level_sc<double>..F.A...setsidechaingain(from0.015625to64)
(default1)
mix<double>..F.A...setmix(from0to1)(default1)
acrossfadeAVOptions:
nb_samples<int>..F.A...setnumberofsamplesforcrossfade
duration(from1to2.14748e+008)(default44100)
ns<int>..F.A...setnumberofsamplesforcrossfade
duration(from1to2.14748e+008)(default44100)
duration<duration>..F.A...setcrossfadeduration(default0)
d<duration>..F.A...setcrossfadeduration(default0)
overlap<boolean>..F.A...overlap1ststreamendwith2ndstream
start(defaulttrue)
o<boolean>..F.A...overlap1ststreamendwith2ndstream
start(defaulttrue)
curve1<int>..F.A...setfadecurvetypefor1ststream(from
0to15)(defaulttri)
tri..F.A...linearslope
qsin..F.A...quarterofsinewave
esin..F.A...exponentialsinewave
hsin..F.A...halfofsinewave
log..F.A...logarithmic
ipar..F.A...invertedparabola
qua..F.A...quadratic
cub..F.A...cubic
squ..F.A...squareroot
cbr..F.A...cubicroot
par..F.A...parabola
exp..F.A...exponential
iqsin..F.A...invertedquarterofsinewave
ihsin..F.A...invertedhalfofsinewave
dese..F.A...doubleexponentialseat
desi..F.A...doubleexponentialsigmoid
c1<int>..F.A...setfadecurvetypefor1ststream(from
0to15)(defaulttri)
tri..F.A...linearslope
qsin..F.A...quarterofsinewave
esin..F.A...exponentialsinewave
Page157

ffmpegcommandoptions(full).txt
hsin..F.A...halfofsinewave
log..F.A...logarithmic
ipar..F.A...invertedparabola
qua..F.A...quadratic
cub..F.A...cubic
squ..F.A...squareroot
cbr..F.A...cubicroot
par..F.A...parabola
exp..F.A...exponential
iqsin..F.A...invertedquarterofsinewave
ihsin..F.A...invertedhalfofsinewave
dese..F.A...doubleexponentialseat
desi..F.A...doubleexponentialsigmoid
curve2<int>..F.A...setfadecurvetypefor2ndstream(from
0to15)(defaulttri)
tri..F.A...linearslope
qsin..F.A...quarterofsinewave
esin..F.A...exponentialsinewave
hsin..F.A...halfofsinewave
log..F.A...logarithmic
ipar..F.A...invertedparabola
qua..F.A...quadratic
cub..F.A...cubic
squ..F.A...squareroot
cbr..F.A...cubicroot
par..F.A...parabola
exp..F.A...exponential
iqsin..F.A...invertedquarterofsinewave
ihsin..F.A...invertedhalfofsinewave
dese..F.A...doubleexponentialseat
desi..F.A...doubleexponentialsigmoid
c2<int>..F.A...setfadecurvetypefor2ndstream(from
0to15)(defaulttri)
tri..F.A...linearslope
qsin..F.A...quarterofsinewave
esin..F.A...exponentialsinewave
hsin..F.A...halfofsinewave
log..F.A...logarithmic
ipar..F.A...invertedparabola
qua..F.A...quadratic
cub..F.A...cubic
squ..F.A...squareroot
cbr..F.A...cubicroot
par..F.A...parabola
exp..F.A...exponential
iqsin..F.A...invertedquarterofsinewave
ihsin..F.A...invertedhalfofsinewave
dese..F.A...doubleexponentialseat
Page158

ffmpegcommandoptions(full).txt
desi..F.A...doubleexponentialsigmoid
acrusherAVOptions:
level_in<double>..F.A...setlevelin(from0.015625to64)
(default1)
level_out<double>..F.A...setlevelout(from0.015625to64)
(default1)
bits<double>..F.A...setbitreduction(from1to64)
(default8)
mix<double>..F.A...setmix(from0to1)(default0.5)
mode<int>..F.A...setmode(from0to1)(defaultlin)
lin..F.A...linear
log..F.A...logarithmic
dc<double>..F.A...setDC(from0.25to4)(default1)
aa<double>..F.A...setantialiasing(from0to1)(default
0.5)
samples<double>..F.A...setsamplereduction(from1to250)
(default1)
lfo<boolean>..F.A...enableLFO(defaultfalse)
lforange<double>..F.A...setLFOdepth(from1to250)(default
20)
lforate<double>..F.A...setLFOrate(from0.01to200)(default
0.3)
adelayAVOptions:
delays<string>..F.A...setlistofdelaysforeachchannel
aechoAVOptions:
in_gain<float>..F.A...setsignalinputgain(from0to1)
(default0.6)
out_gain<float>..F.A...setsignaloutputgain(from0to1)
(default0.3)
delays<string>..F.A...setlistofsignaldelays(default
"1000")
decays<string>..F.A...setlistofsignaldecays(default
"0.5")
aemphasisAVOptions:
level_in<double>..F.A...setinputgain(from0to64)(default
1)
level_out<double>..F.A...setoutputgain(from0to64)(default
1)
mode<int>..F.A...setfiltermode(from0to1)(default
reproduction)
reproduction..F.A...
production..F.A...
type<int>..F.A...setfiltertype(from0to8)(default
cd)
Page159

ffmpegcommandoptions(full).txt
col..F.A...Columbia
emi..F.A...EMI
bsi..F.A...BSI(78RPM)
riaa..F.A...RIAA
cd..F.A...CompactDisc(CD)
50fm..F.A...50s(FM)
75fm..F.A...75s(FM)
50kf..F.A...50s(FMKF)
75kf..F.A...75s(FMKF)
aevalAVOptions:
exprs<string>..F.A...setthe'|'separatedlistofchannels
expressions
channel_layout<string>..F.A...setchannellayout
c<string>..F.A...setchannellayout
afadeAVOptions:
type<int>..F.A...setthefadedirection(from0to1)
(defaultin)
in..F.A...fadein
out..F.A...fadeout
t<int>..F.A...setthefadedirection(from0to1)
(defaultin)
in..F.A...fadein
out..F.A...fadeout
start_sample<int64>..F.A...setnumberoffirstsampletostart
fading(from0toI64_MAX)(default0)
ss<int64>..F.A...setnumberoffirstsampletostart
fading(from0toI64_MAX)(default0)
nb_samples<int>..F.A...setnumberofsamplesforfadeduration
(from1toINT_MAX)(default44100)
ns<int>..F.A...setnumberofsamplesforfadeduration
(from1toINT_MAX)(default44100)
start_time<duration>..F.A...settimetostartfading(default0)
st<duration>..F.A...settimetostartfading(default0)
duration<duration>..F.A...setfadeduration(default0)
d<duration>..F.A...setfadeduration(default0)
curve<int>..F.A...setfadecurvetype(from0to15)
(defaulttri)
tri..F.A...linearslope
qsin..F.A...quarterofsinewave
esin..F.A...exponentialsinewave
hsin..F.A...halfofsinewave
log..F.A...logarithmic
ipar..F.A...invertedparabola
qua..F.A...quadratic
cub..F.A...cubic
squ..F.A...squareroot
Page160

ffmpegcommandoptions(full).txt
cbr..F.A...cubicroot
par..F.A...parabola
exp..F.A...exponential
iqsin..F.A...invertedquarterofsinewave
ihsin..F.A...invertedhalfofsinewave
dese..F.A...doubleexponentialseat
desi..F.A...doubleexponentialsigmoid
c<int>..F.A...setfadecurvetype(from0to15)
(defaulttri)
tri..F.A...linearslope
qsin..F.A...quarterofsinewave
esin..F.A...exponentialsinewave
hsin..F.A...halfofsinewave
log..F.A...logarithmic
ipar..F.A...invertedparabola
qua..F.A...quadratic
cub..F.A...cubic
squ..F.A...squareroot
cbr..F.A...cubicroot
par..F.A...parabola
exp..F.A...exponential
iqsin..F.A...invertedquarterofsinewave
ihsin..F.A...invertedhalfofsinewave
dese..F.A...doubleexponentialseat
desi..F.A...doubleexponentialsigmoid
afftfiltAVOptions:
real<string>..F.A...setchannelsrealexpressions(default
"1")
imag<string>..F.A...setchannelsimaginaryexpressions
win_size<int>..F.A...setwindowsize(from4to17)(default
w4096)
w16..F.A...
w32..F.A...
w64..F.A...
w128..F.A...
w256..F.A...
w512..F.A...
w1024..F.A...
w2048..F.A...
w4096..F.A...
w8192..F.A...
w16384..F.A...
w32768..F.A...
w65536..F.A...
w131072..F.A...
win_func<int>..F.A...setwindowfunction(from0to18)
(defaulthann)
Page161

ffmpegcommandoptions(full).txt
rect..F.A...Rectangular
bartlett..F.A...Bartlett
hann..F.A...Hann
hanning..F.A...Hanning
hamming..F.A...Hamming
sine..F.A...Sine
overlap<float>..F.A...setwindowoverlap(from0to1)
(default0.75)
aformatAVOptions:
sample_fmts<string>..F.A...A'|'separatedlistofsampleformats.
sample_rates<string>..F.A...A'|'separatedlistofsamplerates.
channel_layouts<string>..F.A...A'|'separatedlistofchannellayouts.
agateAVOptions:
level_in<double>..F.A...setinputlevel(from0.015625to64)
(default1)
range<double>..F.A...setmaxgainreduction(from0to1)
(default0.06125)
threshold<double>..F.A...setthreshold(from0to1)(default
0.125)
ratio<double>..F.A...setratio(from1to9000)(default2)
attack<double>..F.A...setattack(from0.01to9000)(default
20)
release<double>..F.A...setrelease(from0.01to9000)(default
250)
makeup<double>..F.A...setmakeupgain(from1to64)(default
1)
knee<double>..F.A...setknee(from1to8)(default2.82843)
detection<int>..F.A...setdetection(from0to1)(default
rms)
peak..F.A...
rms..F.A...
link<int>..F.A...setlink(from0to1)(defaultaverage)
average..F.A...
maximum..F.A...
level_sc<double>..F.A...setsidechaingain(from0.015625to64)
(default1)
ainterleaveAVOptions:
nb_inputs<int>..F.A...setnumberofinputs(from1toINT_MAX)
(default2)
n<int>..F.A...setnumberofinputs(from1toINT_MAX)
(default2)
alimiterAVOptions:
level_in<double>..F.A...setinputlevel(from0.015625to64)
(default1)
Page162

ffmpegcommandoptions(full).txt
level_out<double>..F.A...setoutputlevel(from0.015625to64)
(default1)
limit<double>..F.A...setlimit(from0.0625to1)(default1)
attack<double>..F.A...setattack(from0.1to80)(default5)
release<double>..F.A...setrelease(from1to8000)(default
50)
asc<boolean>..F.A...enableasc(defaultfalse)
asc_level<double>..F.A...setasclevel(from0to1)(default
0.5)
level<boolean>..F.A...autolevel(defaulttrue)
allpassAVOptions:
frequency<double>..F.A...setcentralfrequency(from0to999999)
(default3000)
f<double>..F.A...setcentralfrequency(from0to999999)
(default3000)
width_type<int>..F.A...setfilterwidthtype(from1to4)
(defaulth)
h..F.A...Hz
q..F.A...QFactor
o..F.A...octave
s..F.A...slope
width<double>..F.A...setfilterwidth(from0to99999)
(default707.1)
w<double>..F.A...setfilterwidth(from0to99999)
(default707.1)
aloopAVOptions:
loop<int>..F.A...numberofloops(from1toINT_MAX)
(default0)
size<int64>..F.A...maxnumberofsamplestoloop(from0to
INT_MAX)(default0)
start<int64>..F.A...settheloopstartsample(from0to
I64_MAX)(default0)
amergeAVOptions:
inputs<int>..F.A...specifythenumberofinputs(from2to
64)(default2)
ametadataAVOptions:
mode<int>..F.A...setamodeofoperation(from0to4)
(defaultselect)
select..F.A...selectframe
add..F.A...addnewmetadata
modify..F.A...modifymetadata
delete..F.A...deletemetadata
print..F.A...printmetadata
key<string>..F.A...setmetadatakey
Page163

ffmpegcommandoptions(full).txt
value<string>..F.A...setmetadatavalue
function<int>..F.A...functionforcomparingvalues(from0to
5)(defaultsame_str)
same_str..F.A...
starts_with..F.A...
less..F.A...
equal..F.A...
greater..F.A...
expr..F.A...
expr<string>..F.A...setexpressionforexprfunction
file<string>..F.A...setfilewheretoprintmetadata
information
amixAVOptions:
inputs<int>..F.A...Numberofinputs.(from1to32)
(default2)
duration<int>..F.A...Howtodeterminetheendofstream.
(from0to2)(defaultlongest)
longest..F.A...Durationoflongestinput.
shortest..F.A...Durationofshortestinput.
first..F.A...Durationoffirstinput.
dropout_transition<float>..F.A...Transitiontime,inseconds,forvolume
renormalizationwhenaninputstreamends.(from0toINT_MAX)(default2)
anequalizerAVOptions:
params<string>..F.A...(default"")
curves<boolean>..FV....drawfrequencyresponsecurves(default
false)
size<image_size>..FV....setvideosize(default"hd720")
mgain<double>..FV....setmaxgain(from900to900)(default
60)
fscale<int>..FV....setfrequencyscale(from0to1)
(defaultlog)
lin..FV....linear
log..FV....logarithmic
colors<string>..FV....setchannelscurvescolors(default
"red|green|blue|yellow|orange|lime|pink|magenta|brown")
apadAVOptions:
packet_size<int>..F.A...setsilencepacketsize(from0to
INT_MAX)(default4096)
pad_len<int64>..F.A...setnumberofsamplesofsilencetoadd
(from1toI64_MAX)(default1)
whole_len<int64>..F.A...setminimumtargetnumberofsamplesin
theaudiostream(from1toI64_MAX)(default1)
apermsAVOptions:
mode<int>..FVA...selectpermissionsmode(from0to4)
Page164

ffmpegcommandoptions(full).txt
(defaultnone)
none..FVA...donothing
ro..FVA...setalloutputframesreadonly
rw..FVA...setalloutputframeswritable
toggle..FVA...switchpermissions
random..FVA...setpermissionsrandomly
seed<int64>..FVA...settheseedfortherandommode(from
1toUINT32_MAX)(default1)
aphaserAVOptions:
in_gain<double>..F.A...setinputgain(from0to1)(default
0.4)
out_gain<double>..F.A...setoutputgain(from0to1e+009)
(default0.74)
delay<double>..F.A...setdelayinmilliseconds(from0to5)
(default3)
decay<double>..F.A...setdecay(from0to0.99)(default0.4)
speed<double>..F.A...setmodulationspeed(from0.1to2)
(default0.5)
type<int>..F.A...setmodulationtype(from0to1)
(defaulttriangular)
triangular..F.A...
t..F.A...
sinusoidal..F.A...
s..F.A...
apulsatorAVOptions:
level_in<double>..F.A...setinputgain(from0.015625to64)
(default1)
level_out<double>..F.A...setoutputgain(from0.015625to64)
(default1)
mode<int>..F.A...setmode(from0to4)(defaultsine)
sine..F.A...
triangle..F.A...
square..F.A...
sawup..F.A...
sawdown..F.A...
amount<double>..F.A...setmodulation(from0to1)(default1)
offset_l<double>..F.A...setoffsetL(from0to1)(default0)
offset_r<double>..F.A...setoffsetR(from0to1)(default0.5)
width<double>..F.A...setpulsewidth(from0to2)(default
1)
timing<int>..F.A...settiming(from0to2)(defaulthz)
bpm..F.A...
ms..F.A...
hz..F.A...
bpm<double>..F.A...setBPM(from30to300)(default120)
ms<int>..F.A...setms(from10to2000)(default500)
Page165

ffmpegcommandoptions(full).txt
hz<double>..F.A...setfrequency(from0.01to100)
(default2)
arealtimeAVOptions:
limit<duration>..FVA...sleeptimelimit(default2)
aresampleAVOptions:
sample_rate<int>..F.A...(from0toINT_MAX)(default0)
SWResamplerAVOptions:
ich<int>....A...setinputchannelcount(from0to64)
(default0)
in_channel_count<int>....A...setinputchannelcount(from0to64)
(default0)
och<int>....A...setoutputchannelcount(from0to64)
(default0)
out_channel_count<int>....A...setoutputchannelcount(from0to64)
(default0)
uch<int>....A...setusedchannelcount(from0to64)
(default0)
used_channel_count<int>....A...setusedchannelcount(from0to64)
(default0)
isr<int>....A...setinputsamplerate(from0to
INT_MAX)(default0)
in_sample_rate<int>....A...setinputsamplerate(from0to
INT_MAX)(default0)
osr<int>....A...setoutputsamplerate(from0to
INT_MAX)(default0)
out_sample_rate<int>....A...setoutputsamplerate(from0to
INT_MAX)(default0)
isf<sample_fmt>....A...setinputsampleformat(defaultnone)
in_sample_fmt<sample_fmt>....A...setinputsampleformat(defaultnone)
osf<sample_fmt>....A...setoutputsampleformat(defaultnone)
out_sample_fmt<sample_fmt>....A...setoutputsampleformat(defaultnone)
tsf<sample_fmt>....A...setinternalsampleformat(default
none)
internal_sample_fmt<sample_fmt>....A...setinternalsampleformat(default
none)
icl<channel_layout>....A...setinputchannellayout(default
0x0)
in_channel_layout<channel_layout>....A...setinputchannellayout(default
0x0)
ocl<channel_layout>....A...setoutputchannellayout(default
0x0)
out_channel_layout<channel_layout>....A...setoutputchannellayout(default
0x0)
clev<float>....A...setcentermixlevel(from32to32)
(default0.707107)
Page166

ffmpegcommandoptions(full).txt
center_mix_level<float>....A...setcentermixlevel(from32to32)
(default0.707107)
slev<float>....A...setsurroundmixlevel(from32to32)
(default0.707107)
surround_mix_level<float>....A...setsurroundmixLevel(from32to
32)(default0.707107)
lfe_mix_level<float>....A...setLFEmixlevel(from32to32)
(default0)
rmvol<float>....A...setrematrixvolume(from1000to
1000)(default1)
rematrix_volume<float>....A...setrematrixvolume(from1000to
1000)(default1)
rematrix_maxval<float>....A...setrematrixmaxval(from0to1000)
(default0)
flags<flags>....A...setflags(default0)
res....A...forceresampling
swr_flags<flags>....A...setflags(default0)
res....A...forceresampling
dither_scale<float>....A...setditherscale(from0toINT_MAX)
(default1)
dither_method<int>....A...setdithermethod(from0to71)
(default0)
rectangular....A...selectrectangulardither
triangular....A...selecttriangulardither
triangular_hp....A...selecttriangularditherwithhighpass
lipshitz....A...selectLipshitznoiseshapingdither
shibata....A...selectShibatanoiseshapingdither
low_shibata....A...selectlowShibatanoiseshapingdither
high_shibata....A...selecthighShibatanoiseshaping
dither
f_weighted....A...selectfweightednoiseshapingdither
modified_e_weighted....A...selectmodifiedeweightednoise
shapingdither
improved_e_weighted....A...selectimprovedeweightednoise
shapingdither
filter_size<int>....A...setswrresamplingfiltersize(from0
toINT_MAX)(default32)
phase_shift<int>....A...setswrresamplingphaseshift(from0
to24)(default10)
linear_interp<boolean>....A...enablelinearinterpolation(default
false)
exact_rational<boolean>....A...enableexactrational(defaultfalse)
cutoff<double>....A...setcutofffrequencyratio(from0to
1)(default0)
resample_cutoff<double>....A...setcutofffrequencyratio(from0to
1)(default0)
resampler<int>....A...setresamplingEngine(from0to1)
(defaultswr)
Page167

ffmpegcommandoptions(full).txt
swr....A...selectSWResampler
soxr....A...selectSoXResampler
precision<double>....A...setsoxrresamplingprecision(inbits)
(from15to33)(default20)
cheby<boolean>....A...enablesoxrChebyshevpassband&
higherprecisionirrationalratioapproximation(defaultfalse)
min_comp<float>....A...setminimumdifferencebetween
timestampsandaudiodata(inseconds)belowwhichnotimestampcompensationof
eitherkindisapplied(from0toFLT_MAX)(defaultFLT_MAX)
min_hard_comp<float>....A...setminimumdifferencebetween
timestampsandaudiodata(inseconds)totriggerpadding/trimmingthedata.(from
0toINT_MAX)(default0.1)
comp_duration<float>....A...setduration(inseconds)overwhich
dataisstretched/squeezedtomakeitmatchthetimestamps.(from0toINT_MAX)
(default1)
max_soft_comp<float>....A...setmaximumfactorbywhichdatais
stretched/squeezedtomakeitmatchthetimestamps.(fromINT_MINtoINT_MAX)
(default0)
async<float>....A...simplified1parameteraudiotimestamp
matching,0(disabled),1(fillingandtrimming),>1(maximumstretch/squeezein
samplespersecond)(fromINT_MINtoINT_MAX)(default0)
first_pts<int64>....A...Assumethefirstptsshouldbethis
value(insamples).(fromI64_MINtoI64_MAX)(defaultI64_MIN)
matrix_encoding<int>....A...setmatrixedstereoencoding(from0to
6)(defaultnone)
none....A...selectnone
dolby....A...selectDolby
dplii....A...selectDolbyProLogicII
filter_type<int>....A...selectswrfiltertype(from0to2)
(defaultkaiser)
cubic....A...selectcubic
blackman_nuttall....A...selectBlackmanNuttallwindowedsinc
kaiser....A...selectKaiserwindowedsinc
kaiser_beta<double>....A...setswrKaiserwindowbeta(from2to
16)(default9)
output_sample_bits<int>....A...setswrnumberofoutputsamplebits
(from0to64)(default0)
aselectAVOptions:
expr<string>..F.A...setanexpressiontouseforselecting
frames(default"1")
e<string>..F.A...setanexpressiontouseforselecting
frames(default"1")
outputs<int>..F.A...setthenumberofoutputs(from1to
INT_MAX)(default1)
n<int>..F.A...setthenumberofoutputs(from1to
INT_MAX)(default1)
Page168

ffmpegcommandoptions(full).txt
asendcmdAVOptions:
commands<string>..FVA...setcommands
c<string>..FVA...setcommands
filename<string>..FVA...setcommandsfile
f<string>..FVA...setcommandsfile
asetnsamplesAVOptions:
nb_out_samples<int>..F.A...setthenumberofperframeoutput
samples(from1toINT_MAX)(default1024)
n<int>..F.A...setthenumberofperframeoutput
samples(from1toINT_MAX)(default1024)
pad<boolean>..F.A...padlastframewithzeros(defaulttrue)
p<boolean>..F.A...padlastframewithzeros(defaulttrue)
asetptsAVOptions:
expr<string>..FVA...Expressiondeterminingtheframe
timestamp(default"PTS")
asetrateAVOptions:
sample_rate<int>..F.A...setthesamplerate(from1toINT_MAX)
(default44100)
r<int>..F.A...setthesamplerate(from1toINT_MAX)
(default44100)
asettbAVOptions:
expr<string>..F.A...setexpressiondeterminingtheoutput
timebase(default"intb")
tb<string>..F.A...setexpressiondeterminingtheoutput
timebase(default"intb")
asplitAVOptions:
outputs<int>..FVA...setnumberofoutputs(from1to
INT_MAX)(default2)
astatsAVOptions:
length<double>..F.A...setthewindowlength(from0.01to10)
(default0.05)
metadata<boolean>..F.A...injectmetadatainthefiltergraph
(defaultfalse)
reset<int>..F.A...recalculatestatsafterthismanyframes
(from0toINT_MAX)(default0)
astreamselectAVOptions:
inputs<int>..FVA...numberofinputstreams(from2to
INT_MAX)(default2)
map<string>..FVA...inputindexestoremaptooutputs
atempoAVOptions:
Page169

ffmpegcommandoptions(full).txt
tempo<double>..F.A...settemposcalefactor(from0.5to2)
(default1)
atrimAVOptions:
start<duration>..F.A...Timestampofthefirstframethatshould
bepassed(defaultINT64_MAX)
starti<duration>..F.A...Timestampofthefirstframethatshould
bepassed(defaultINT64_MAX)
end<duration>..F.A...Timestampofthefirstframethatshould
bedroppedagain(defaultINT64_MAX)
endi<duration>..F.A...Timestampofthefirstframethatshould
bedroppedagain(defaultINT64_MAX)
start_pts<int64>..F.A...Timestampofthefirstframethatshould
bepassed(fromI64_MINtoI64_MAX)(defaultI64_MIN)
end_pts<int64>..F.A...Timestampofthefirstframethatshould
bedroppedagain(fromI64_MINtoI64_MAX)(defaultI64_MIN)
duration<duration>..F.A...Maximumdurationoftheoutput(default
0)
durationi<duration>..F.A...Maximumdurationoftheoutput(default
0)
start_sample<int64>..F.A...Numberofthefirstaudiosamplethat
shouldbepassedtotheoutput(from1toI64_MAX)(default1)
end_sample<int64>..F.A...Numberofthefirstaudiosamplethat
shouldbedroppedagain(from0toI64_MAX)(defaultI64_MAX)
bandpassAVOptions:
frequency<double>..F.A...setcentralfrequency(from0to999999)
(default3000)
f<double>..F.A...setcentralfrequency(from0to999999)
(default3000)
width_type<int>..F.A...setfilterwidthtype(from1to4)
(defaultq)
h..F.A...Hz
q..F.A...QFactor
o..F.A...octave
s..F.A...slope
width<double>..F.A...setbandwidth(from0to999)(default
0.5)
w<double>..F.A...setbandwidth(from0to999)(default
0.5)
csg<boolean>..F.A...useconstantskirtgain(defaultfalse)
bandrejectAVOptions:
frequency<double>..F.A...setcentralfrequency(from0to999999)
(default3000)
f<double>..F.A...setcentralfrequency(from0to999999)
(default3000)
width_type<int>..F.A...setfilterwidthtype(from1to4)
Page170

ffmpegcommandoptions(full).txt
(defaultq)
h..F.A...Hz
q..F.A...QFactor
o..F.A...octave
s..F.A...slope
width<double>..F.A...setbandwidth(from0to999)(default
0.5)
w<double>..F.A...setbandwidth(from0to999)(default
0.5)
bassAVOptions:
frequency<double>..F.A...setcentralfrequency(from0to999999)
(default100)
f<double>..F.A...setcentralfrequency(from0to999999)
(default100)
width_type<int>..F.A...setfilterwidthtype(from1to4)
(defaultq)
h..F.A...Hz
q..F.A...QFactor
o..F.A...octave
s..F.A...slope
width<double>..F.A...setshelftransitionsteep(from0to
99999)(default0.5)
w<double>..F.A...setshelftransitionsteep(from0to
99999)(default0.5)
gain<double>..F.A...setgain(from900to900)(default0)
g<double>..F.A...setgain(from900to900)(default0)
biquadAVOptions:
a0<double>..F.A...(from32768to32767)(default1)
a1<double>..F.A...(from32768to32767)(default1)
a2<double>..F.A...(from32768to32767)(default1)
b0<double>..F.A...(from32768to32767)(default1)
b1<double>..F.A...(from32768to32767)(default1)
b2<double>..F.A...(from32768to32767)(default1)
bs2bAVOptions:
profile<int>....A...Applyapredefinedcrossfeedlevel
(from0toINT_MAX)(defaultdefault)
default....A...defaultprofile
cmoy....A...ChuMoycircuit
jmeier....A...JanMeiercircuit
fcut<int>....A...Setcutfrequency(inHz)(from0to
2000)(default0)
feed<int>....A...Setfeedlevel(inHz)(from0to150)
(default0)
channelmapAVOptions:
Page171

ffmpegcommandoptions(full).txt
map<string>..F.A...Acommaseparatedlistofinputchannel
numbersinoutputorder.
channel_layout<string>..F.A...Outputchannellayout.
channelsplitAVOptions:
channel_layout<string>..F.A...Inputchannellayout.(default"stereo")
chorusAVOptions:
in_gain<float>..F.A...setinputgain(from0to1)(default
0.4)
out_gain<float>..F.A...setoutputgain(from0to1)(default
0.4)
delays<string>..F.A...setdelays
decays<string>..F.A...setdecays
speeds<string>..F.A...setspeeds
depths<string>..F.A...setdepths
compandAVOptions:
attacks<string>..F.A...settimeoverwhichincreaseofvolume
isdetermined(default"0.3")
decays<string>..F.A...settimeoverwhichdecreaseofvolume
isdetermined(default"0.8")
points<string>..F.A...setpointsoftransferfunction(default
"70/70|60/20")
softknee<double>..F.A...setsoftknee(from0.01to900)
(default0.01)
gain<double>..F.A...setoutputgain(from900to900)
(default0)
volume<double>..F.A...setinitialvolume(from900to0)
(default0)
delay<double>..F.A...setdelayforsamplesbeforesending
themtovolumeadjuster(from0to20)(default0)
compensationdelayAVOptions:
mm<int>..F.A...setmmdistance(from0to10)(default
0)
cm<int>..F.A...setcmdistance(from0to100)(default
0)
m<int>..F.A...setmeterdistance(from0to100)
(default0)
dry<double>..F.A...setdryamount(from0to1)(default0)
wet<double>..F.A...setwetamount(from0to1)(default1)
temp<int>..F.A...settemperatureC(from50to50)
(default20)
crystalizerAVOptions:
i<float>..F.A...setintensity(from0to10)(default2)
c<boolean>..F.A...enableclipping(defaulttrue)
Page172

ffmpegcommandoptions(full).txt
dcshiftAVOptions:
shift<double>..F.A...setDCshift(from1to1)(default0)
limitergain<double>..F.A...setlimitergain(from0to1)(default
0)
dynaudnormAVOptions:
f<int>..F.A...settheframelengthinmsec(from10to
8000)(default500)
g<int>..F.A...setthefiltersize(from3to301)
(default31)
p<double>..F.A...setthepeakvalue(from0to1)
(default0.95)
m<double>..F.A...setthemaxamplification(from1to
100)(default10)
r<double>..F.A...setthetargetRMS(from0to1)
(default0)
n<boolean>..F.A...setchannelcoupling(defaulttrue)
c<boolean>..F.A...setDCcorrection(defaultfalse)
b<boolean>..F.A...setalternativeboundarymode(default
false)
s<double>..F.A...setthecompressfactor(from0to30)
(default0)
ebur128AVOptions:
video<boolean>..FV....setvideooutput(defaultfalse)
size<image_size>..FV....setvideosize(default"640x480")
meter<int>..FV....setscalemeter(+9to+18)(from9to
18)(default9)
framelog<int>..FVA...forceframelogginglevel(fromINT_MIN
toINT_MAX)(default1)
info..FVA...informationlogginglevel
verbose..FVA...verboselogginglevel
metadata<boolean>..FVA...injectmetadatainthefiltergraph
(defaultfalse)
peak<flags>..F.A...setpeakmode(default0)
none..F.A...disableanypeakmode
sample..F.A...enablepeaksamplemode
true..F.A...enabletruepeakmode
dualmono<boolean>..F.A...treatmonoinputfilesasdualmono
(defaultfalse)
panlaw<double>..F.A...setaspecificpanlawfordualmono
files(from10to0)(default3.0103)
equalizerAVOptions:
frequency<double>..F.A...setcentralfrequency(from0to999999)
(default0)
f<double>..F.A...setcentralfrequency(from0to999999)
Page173

ffmpegcommandoptions(full).txt
(default0)
width_type<int>..F.A...setfilterwidthtype(from1to4)
(defaultq)
h..F.A...Hz
q..F.A...QFactor
o..F.A...octave
s..F.A...slope
width<double>..F.A...setbandwidth(from0to999)(default
1)
w<double>..F.A...setbandwidth(from0to999)(default
1)
gain<double>..F.A...setgain(from900to900)(default0)
g<double>..F.A...setgain(from900to900)(default0)
extrastereoAVOptions:
m<float>..F.A...setthedifferencecoefficient(from10
to10)(default2.5)
c<boolean>..F.A...enableclipping(defaulttrue)
firequalizerAVOptions:
gain<string>..F.A...setgaincurve(default
"gain_interpolate(f)")
gain_entry<string>..F.A...setgainentry
delay<double>..F.A...setdelay(from0to1e+010)(default
0.01)
accuracy<double>..F.A...setaccuracy(from0to1e+010)(default
5)
wfunc<int>..F.A...setwindowfunction(from0to8)
(defaulthann)
rectangular..F.A...rectangularwindow
hann..F.A...hannwindow
hamming..F.A...hammingwindow
blackman..F.A...blackmanwindow
nuttall3..F.A...3termnuttallwindow
mnuttall3..F.A...minimum3termnuttallwindow
nuttall..F.A...nuttallwindow
bnuttall..F.A...blackmannuttallwindow
bharris..F.A...blackmanharriswindow
fixed<boolean>..F.A...setfixedframesamples(defaultfalse)
multi<boolean>..F.A...setmultichannelsmode(defaultfalse)
zero_phase<boolean>..F.A...setzerophasemode(defaultfalse)
flangerAVOptions:
delay<double>..F.A...basedelayinmilliseconds(from0to
30)(default0)
depth<double>..F.A...addedsweptdelayinmilliseconds(from
0to10)(default2)
regen<double>..F.A...percentageregeneration(delayedsignal
Page174

ffmpegcommandoptions(full).txt
feedback)(from95to95)(default0)
width<double>..F.A...percentageofdelayedsignalmixedwith
original(from0to100)(default71)
speed<double>..F.A...sweepspersecond(Hz)(from0.1to10)
(default0.5)
shape<int>..F.A...sweptwaveshape(from0to1)(default
sinusoidal)
triangular..F.A...
t..F.A...
sinusoidal..F.A...
s..F.A...
phase<double>..F.A...sweptwavepercentagephaseshiftfor
multichannel(from0to100)(default25)
interp<int>..F.A...delaylineinterpolation(from0to1)
(defaultlinear)
linear..F.A...
quadratic..F.A...
hdcdAVOptions:
disable_autoconvert<boolean>..F.A...Disableanyformatconversionor
resamplinginthefiltergraph.(defaultfalse)
process_stereo<boolean>..F.A...Processstereochannelstogether.Only
applytarget_gainwhenbothchannelsmatch.(defaulttrue)
cdt_ms<int>..F.A...Codedetecttimerperiodinms.(from
100to60000)(default2000)
force_pe<boolean>..F.A...Alwaysextendpeaksabove3dBFSeven
whenPEisnotsignaled.(defaultfalse)
analyze_mode<int>..F.A...Replaceaudiowithsolidtoneandsignal
someprocessingaspectintheamplitude.(from0to4)(defaultoff)
off..F.A...disabled
lle..F.A...gainadjustmentlevelateachsample
pe..F.A...sampleswherepeakextendoccurs
cdt..F.A...sampleswherethecodedetecttimeris
active
tgm..F.A...sampleswherethetargetgaindoesnot
matchbetweenchannels
highpassAVOptions:
frequency<double>..F.A...setfrequency(from0to999999)
(default3000)
f<double>..F.A...setfrequency(from0to999999)
(default3000)
width_type<int>..F.A...setfilterwidthtype(from1to4)
(defaultq)
h..F.A...Hz
q..F.A...QFactor
o..F.A...octave
s..F.A...slope
Page175

ffmpegcommandoptions(full).txt
width<double>..F.A...setwidth(from0to99999)(default
0.707)
w<double>..F.A...setwidth(from0to99999)(default
0.707)
poles<int>..F.A...setnumberofpoles(from1to2)
(default2)
p<int>..F.A...setnumberofpoles(from1to2)
(default2)
joinAVOptions:
inputs<int>..F.A...Numberofinputstreams.(from1to
INT_MAX)(default2)
channel_layout<string>..F.A...Channellayoutoftheoutputstream.
(default"stereo")
map<string>..F.A...Acommaseparatedlistofchannelsmaps
intheformat'input_stream.input_channeloutput_channel.
loudnormAVOptions:
I<double>..F.A...setintegratedloudnesstarget(from70
to5)(default24)
i<double>..F.A...setintegratedloudnesstarget(from70
to5)(default24)
LRA<double>..F.A...setloudnessrangetarget(from1to20)
(default7)
lra<double>..F.A...setloudnessrangetarget(from1to20)
(default7)
TP<double>..F.A...setmaximumtruepeak(from9to0)
(default2)
tp<double>..F.A...setmaximumtruepeak(from9to0)
(default2)
measured_I<double>..F.A...measuredILofinputfile(from99to
0)(default0)
measured_i<double>..F.A...measuredILofinputfile(from99to
0)(default0)
measured_LRA<double>..F.A...measuredLRAofinputfile(from0to
99)(default0)
measured_lra<double>..F.A...measuredLRAofinputfile(from0to
99)(default0)
measured_TP<double>..F.A...measuredtruepeakofinputfile(from
99to99)(default99)
measured_tp<double>..F.A...measuredtruepeakofinputfile(from
99to99)(default99)
measured_thresh<double>..F.A...measuredthresholdofinputfile(from
99to0)(default70)
offset<double>..F.A...setoffsetgain(from99to99)
(default0)
linear<boolean>..F.A...normalizelinearlyifpossible(default
true)
Page176

ffmpegcommandoptions(full).txt
dual_mono<boolean>..F.A...treatmonoinputasdualmono(default
false)
print_format<int>..F.A...setprintformatforstats(from0to2)
(defaultnone)
none..F.A...
json..F.A...
summary..F.A...
lowpassAVOptions:
frequency<double>..F.A...setfrequency(from0to999999)
(default500)
f<double>..F.A...setfrequency(from0to999999)
(default500)
width_type<int>..F.A...setfilterwidthtype(from1to4)
(defaultq)
h..F.A...Hz
q..F.A...QFactor
o..F.A...octave
s..F.A...slope
width<double>..F.A...setwidth(from0to99999)(default
0.707)
w<double>..F.A...setwidth(from0to99999)(default
0.707)
poles<int>..F.A...setnumberofpoles(from1to2)
(default2)
p<int>..F.A...setnumberofpoles(from1to2)
(default2)
panAVOptions:
args<string>..F.A...
sidechaincompressAVOptions:
level_in<double>..F.A...setinputgain(from0.015625to64)
(default1)
threshold<double>..F.A...setthreshold(from0.000976563to1)
(default0.125)
ratio<double>..F.A...setratio(from1to20)(default2)
attack<double>..F.A...setattack(from0.01to2000)(default
20)
release<double>..F.A...setrelease(from0.01to9000)(default
250)
makeup<double>..F.A...setmakeupgain(from1to64)(default
2)
knee<double>..F.A...setknee(from1to8)(default2.82843)
link<int>..F.A...setlinktype(from0to1)(default
average)
average..F.A...
maximum..F.A...
Page177

ffmpegcommandoptions(full).txt
detection<int>..F.A...setdetection(from0to1)(default
rms)
peak..F.A...
rms..F.A...
level_sc<double>..F.A...setsidechaingain(from0.015625to64)
(default1)
mix<double>..F.A...setmix(from0to1)(default1)
sidechaingateAVOptions:
level_in<double>..F.A...setinputlevel(from0.015625to64)
(default1)
range<double>..F.A...setmaxgainreduction(from0to1)
(default0.06125)
threshold<double>..F.A...setthreshold(from0to1)(default
0.125)
ratio<double>..F.A...setratio(from1to9000)(default2)
attack<double>..F.A...setattack(from0.01to9000)(default
20)
release<double>..F.A...setrelease(from0.01to9000)(default
250)
makeup<double>..F.A...setmakeupgain(from1to64)(default
1)
knee<double>..F.A...setknee(from1to8)(default2.82843)
detection<int>..F.A...setdetection(from0to1)(default
rms)
peak..F.A...
rms..F.A...
link<int>..F.A...setlink(from0to1)(defaultaverage)
average..F.A...
maximum..F.A...
level_sc<double>..F.A...setsidechaingain(from0.015625to64)
(default1)
silencedetectAVOptions:
n<double>..F.A...setnoisetolerance(from0toDBL_MAX)
(default0.001)
noise<double>..F.A...setnoisetolerance(from0toDBL_MAX)
(default0.001)
d<double>..F.A...setminimumdurationinseconds(from0
to86400)(default2)
duration<double>..F.A...setminimumdurationinseconds(from0
to86400)(default2)
silenceremoveAVOptions:
start_periods<int>..F.A...(from0to9000)(default0)
start_duration<duration>..F.A...(default0)
start_threshold<double>..F.A...(from0toDBL_MAX)(default0)
stop_periods<int>..F.A...(from9000to9000)(default0)
Page178

ffmpegcommandoptions(full).txt
stop_duration<duration>..F.A...(default0)
stop_threshold<double>..F.A...(from0toDBL_MAX)(default0)
leave_silence<boolean>..F.A...(defaultfalse)
detection<int>..F.A...(from0to1)(defaultrms)
peak..F.A...
rms..F.A...
window<double>..F.A...(from0to10)(default0.02)
stereotoolsAVOptions:
level_in<double>..F.A...setlevelin(from0.015625to64)
(default1)
level_out<double>..F.A...setlevelout(from0.015625to64)
(default1)
balance_in<double>..F.A...setbalancein(from1to1)(default
0)
balance_out<double>..F.A...setbalanceout(from1to1)(default
0)
softclip<boolean>..F.A...enablesoftclip(defaultfalse)
mutel<boolean>..F.A...muteL(defaultfalse)
muter<boolean>..F.A...muteR(defaultfalse)
phasel<boolean>..F.A...phaseL(defaultfalse)
phaser<boolean>..F.A...phaseR(defaultfalse)
mode<int>..F.A...setstereomode(from0to6)(default
lr>lr)
lr>lr..F.A...
lr>ms..F.A...
ms>lr..F.A...
lr>ll..F.A...
lr>rr..F.A...
lr>l+r..F.A...
lr>rl..F.A...
slev<double>..F.A...setsidelevel(from0.015625to64)
(default1)
sbal<double>..F.A...setsidebalance(from1to1)(default
0)
mlev<double>..F.A...setmiddlelevel(from0.015625to64)
(default1)
mpan<double>..F.A...setmiddlepan(from1to1)(default
0)
base<double>..F.A...setstereobase(from1to1)(default
0)
delay<double>..F.A...setdelay(from20to20)(default0)
sclevel<double>..F.A...setS/Clevel(from1to100)(default
1)
phase<double>..F.A...setstereophase(from0to360)
(default0)
stereowidenAVOptions:
Page179

ffmpegcommandoptions(full).txt
delay<float>..F.A...setdelaytime(from1to100)(default
20)
feedback<float>..F.A...setfeedbackgain(from0to0.9)
(default0.3)
crossfeed<float>..F.A...setcrossfeed(from0to0.8)(default
0.3)
drymix<float>..F.A...setdrymix(from0to1)(default0.8)
trebleAVOptions:
frequency<double>..F.A...setcentralfrequency(from0to999999)
(default3000)
f<double>..F.A...setcentralfrequency(from0to999999)
(default3000)
width_type<int>..F.A...setfilterwidthtype(from1to4)
(defaultq)
h..F.A...Hz
q..F.A...QFactor
o..F.A...octave
s..F.A...slope
width<double>..F.A...setshelftransitionsteep(from0to
99999)(default0.5)
w<double>..F.A...setshelftransitionsteep(from0to
99999)(default0.5)
gain<double>..F.A...setgain(from900to900)(default0)
g<double>..F.A...setgain(from900to900)(default0)
tremoloAVOptions:
f<double>..F.A...setfrequencyinhertz(from0.1to
20000)(default5)
d<double>..F.A...setdepthaspercentage(from0to1)
(default0.5)
vibratoAVOptions:
f<double>..F.A...setfrequencyinhertz(from0.1to
20000)(default5)
d<double>..F.A...setdepthaspercentage(from0to1)
(default0.5)
volumeAVOptions:
volume<string>..F.A...setvolumeadjustmentexpression
(default"1.0")
precision<int>..F.A...selectmathematicalprecision(from0to
2)(defaultfloat)
fixed..F.A...select8bitfixedpoint
float..F.A...select32bitfloatingpoint
double..F.A...select64bitfloatingpoint
eval<int>..F.A...specifywhentoevaluateexpressions
(from0to1)(defaultonce)
Page180

ffmpegcommandoptions(full).txt
once..F.A...evalvolumeexpressiononce
frame..F.A...evalvolumeexpressionperframe
replaygain<int>..F.A...Applyreplaygainsidedatawhenpresent
(from0to3)(defaultdrop)
drop..F.A...replaygainsidedataisdropped
ignore..F.A...replaygainsidedataisignored
track..F.A...trackgainispreferred
album..F.A...albumgainispreferred
replaygain_preamp<double>..F.A...Applyreplaygainpreamplification(from
15to15)(default0)
replaygain_noclip<boolean>..F.A...Applyreplaygainclippingprevention
(defaulttrue)
aevalsrcAVOptions:
exprs<string>..F.A...setthe'|'separatedlistofchannels
expressions
nb_samples<int>..F.A...setthenumberofsamplesperrequested
frame(from0toINT_MAX)(default1024)
n<int>..F.A...setthenumberofsamplesperrequested
frame(from0toINT_MAX)(default1024)
sample_rate<string>..F.A...setthesamplerate(default"44100")
s<string>..F.A...setthesamplerate(default"44100")
duration<duration>..F.A...setaudioduration(default0.000001)
d<duration>..F.A...setaudioduration(default0.000001)
channel_layout<string>..F.A...setchannellayout
c<string>..F.A...setchannellayout
anoisesrcAVOptions:
sample_rate<int>..F.A...setsamplerate(from15toINT_MAX)
(default48000)
r<int>..F.A...setsamplerate(from15toINT_MAX)
(default48000)
amplitude<double>..F.A...setamplitude(from0to1)(default1)
a<double>..F.A...setamplitude(from0to1)(default1)
duration<duration>..F.A...setduration(default0)
d<duration>..F.A...setduration(default0)
color<int>..F.A...setnoisecolor(from0to2)(default
pink)
white..F.A...
pink..F.A...
brown..F.A...
colour<int>..F.A...setnoisecolor(from0to2)(default
pink)
white..F.A...
pink..F.A...
brown..F.A...
c<int>..F.A...setnoisecolor(from0to2)(default
white)
Page181

ffmpegcommandoptions(full).txt
white..F.A...
pink..F.A...
brown..F.A...
seed<int64>..F.A...setrandomseed(from1toUINT32_MAX)
(default1)
s<int64>..F.A...setrandomseed(from1toUINT32_MAX)
(default1)
nb_samples<int>..F.A...setthenumberofsamplesperrequested
frame(from1toINT_MAX)(default1024)
n<int>..F.A...setthenumberofsamplesperrequested
frame(from1toINT_MAX)(default1024)
anullsrcAVOptions:
channel_layout<string>..F.A...setchannel_layout(default"stereo")
cl<string>..F.A...setchannel_layout(default"stereo")
sample_rate<string>..F.A...setsamplerate(default"44100")
r<string>..F.A...setsamplerate(default"44100")
nb_samples<int>..F.A...setthenumberofsamplesperrequested
frame(from0toINT_MAX)(default1024)
n<int>..F.A...setthenumberofsamplesperrequested
frame(from0toINT_MAX)(default1024)
sineAVOptions:
frequency<double>..F.A...setthesinefrequency(from0to
DBL_MAX)(default440)
f<double>..F.A...setthesinefrequency(from0to
DBL_MAX)(default440)
beep_factor<double>..F.A...setthebeepfrequencyfactor(from0to
DBL_MAX)(default0)
b<double>..F.A...setthebeepfrequencyfactor(from0to
DBL_MAX)(default0)
sample_rate<int>..F.A...setthesamplerate(from1toINT_MAX)
(default44100)
r<int>..F.A...setthesamplerate(from1toINT_MAX)
(default44100)
duration<duration>..F.A...settheaudioduration(default0)
d<duration>..F.A...settheaudioduration(default0)
samples_per_frame<string>..F.A...setthenumberofsamplesperframe
(default"1024")
assAVOptions:
filename<string>..FV....setthefilenameoffiletoread
f<string>..FV....setthefilenameoffiletoread
original_size<image_size>..FV....setthesizeoftheoriginalvideo(used
toscalefonts)
fontsdir<string>..FV....setthedirectorycontainingthefonts
toread
shaping<int>..FV....setshapingengine(from1to1)
Page182

ffmpegcommandoptions(full).txt
(defaultauto)
auto..FV....
simple..FV....simpleshaping
complex..FV....complexshaping
atadenoiseAVOptions:
0a<float>..FV....setthresholdAfor1stplane(from0to
0.3)(default0.02)
0b<float>..FV....setthresholdBfor1stplane(from0to
5)(default0.04)
1a<float>..FV....setthresholdAfor2ndplane(from0to
0.3)(default0.02)
1b<float>..FV....setthresholdBfor2ndplane(from0to
5)(default0.04)
2a<float>..FV....setthresholdAfor3rdplane(from0to
0.3)(default0.02)
2b<float>..FV....setthresholdBfor3rdplane(from0to
5)(default0.04)
s<int>..FV....sethowmanyframestouse(from5to
129)(default9)
p<flags>..FV....setwhatplanestofilter(default7)
bboxAVOptions:
min_val<int>..FV....setminimumluminancevalueforbounding
box(from0to254)(default16)
benchAVOptions:
action<int>..FV....setaction(from0to1)(defaultstart)
start..FV....starttimer
stop..FV....stoptimer
bitplanenoiseAVOptions:
bitplane<int>..FV....setbitplanetouseformeasuringnoise
(from1to16)(default1)
filter<boolean>..FV....shownoisypixels(defaultfalse)
blackdetectAVOptions:
d<double>..FV....setminimumdetectedblackdurationin
seconds(from0toDBL_MAX)(default2)
black_min_duration<double>..FV....setminimumdetectedblackdurationin
seconds(from0toDBL_MAX)(default2)
picture_black_ratio_th<double>..FV....setthepictureblackratio
threshold(from0to1)(default0.98)
pic_th<double>..FV....setthepictureblackratiothreshold
(from0to1)(default0.98)
pixel_black_th<double>..FV....setthepixelblackthreshold(from0to
1)(default0.1)
pix_th<double>..FV....setthepixelblackthreshold(from0to
Page183

ffmpegcommandoptions(full).txt
1)(default0.1)
blackframeAVOptions:
amount<int>..FV....Percentageofthepixelsthathavetobe
belowthethresholdfortheframetobeconsideredblack.(from0to100)(default
98)
threshold<int>..FV....thresholdbelowwhichapixelvalueis
consideredblack(from0to255)(default32)
thresh<int>..FV....thresholdbelowwhichapixelvalueis
consideredblack(from0to255)(default32)
blendAVOptions:
c0_mode<int>..FV....setcomponent#0blendmode(from0to
31)(defaultnormal)
addition..FV....
addition128..FV....
and..FV....
average..FV....
burn..FV....
darken..FV....
difference..FV....
difference128..FV....
divide..FV....
dodge..FV....
exclusion..FV....
freeze..FV....
glow..FV....
hardlight..FV....
hardmix..FV....
heat..FV....
lighten..FV....
linearlight..FV....
multiply..FV....
multiply128..FV....
negation..FV....
normal..FV....
or..FV....
overlay..FV....
phoenix..FV....
pinlight..FV....
reflect..FV....
screen..FV....
softlight..FV....
subtract..FV....
vividlight..FV....
xor..FV....
c1_mode<int>..FV....setcomponent#1blendmode(from0to
31)(defaultnormal)
Page184

ffmpegcommandoptions(full).txt
addition..FV....
addition128..FV....
and..FV....
average..FV....
burn..FV....
darken..FV....
difference..FV....
difference128..FV....
divide..FV....
dodge..FV....
exclusion..FV....
freeze..FV....
glow..FV....
hardlight..FV....
hardmix..FV....
heat..FV....
lighten..FV....
linearlight..FV....
multiply..FV....
multiply128..FV....
negation..FV....
normal..FV....
or..FV....
overlay..FV....
phoenix..FV....
pinlight..FV....
reflect..FV....
screen..FV....
softlight..FV....
subtract..FV....
vividlight..FV....
xor..FV....
c2_mode<int>..FV....setcomponent#2blendmode(from0to
31)(defaultnormal)
addition..FV....
addition128..FV....
and..FV....
average..FV....
burn..FV....
darken..FV....
difference..FV....
difference128..FV....
divide..FV....
dodge..FV....
exclusion..FV....
freeze..FV....
glow..FV....
hardlight..FV....
Page185

ffmpegcommandoptions(full).txt
hardmix..FV....
heat..FV....
lighten..FV....
linearlight..FV....
multiply..FV....
multiply128..FV....
negation..FV....
normal..FV....
or..FV....
overlay..FV....
phoenix..FV....
pinlight..FV....
reflect..FV....
screen..FV....
softlight..FV....
subtract..FV....
vividlight..FV....
xor..FV....
c3_mode<int>..FV....setcomponent#3blendmode(from0to
31)(defaultnormal)
addition..FV....
addition128..FV....
and..FV....
average..FV....
burn..FV....
darken..FV....
difference..FV....
difference128..FV....
divide..FV....
dodge..FV....
exclusion..FV....
freeze..FV....
glow..FV....
hardlight..FV....
hardmix..FV....
heat..FV....
lighten..FV....
linearlight..FV....
multiply..FV....
multiply128..FV....
negation..FV....
normal..FV....
or..FV....
overlay..FV....
phoenix..FV....
pinlight..FV....
reflect..FV....
screen..FV....
Page186

ffmpegcommandoptions(full).txt
softlight..FV....
subtract..FV....
vividlight..FV....
xor..FV....
all_mode<int>..FV....setblendmodeforallcomponents(from
1to31)(default1)
addition..FV....
addition128..FV....
and..FV....
average..FV....
burn..FV....
darken..FV....
difference..FV....
difference128..FV....
divide..FV....
dodge..FV....
exclusion..FV....
freeze..FV....
glow..FV....
hardlight..FV....
hardmix..FV....
heat..FV....
lighten..FV....
linearlight..FV....
multiply..FV....
multiply128..FV....
negation..FV....
normal..FV....
or..FV....
overlay..FV....
phoenix..FV....
pinlight..FV....
reflect..FV....
screen..FV....
softlight..FV....
subtract..FV....
vividlight..FV....
xor..FV....
c0_expr<string>..FV....setcolorcomponent#0expression
c1_expr<string>..FV....setcolorcomponent#1expression
c2_expr<string>..FV....setcolorcomponent#2expression
c3_expr<string>..FV....setcolorcomponent#3expression
all_expr<string>..FV....setexpressionforallcolorcomponents
c0_opacity<double>..FV....setcolorcomponent#0opacity(from0
to1)(default1)
c1_opacity<double>..FV....setcolorcomponent#1opacity(from0
to1)(default1)
c2_opacity<double>..FV....setcolorcomponent#2opacity(from0
Page187

ffmpegcommandoptions(full).txt
to1)(default1)
c3_opacity<double>..FV....setcolorcomponent#3opacity(from0
to1)(default1)
all_opacity<double>..FV....setopacityforallcolorcomponents
(from0to1)(default1)
shortest<boolean>..FV....forceterminationwhentheshortest
inputterminates(defaultfalse)
repeatlast<boolean>..FV....repeatlastbottomframe(defaulttrue)
boxblurAVOptions:
luma_radius<string>..FV....Radiusofthelumablurringbox(default
"2")
lr<string>..FV....Radiusofthelumablurringbox(default
"2")
luma_power<int>..FV....Howmanytimesshouldtheboxblurbe
appliedtoluma(from0toINT_MAX)(default2)
lp<int>..FV....Howmanytimesshouldtheboxblurbe
appliedtoluma(from0toINT_MAX)(default2)
chroma_radius<string>..FV....Radiusofthechromablurringbox
cr<string>..FV....Radiusofthechromablurringbox
chroma_power<int>..FV....Howmanytimesshouldtheboxblurbe
appliedtochroma(from1toINT_MAX)(default1)
cp<int>..FV....Howmanytimesshouldtheboxblurbe
appliedtochroma(from1toINT_MAX)(default1)
alpha_radius<string>..FV....Radiusofthealphablurringbox
ar<string>..FV....Radiusofthealphablurringbox
alpha_power<int>..FV....Howmanytimesshouldtheboxblurbe
appliedtoalpha(from1toINT_MAX)(default1)
ap<int>..FV....Howmanytimesshouldtheboxblurbe
appliedtoalpha(from1toINT_MAX)(default1)
bwdifAVOptions:
mode<int>..FV....specifytheinterlacingmode(from0to
1)(defaultsend_field)
send_frame..FV....sendoneframeforeachframe
send_field..FV....sendoneframeforeachfield
parity<int>..FV....specifytheassumedpicturefieldparity
(from1to1)(defaultauto)
tff..FV....assumetopfieldfirst
bff..FV....assumebottomfieldfirst
auto..FV....autodetectparity
deint<int>..FV....specifywhichframestodeinterlace
(from0to1)(defaultall)
all..FV....deinterlaceallframes
interlaced..FV....onlydeinterlaceframesmarkedas
interlaced
chromakeyAVOptions:
Page188

ffmpegcommandoptions(full).txt
color<color>..FV....setthechromakeykeycolor(default
"black")
similarity<float>..FV....setthechromakeysimilarityvalue(from
0.01to1)(default0.01)
blend<float>..FV....setthechromakeykeyblendvalue(from
0to1)(default0)
yuv<boolean>..FV....colorparameterisinyuvinsteadofrgb
(defaultfalse)
ciescopeAVOptions:
system<int>..FV....setcolorsystem(from0to8)(default
hdtv)
ntsc..FV....NTSC1953Y'I'O'(ITURBT.470System
M)
470m..FV....NTSC1953Y'I'O'(ITURBT.470System
M)
ebu..FV....EBUY'U'V'(PAL/SECAM)(ITURBT.470
SystemB,G)
470bg..FV....EBUY'U'V'(PAL/SECAM)(ITURBT.470
SystemB,G)
smpte..FV....SMPTECRGB
240m..FV....SMPTE240MY'PbPr
apple..FV....AppleRGB
widergb..FV....AdobeWideGamutRGB
cie1931..FV....CIE1931RGB
hdtv..FV....ITU.BT709Y'CbCr
rec709..FV....ITU.BT709Y'CbCr
uhdtv..FV....ITUR.BT2020
rec2020..FV....ITUR.BT2020
cie<int>..FV....setciesystem(from0to2)(default
xyy)
xyy..FV....CIE1931xyY
ucs..FV....CIE1960UCS
luv..FV....CIE1976Luv
gamuts<flags>..FV....setwhatgamutstodraw(default0)
ntsc..FV....
470m..FV....
ebu..FV....
470bg..FV....
smpte..FV....
240m..FV....
apple..FV....
widergb..FV....
cie1931..FV....
hdtv..FV....
rec709..FV....
uhdtv..FV....
rec2020..FV....
Page189

ffmpegcommandoptions(full).txt
size<int>..FV....setciescopesize(from256to8192)
(default512)
s<int>..FV....setciescopesize(from256to8192)
(default512)
intensity<float>..FV....setciescopeintensity(from0to1)
(default0.001)
i<float>..FV....setciescopeintensity(from0to1)
(default0.001)
contrast<float>..FV....(from0to1)(default0.75)
corrgamma<boolean>..FV....(defaulttrue)
showwhite<boolean>..FV....(defaultfalse)
gamma<double>..FV....(from0.1to6)(default2.6)
codecviewAVOptions:
mv<flags>..FV....setmotionvectorstovisualize(default
0)
pf..FV....forwardpredictedMVsofPframes
bf..FV....forwardpredictedMVsofBframes
bb..FV....backwardpredictedMVsofBframes
qp<boolean>..FV....(defaultfalse)
mv_type<flags>..FV....setmotionvectorstype(default0)
fp..FV....forwardpredictedMVs
bp..FV....backwardpredictedMVs
mvt<flags>..FV....setmotionvectorstype(default0)
fp..FV....forwardpredictedMVs
bp..FV....backwardpredictedMVs
frame_type<flags>..FV....setframetypestovisualizemotion
vectorsof(default0)
if..FV....Iframes
pf..FV....Pframes
bf..FV....Bframes
ft<flags>..FV....setframetypestovisualizemotion
vectorsof(default0)
if..FV....Iframes
pf..FV....Pframes
bf..FV....Bframes
colorbalanceAVOptions:
rs<double>..FV....setredshadows(from1to1)(default
0)
gs<double>..FV....setgreenshadows(from1to1)
(default0)
bs<double>..FV....setblueshadows(from1to1)(default
0)
rm<double>..FV....setredmidtones(from1to1)(default
0)
gm<double>..FV....setgreenmidtones(from1to1)
(default0)
Page190

ffmpegcommandoptions(full).txt
bm<double>..FV....setbluemidtones(from1to1)
(default0)
rh<double>..FV....setredhighlights(from1to1)
(default0)
gh<double>..FV....setgreenhighlights(from1to1)
(default0)
bh<double>..FV....setbluehighlights(from1to1)
(default0)
colorchannelmixerAVOptions:
rr<double>..FV....settheredgainfortheredchannel
(from2to2)(default1)
rg<double>..FV....setthegreengainfortheredchannel
(from2to2)(default0)
rb<double>..FV....setthebluegainfortheredchannel
(from2to2)(default0)
ra<double>..FV....setthealphagainfortheredchannel
(from2to2)(default0)
gr<double>..FV....settheredgainforthegreenchannel
(from2to2)(default0)
gg<double>..FV....setthegreengainforthegreenchannel
(from2to2)(default1)
gb<double>..FV....setthebluegainforthegreenchannel
(from2to2)(default0)
ga<double>..FV....setthealphagainforthegreenchannel
(from2to2)(default0)
br<double>..FV....settheredgainforthebluechannel
(from2to2)(default0)
bg<double>..FV....setthegreengainforthebluechannel
(from2to2)(default0)
bb<double>..FV....setthebluegainforthebluechannel
(from2to2)(default1)
ba<double>..FV....setthealphagainforthebluechannel
(from2to2)(default0)
ar<double>..FV....settheredgainforthealphachannel
(from2to2)(default0)
ag<double>..FV....setthegreengainforthealphachannel
(from2to2)(default0)
ab<double>..FV....setthebluegainforthealphachannel
(from2to2)(default0)
aa<double>..FV....setthealphagainforthealphachannel
(from2to2)(default1)
colorkeyAVOptions:
color<color>..FV....setthecolorkeykeycolor(default
"black")
similarity<float>..FV....setthecolorkeysimilarityvalue(from
0.01to1)(default0.01)
Page191

ffmpegcommandoptions(full).txt
blend<float>..FV....setthecolorkeykeyblendvalue(from0
to1)(default0)
colorlevelsAVOptions:
rimin<double>..FV....setinputredblackpoint(from1to1)
(default0)
gimin<double>..FV....setinputgreenblackpoint(from1to
1)(default0)
bimin<double>..FV....setinputblueblackpoint(from1to
1)(default0)
aimin<double>..FV....setinputalphablackpoint(from1to
1)(default0)
rimax<double>..FV....setinputredwhitepoint(from1to1)
(default1)
gimax<double>..FV....setinputgreenwhitepoint(from1to
1)(default1)
bimax<double>..FV....setinputbluewhitepoint(from1to
1)(default1)
aimax<double>..FV....setinputalphawhitepoint(from1to
1)(default1)
romin<double>..FV....setoutputredblackpoint(from0to1)
(default0)
gomin<double>..FV....setoutputgreenblackpoint(from0to
1)(default0)
bomin<double>..FV....setoutputblueblackpoint(from0to
1)(default0)
aomin<double>..FV....setoutputalphablackpoint(from0to
1)(default0)
romax<double>..FV....setoutputredwhitepoint(from0to1)
(default1)
gomax<double>..FV....setoutputgreenwhitepoint(from0to
1)(default1)
bomax<double>..FV....setoutputbluewhitepoint(from0to
1)(default1)
aomax<double>..FV....setoutputalphawhitepoint(from0to
1)(default1)
colormatrixAVOptions:
src<int>..FV....setsourcecolormatrix(from1to4)
(default1)
bt709..FV....setBT.709colorspace
fcc..FV....setFCCcolorspace
bt601..FV....setBT.601colorspace
bt470..FV....setBT.470colorspace
bt470bg..FV....setBT.470colorspace
smpte170m..FV....setSMTPE170Mcolorspace
smpte240m..FV....setSMPTE240Mcolorspace
bt2020..FV....setBT.2020colorspace
Page192

ffmpegcommandoptions(full).txt
dst<int>..FV....setdestinationcolormatrix(from1to
4)(default1)
bt709..FV....setBT.709colorspace
fcc..FV....setFCCcolorspace
bt601..FV....setBT.601colorspace
bt470..FV....setBT.470colorspace
bt470bg..FV....setBT.470colorspace
smpte170m..FV....setSMTPE170Mcolorspace
smpte240m..FV....setSMPTE240Mcolorspace
bt2020..FV....setBT.2020colorspace
colorspaceAVOptions:
all<int>..FV....Setallcolorpropertiestogether(from
0to8)(default0)
bt470m..FV....
bt470bg..FV....
bt6016525..FV....
bt6016625..FV....
bt709..FV....
smpte170m..FV....
smpte240m..FV....
bt2020..FV....
space<int>..FV....Outputcolorspace(from0to10)
(default2)
bt709..FV....
fcc..FV....
bt470bg..FV....
smpte170m..FV....
smpte240m..FV....
bt2020ncl..FV....
range<int>..FV....Outputcolorrange(from0to2)
(default0)
mpeg..FV....
jpeg..FV....
primaries<int>..FV....Outputcolorprimaries(from0to10)
(default2)
bt709..FV....
bt470m..FV....
bt470bg..FV....
smpte170m..FV....
smpte240m..FV....
bt2020..FV....
trc<int>..FV....Outputtransfercharacteristics(from0
to18)(default2)
bt709..FV....
gamma22..FV....
gamma28..FV....
smpte170m..FV....
Page193

ffmpegcommandoptions(full).txt
smpte240m..FV....
bt202010..FV....
bt202012..FV....
format<int>..FV....Outputpixelformat(from1to338)
(default1)
yuv420p..FV....
yuv420p10..FV....
yuv420p12..FV....
yuv422p..FV....
yuv422p10..FV....
yuv422p12..FV....
yuv444p..FV....
yuv444p10..FV....
yuv444p12..FV....
fast<boolean>..FV....Ignoreprimarychromaticityandgamma
correction(defaultfalse)
dither<int>..FV....Ditheringmode(from0to1)(default
none)
none..FV....
fsb..FV....
wpadapt<int>..FV....Whitepointadaptationmethod(from0to
2)(defaultbradford)
bradford..FV....
vonkries..FV....
identity..FV....
convolutionAVOptions:
0m<string>..FV....setmatrixfor1stplane(default"000
010000")
1m<string>..FV....setmatrixfor2ndplane(default"000
010000")
2m<string>..FV....setmatrixfor3rdplane(default"000
010000")
3m<string>..FV....setmatrixfor4thplane(default"000
010000")
0rdiv<float>..FV....setrdivfor1stplane(from0to
INT_MAX)(default1)
1rdiv<float>..FV....setrdivfor2ndplane(from0to
INT_MAX)(default1)
2rdiv<float>..FV....setrdivfor3rdplane(from0to
INT_MAX)(default1)
3rdiv<float>..FV....setrdivfor4thplane(from0to
INT_MAX)(default1)
0bias<float>..FV....setbiasfor1stplane(from0to
INT_MAX)(default0)
1bias<float>..FV....setbiasfor2ndplane(from0to
INT_MAX)(default0)
2bias<float>..FV....setbiasfor3rdplane(from0to
Page194

ffmpegcommandoptions(full).txt
INT_MAX)(default0)
3bias<float>..FV....setbiasfor4thplane(from0to
INT_MAX)(default0)
cover_rectAVOptions:
cover<string>..FV....coverbitmapfilename
mode<int>..FV....setremovalmode(from0to1)(default
blur)
cover..FV....coverareawithbitmap
blur..FV....blurarea
cropAVOptions:
out_w<string>..FV....setthewidthcropareaexpression
(default"iw")
w<string>..FV....setthewidthcropareaexpression
(default"iw")
out_h<string>..FV....settheheightcropareaexpression
(default"ih")
h<string>..FV....settheheightcropareaexpression
(default"ih")
x<string>..FV....setthexcropareaexpression(default
"(in_wout_w)/2")
y<string>..FV....settheycropareaexpression(default
"(in_hout_h)/2")
keep_aspect<boolean>..FV....keepaspectratio(defaultfalse)
exact<boolean>..FV....doexactcropping(defaultfalse)
cropdetectAVOptions:
limit<float>..FV....Thresholdbelowwhichthepixelis
consideredblack(from0to65535)(default0.0941176)
round<int>..FV....Valuebywhichthewidth/heightshould
bedivisible(from0toINT_MAX)(default16)
reset<int>..FV....Recalculatethecropareaafterthis
manyframes(from0toINT_MAX)(default0)
reset_count<int>..FV....Recalculatethecropareaafterthis
manyframes(from0toINT_MAX)(default0)
max_outliers<int>..FV....Thresholdcountofoutliers(from0to
INT_MAX)(default0)
curvesAVOptions:
preset<int>..FV....selectacolorcurvespreset(from0to
10)(defaultnone)
none..FV....
color_negative..FV....
cross_process..FV....
darker..FV....
increase_contrast..FV....
lighter..FV....
Page195

ffmpegcommandoptions(full).txt
linear_contrast..FV....
medium_contrast..FV....
negative..FV....
strong_contrast..FV....
vintage..FV....
master<string>..FV....setmasterpointscoordinates
m<string>..FV....setmasterpointscoordinates
red<string>..FV....setredpointscoordinates
r<string>..FV....setredpointscoordinates
green<string>..FV....setgreenpointscoordinates
g<string>..FV....setgreenpointscoordinates
blue<string>..FV....setbluepointscoordinates
b<string>..FV....setbluepointscoordinates
all<string>..FV....setpointscoordinatesforall
components
psfile<string>..FV....setPhotoshopcurvesfilename
plot<string>..FV....saveGnuplotscriptofthecurvesin
specifiedfile
datascopeAVOptions:
size<image_size>..FV....setoutputsize(default"hd720")
s<image_size>..FV....setoutputsize(default"hd720")
x<int>..FV....setxoffset(from0toINT_MAX)
(default0)
y<int>..FV....setyoffset(from0toINT_MAX)
(default0)
mode<int>..FV....setscopemode(from0to2)(default
mono)
mono..FV....
color..FV....
color2..FV....
axis<boolean>..FV....drawcolumn/rownumbers(defaultfalse)
dctdnoizAVOptions:
sigma<float>..FV....setnoisesigmaconstant(from0to999)
(default0)
s<float>..FV....setnoisesigmaconstant(from0to999)
(default0)
overlap<int>..FV....setnumberofblockoverlappingpixels
(from1to15)(default1)
expr<string>..FV....setcoefficientfactorexpression
e<string>..FV....setcoefficientfactorexpression
n<int>..FV....settheblocksize,expressedinbits
(from3to4)(default3)
debandAVOptions:
1thr<float>..FV....set1stplanethreshold(from3e005to
0.5)(default0.02)
Page196

ffmpegcommandoptions(full).txt
2thr<float>..FV....set2ndplanethreshold(from3e005to
0.5)(default0.02)
3thr<float>..FV....set3rdplanethreshold(from3e005to
0.5)(default0.02)
4thr<float>..FV....set4thplanethreshold(from3e005to
0.5)(default0.02)
range<int>..FV....setrange(fromINT_MINtoINT_MAX)
(default16)
r<int>..FV....setrange(fromINT_MINtoINT_MAX)
(default16)
direction<float>..FV....setdirection(from6.28319to6.28319)
(default6.28319)
d<float>..FV....setdirection(from6.28319to6.28319)
(default6.28319)
blur<boolean>..FV....setblur(defaulttrue)
decimateAVOptions:
cycle<int>..FV....setthenumberofframefromwhichone
willbedropped(from2to25)(default5)
dupthresh<double>..FV....setduplicatethreshold(from0to100)
(default1.1)
scthresh<double>..FV....setscenechangethreshold(from0to
100)(default15)
blockx<int>..FV....setthesizeofthexaxisblocksused
duringmetriccalculations(from4to512)(default32)
blocky<int>..FV....setthesizeoftheyaxisblocksused
duringmetriccalculations(from4to512)(default32)
ppsrc<boolean>..FV....markmaininputasapreprocessedinput
andactivatecleansourceinputstream(defaultfalse)
chroma<boolean>..FV....setwhetherornotchromaisconsidered
inthemetriccalculations(defaulttrue)
deflateAVOptions:
threshold0<int>..FV....setthresholdfor1stplane(from0to
65535)(default65535)
threshold1<int>..FV....setthresholdfor2ndplane(from0to
65535)(default65535)
threshold2<int>..FV....setthresholdfor3rdplane(from0to
65535)(default65535)
threshold3<int>..FV....setthresholdfor4thplane(from0to
65535)(default65535)
dejudderAVOptions:
cycle<int>..FV....setthelengthofthecycletousefor
dejuddering(from2to240)(default4)
delogoAVOptions:
x<int>..FV....setlogoxposition(from1toINT_MAX)
Page197

ffmpegcommandoptions(full).txt
(default1)
y<int>..FV....setlogoyposition(from1toINT_MAX)
(default1)
w<int>..FV....setlogowidth(from1toINT_MAX)
(default1)
h<int>..FV....setlogoheight(from1toINT_MAX)
(default1)
band<int>..FV....setdelogoareabandsize(from0to
INT_MAX)(default0)
t<int>..FV....setdelogoareabandsize(from0to
INT_MAX)(default0)
show<boolean>..FV....showdelogoarea(defaultfalse)
deshakeAVOptions:
x<int>..FV....setxfortherectangularsearcharea
(from1toINT_MAX)(default1)
y<int>..FV....setyfortherectangularsearcharea
(from1toINT_MAX)(default1)
w<int>..FV....setwidthfortherectangularsearch
area(from1toINT_MAX)(default1)
h<int>..FV....setheightfortherectangularsearch
area(from1toINT_MAX)(default1)
rx<int>..FV....setxfortherectangularsearcharea
(from0to64)(default16)
ry<int>..FV....setyfortherectangularsearcharea
(from0to64)(default16)
edge<int>..FV....setedgemode(from0to3)(default
mirror)
blank..FV....fillzeroesatblanklocations
original..FV....originalimageatblanklocations
clamp..FV....extrudededgevalueatblanklocations
mirror..FV....mirrorededgeatblanklocations
blocksize<int>..FV....setmotionsearchblocksize(from4to
128)(default8)
contrast<int>..FV....setcontrastthresholdforblocks(from
1to255)(default125)
search<int>..FV....setsearchstrategy(from0to1)
(defaultexhaustive)
exhaustive..FV....exhaustivesearch
less..FV....lessexhaustivesearch
filename<string>..FV....setmotionsearchdetailedlogfilename
opencl<boolean>..FV....useOpenCLfilteringcapabilities
(defaultfalse)
detelecineAVOptions:
first_field<int>..FV....selectfirstfield(from0to1)
(defaulttop)
top..FV....selecttopfieldfirst
Page198

ffmpegcommandoptions(full).txt
t..FV....selecttopfieldfirst
bottom..FV....selectbottomfieldfirst
b..FV....selectbottomfieldfirst
pattern<string>..FV....patternthatdescribeforhowmany
fieldsaframeistobedisplayed(default"23")
start_frame<int>..FV....positionoffirstframewithrespectto
thepatternifstreamiscut(from0to13)(default0)
dilationAVOptions:
threshold0<int>..FV....setthresholdfor1stplane(from0to
65535)(default65535)
threshold1<int>..FV....setthresholdfor2ndplane(from0to
65535)(default65535)
threshold2<int>..FV....setthresholdfor3rdplane(from0to
65535)(default65535)
threshold3<int>..FV....setthresholdfor4thplane(from0to
65535)(default65535)
coordinates<int>..FV....setcoordinates(from0to255)(default
255)
displaceAVOptions:
edge<int>..FV....setedgemode(from0to2)(default
smear)
blank..FV....
smear..FV....
wrap..FV....
drawboxAVOptions:
x<string>..FV....sethorizontalpositionoftheleftbox
edge(default"0")
y<string>..FV....setverticalpositionofthetopbox
edge(default"0")
width<string>..FV....setwidthofthebox(default"0")
w<string>..FV....setwidthofthebox(default"0")
height<string>..FV....setheightofthebox(default"0")
h<string>..FV....setheightofthebox(default"0")
color<string>..FV....setcolorofthebox(default"black")
c<string>..FV....setcolorofthebox(default"black")
thickness<string>..FV....settheboxthickness(default"3")
t<string>..FV....settheboxthickness(default"3")
drawgraphAVOptions:
m1<string>..FV....set1stmetadatakey(default"")
fg1<string>..FV....set1stforegroundcolorexpression
(default"0xffff0000")
m2<string>..FV....set2ndmetadatakey(default"")
fg2<string>..FV....set2ndforegroundcolorexpression
(default"0xff00ff00")
Page199

ffmpegcommandoptions(full).txt
m3<string>..FV....set3rdmetadatakey(default"")
fg3<string>..FV....set3rdforegroundcolorexpression
(default"0xffff00ff")
m4<string>..FV....set4thmetadatakey(default"")
fg4<string>..FV....set4thforegroundcolorexpression
(default"0xffffff00")
bg<color>..FV....setbackgroundcolor(default"white")
min<float>..FV....setminimalvalue(fromINT_MINto
INT_MAX)(default1)
max<float>..FV....setmaximalvalue(fromINT_MINto
INT_MAX)(default1)
mode<int>..FV....setgraphmode(from0to2)(default
line)
bar..FV....drawbars
dot..FV....drawdots
line..FV....drawlines
slide<int>..FV....setslidemode(from0to4)(default
frame)
frame..FV....drawnewframes
replace..FV....replaceoldcolumnswithnew
scroll..FV....scrollfromrighttoleft
rscroll..FV....scrollfromlefttoright
picture..FV....displaygraphinsingleframe
size<image_size>..FV....setgraphsize(default"900x256")
s<image_size>..FV....setgraphsize(default"900x256")
drawgridAVOptions:
x<string>..FV....sethorizontaloffset(default"0")
y<string>..FV....setverticaloffset(default"0")
width<string>..FV....setwidthofgridcell(default"0")
w<string>..FV....setwidthofgridcell(default"0")
height<string>..FV....setheightofgridcell(default"0")
h<string>..FV....setheightofgridcell(default"0")
color<string>..FV....setcolorofthegrid(default"black")
c<string>..FV....setcolorofthegrid(default"black")
thickness<string>..FV....setgridlinethickness(default"1")
t<string>..FV....setgridlinethickness(default"1")
drawtextAVOptions:
fontfile<string>..FV....setfontfile
text<string>..FV....settext
textfile<string>..FV....settextfile
fontcolor<color>..FV....setforegroundcolor(default"black")
fontcolor_expr<string>..FV....setforegroundcolorexpression(default
"")
boxcolor<color>..FV....setboxcolor(default"white")
bordercolor<color>..FV....setbordercolor(default"black")
shadowcolor<color>..FV....setshadowcolor(default"black")
Page200

ffmpegcommandoptions(full).txt
box<boolean>..FV....setbox(defaultfalse)
boxborderw<int>..FV....setboxborderwidth(fromINT_MINto
INT_MAX)(default0)
fontsize<int>..FV....setfontsize(from0toINT_MAX)
(default0)
x<string>..FV....setxexpression(default"0")
y<string>..FV....setyexpression(default"0")
shadowx<int>..FV....setshadowxoffset(fromINT_MINto
INT_MAX)(default0)
shadowy<int>..FV....setshadowyoffset(fromINT_MINto
INT_MAX)(default0)
borderw<int>..FV....setborderwidth(fromINT_MINto
INT_MAX)(default0)
tabsize<int>..FV....settabsize(from0toINT_MAX)
(default4)
basetime<int64>..FV....setbasetime(fromI64_MINtoI64_MAX)
(defaultI64_MIN)
font<string>..FV....Fontname(default"Sans")
expansion<int>..FV....settheexpansionmode(from0to2)
(defaultnormal)
none..FV....setnoexpansion
normal..FV....setnormalexpansion
strftime..FV....setstrftimeexpansion(deprecated)
timecode<string>..FV....setinitialtimecode
tc24hmax<boolean>..FV....set24hoursmax(timecodeonly)
(defaultfalse)
timecode_rate<rational>..FV....setrate(timecodeonly)(from0to
INT_MAX)(default0/1)
r<rational>..FV....setrate(timecodeonly)(from0to
INT_MAX)(default0/1)
rate<rational>..FV....setrate(timecodeonly)(from0to
INT_MAX)(default0/1)
reload<boolean>..FV....reloadtextfileforeachframe(default
false)
alpha<string>..FV....applyalphawhilerendering(default
"1")
fix_bounds<boolean>..FV....checkandfixtextcoordstoavoid
clipping(defaulttrue)
start_number<int>..FV....startframenumberforn/frame_num
variable(from0toINT_MAX)(default0)
ft_load_flags<flags>..FV....setfontloadingflagsforlibfreetype
(default0)
default..FV....
no_scale..FV....
no_hinting..FV....
render..FV....
no_bitmap..FV....
vertical_layout..FV....
Page201

ffmpegcommandoptions(full).txt
force_autohint..FV....
crop_bitmap..FV....
pedantic..FV....
ignore_global_advance_width..FV....
no_recurse..FV....
ignore_transform..FV....
monochrome..FV....
linear_design..FV....
no_autohint..FV....
edgedetectAVOptions:
high<double>..FV....sethighthreshold(from0to1)
(default0.196078)
low<double>..FV....setlowthreshold(from0to1)(default
0.0784314)
mode<int>..FV....setmode(from0to1)(defaultwires)
wires..FV....white/graywiresonblack
colormix..FV....mixcolors
elbgAVOptions:
codebook_length<int>..FV....setcodebooklength(from1toINT_MAX)
(default256)
l<int>..FV....setcodebooklength(from1toINT_MAX)
(default256)
nb_steps<int>..FV....setmaxnumberofstepsusedtocompute
themapping(from1toINT_MAX)(default1)
n<int>..FV....setmaxnumberofstepsusedtocompute
themapping(from1toINT_MAX)(default1)
seed<int>..FV....settherandomseed(from1to
UINT32_MAX)(default1)
s<int>..FV....settherandomseed(from1to
UINT32_MAX)(default1)
pal8<boolean>..FV....setthepal8output(defaultfalse)
eqAVOptions:
contrast<string>..FV....setthecontrastadjustment,negative
valuesgiveanegativeimage(default"1.0")
brightness<string>..FV....setthebrightnessadjustment(default
"0.0")
saturation<string>..FV....setthesaturationadjustment(default
"1.0")
gamma<string>..FV....settheinitialgammavalue(default
"1.0")
gamma_r<string>..FV....gammavalueforred(default"1.0")
gamma_g<string>..FV....gammavalueforgreen(default"1.0")
gamma_b<string>..FV....gammavalueforblue(default"1.0")
gamma_weight<string>..FV....setthegammaweightwhichreducesthe
effectofgammaonbrightareas(default"1.0")
Page202

ffmpegcommandoptions(full).txt
eval<int>..FV....specifywhentoevaluateexpressions
(from0to1)(defaultinit)
init..FV....evalexpressionsonceduring
initialization
frame..FV....evalexpressionsperframe
erosionAVOptions:
threshold0<int>..FV....setthresholdfor1stplane(from0to
65535)(default65535)
threshold1<int>..FV....setthresholdfor2ndplane(from0to
65535)(default65535)
threshold2<int>..FV....setthresholdfor3rdplane(from0to
65535)(default65535)
threshold3<int>..FV....setthresholdfor4thplane(from0to
65535)(default65535)
coordinates<int>..FV....setcoordinates(from0to255)(default
255)
extractplanesAVOptions:
planes<flags>..FV....setplanes(defaultr)
y..FV....setlumaplane
u..FV....setuplane
v..FV....setvplane
r..FV....setredplane
g..FV....setgreenplane
b..FV....setblueplane
a..FV....setalphaplane
fadeAVOptions:
type<int>..FV....'in'or'out'forfadein/fadeout(from
0to1)(defaultin)
t<int>..FV....'in'or'out'forfadein/fadeout(from
0to1)(defaultin)
start_frame<int>..FV....Numberofthefirstframetowhichto
applytheeffect.(from0toINT_MAX)(default0)
s<int>..FV....Numberofthefirstframetowhichto
applytheeffect.(from0toINT_MAX)(default0)
nb_frames<int>..FV....Numberofframestowhichtheeffect
shouldbeapplied.(from0toINT_MAX)(default25)
n<int>..FV....Numberofframestowhichtheeffect
shouldbeapplied.(from0toINT_MAX)(default25)
alpha<boolean>..FV....fadealphaifitisavailableonthe
input(defaultfalse)
start_time<duration>..FV....Numberofsecondsofthebeginningof
theeffect.(default0)
st<duration>..FV....Numberofsecondsofthebeginningof
theeffect.(default0)
duration<duration>..FV....Durationoftheeffectinseconds.
Page203

ffmpegcommandoptions(full).txt
(default0)
d<duration>..FV....Durationoftheeffectinseconds.
(default0)
color<color>..FV....setcolor(default"black")
c<color>..FV....setcolor(default"black")
fftfiltAVOptions:
dc_Y<int>..FV....adjustgaininYplane(from0to1000)
(default0)
dc_U<int>..FV....adjustgaininUplane(from0to1000)
(default0)
dc_V<int>..FV....adjustgaininVplane(from0to1000)
(default0)
weight_Y<string>..FV....setluminanceexpressioninYplane
(default"1")
weight_U<string>..FV....setchrominanceexpressioninUplane
weight_V<string>..FV....setchrominanceexpressioninVplane
fieldAVOptions:
type<int>..FV....setfieldtype(toporbottom)(from0
to1)(defaulttop)
top..FV....selecttopfield
bottom..FV....selectbottomfield
fieldhintAVOptions:
hint<string>..FV....sethintfile
mode<int>..FV....sethintmode(from0to1)(default
absolute)
absolute..FV....
relative..FV....
fieldmatchAVOptions:
order<int>..FV....specifytheassumedfieldorder(from1
to1)(defaultauto)
auto..FV....autodetectparity
bff..FV....assumebottomfieldfirst
tff..FV....assumetopfieldfirst
mode<int>..FV....setthematchingmodeorstrategytouse
(from0to5)(defaultpc_n)
pc..FV....2waymatch(p/c)
pc_n..FV....2waymatch+3rdmatchoncombed(p/c
+u)
pc_u..FV....2waymatch+3rdmatch(sameorder)on
combed(p/c+u)
pc_n_ub..FV....2waymatch+3rdmatchoncombed+
4th/5thmatchesifstillcombed(p/c+u+u/b)
pcn..FV....3waymatch(p/c/n)
pcn_ub..FV....3waymatch+4th/5thmatchesoncombed
Page204

ffmpegcommandoptions(full).txt
(p/c/n+u/b)
ppsrc<boolean>..FV....markmaininputasapreprocessedinput
andactivatecleansourceinputstream(defaultfalse)
field<int>..FV....setthefieldtomatchfrom(from1to
1)(defaultauto)
auto..FV....automatic(samevalueas'order')
bottom..FV....bottomfield
top..FV....topfield
mchroma<boolean>..FV....setwhetherornotchromaisincluded
duringthematchcomparisons(defaulttrue)
y0<int>..FV....defineanexclusionbandwhichexcludes
thelinesbetweeny0andy1fromthefieldmatchingdecision(from0toINT_MAX)
(default0)
y1<int>..FV....defineanexclusionbandwhichexcludes
thelinesbetweeny0andy1fromthefieldmatchingdecision(from0toINT_MAX)
(default0)
scthresh<double>..FV....setscenechangedetectionthreshold
(from0to100)(default12)
combmatch<int>..FV....setcombmatchingmode(from0to2)
(defaultsc)
none..FV....disablecombmatching
sc..FV....enablecombmatchingonlyonscene
change
full..FV....enablecombmatchingallthetime
combdbg<int>..FV....enablecombdebug(from0to2)(default
none)
none..FV....noforcedcalculation
pcn..FV....calculatep/c/n
pcnub..FV....calculatep/c/n/u/b
cthresh<int>..FV....settheareacombingthresholdusedfor
combedframedetection(from1to255)(default9)
chroma<boolean>..FV....setwhetherornotchromaisconsidered
inthecombedframedecision(defaultfalse)
blockx<int>..FV....setthexaxissizeofthewindowused
duringcombedframedetection(from4to512)(default16)
blocky<int>..FV....settheyaxissizeofthewindowused
duringcombedframedetection(from4to512)(default16)
combpel<int>..FV....setthenumberofcombedpixelsinside
anyoftheblockybyblockxsizeblocksontheframefortheframetobedetected
ascombed(from0toINT_MAX)(default80)
fieldorderAVOptions:
order<int>..FV....outputfieldorder(from0to1)
(defaulttff)
bff..FV....bottomfieldfirst
tff..FV....topfieldfirst
find_rectAVOptions:
Page205

ffmpegcommandoptions(full).txt
object<string>..FV....objectbitmapfilename
threshold<float>..FV....setthreshold(from0to1)(default
0.5)
mipmaps<int>..FV....setmipmaps(from1to5)(default3)
xmin<int>..FV....(from0toINT_MAX)(default0)
ymin<int>..FV....(from0toINT_MAX)(default0)
xmax<int>..FV....(from0toINT_MAX)(default0)
ymax<int>..FV....(from0toINT_MAX)(default0)
formatAVOptions:
pix_fmts<string>..FV....A'|'separatedlistofpixelformats
fpsAVOptions:
fps<video_rate>..FV....Astringdescribingdesiredoutput
framerate(default"25")
start_time<double>...V....AssumethefirstPTSshouldbethis
value.(fromDBL_MAXtoDBL_MAX)(defaultDBL_MAX)
round<int>..FV....setroundingmethodfortimestamps(from
0to5)(defaultnear)
zero..FV....roundtowards0
inf..FV....roundawayfrom0
down..FV....roundtowardsinfty
up..FV....roundtowards+infty
near..FV....roundtonearest
framepackAVOptions:
format<int>...V....Framepackoutputformat(from0to
INT_MAX)(defaultsbs)
sbs...V....Viewsarepackednexttoeachother
tab...V....Viewsarepackedontopofeachother
frameseq...V....Viewsareoneaftertheother
lines...V....Viewsareinterleavedbylines
columns...V....Viewsareinterleavedbycolumns
framerateAVOptions:
fps<video_rate>..FV....requiredoutputframespersecondrate
(default"50")
interp_start<int>..FV....pointtostartlinearinterpolation
(from0to255)(default15)
interp_end<int>..FV....pointtoendlinearinterpolation(from
0to255)(default240)
scene<double>..FV....scenechangelevel(from0toINT_MAX)
(default7)
flags<flags>..FV....setflags(default
scene_change_detect+scd)
scene_change_detect..FV....enablescenechangedetection
scd..FV....enablescenechangedetection
Page206

ffmpegcommandoptions(full).txt
framestepAVOptions:
step<int>..FV....setframestep(from1toINT_MAX)
(default1)
frei0rAVOptions:
filter_name<string>..FV....
filter_params<string>..FV....
fsppAVOptions:
quality<int>..FV....setquality(from4to5)(default4)
qp<int>..FV....forceaconstantquantizerparameter
(from0to64)(default0)
strength<int>..FV....setfilterstrength(from15to32)
(default0)
use_bframe_qp<boolean>..FV....useBframes'QP(defaultfalse)
geqAVOptions:
lum_expr<string>..FV....setluminanceexpression
lum<string>..FV....setluminanceexpression
cb_expr<string>..FV....setchromablueexpression
cb<string>..FV....setchromablueexpression
cr_expr<string>..FV....setchromaredexpression
cr<string>..FV....setchromaredexpression
alpha_expr<string>..FV....setalphaexpression
a<string>..FV....setalphaexpression
red_expr<string>..FV....setredexpression
r<string>..FV....setredexpression
green_expr<string>..FV....setgreenexpression
g<string>..FV....setgreenexpression
blue_expr<string>..FV....setblueexpression
b<string>..FV....setblueexpression
gradfunAVOptions:
strength<float>..FV....Themaximumamountbywhichthefilter
willchangeanyonepixel.(from0.51to64)(default1.2)
radius<int>..FV....Theneighborhoodtofitthegradientto.
(from4to32)(default16)
haldclutAVOptions:
shortest<boolean>..FV....forceterminationwhentheshortest
inputterminates(defaultfalse)
repeatlast<boolean>..FV....continueapplyingthelastclutafter
eos(defaulttrue)
interp<int>..FV....selectinterpolationmode(from0to2)
(defaulttetrahedral)
nearest..FV....usevaluesfromthenearestdefined
points
trilinear..FV....interpolatevaluesusingthe8points
Page207

ffmpegcommandoptions(full).txt
definingacube
tetrahedral..FV....interpolatevaluesusingatetrahedron
hflipAVOptions:
histeqAVOptions:
strength<float>..FV....setthestrength(from0to1)(default
0.2)
intensity<float>..FV....settheintensity(from0to1)(default
0.21)
antibanding<int>..FV....settheantibandinglevel(from0to2)
(defaultnone)
none..FV....applynoantibanding
weak..FV....applyweakantibanding
strong..FV....applystrongantibanding
histogramAVOptions:
level_height<int>..FV....setlevelheight(from50to2048)
(default200)
scale_height<int>..FV....setscaleheight(from0to40)(default
12)
display_mode<int>..FV....setdisplaymode(from0to1)(default
parade)
parade..FV....
overlay..FV....
d<int>..FV....setdisplaymode(from0to1)(default
parade)
parade..FV....
overlay..FV....
levels_mode<int>..FV....setlevelsmode(from0to1)(default
linear)
linear..FV....
logarithmic..FV....
m<int>..FV....setlevelsmode(from0to1)(default
linear)
linear..FV....
logarithmic..FV....
components<int>..FV....setcolorcomponentstodisplay(from1
to15)(default7)
c<int>..FV....setcolorcomponentstodisplay(from1
to15)(default7)
fgopacity<float>..FV....setforegroundopacity(from0to1)
(default0.7)
f<float>..FV....setforegroundopacity(from0to1)
(default0.7)
bgopacity<float>..FV....setbackgroundopacity(from0to1)
(default0.5)
b<float>..FV....setbackgroundopacity(from0to1)
Page208

ffmpegcommandoptions(full).txt
(default0.5)
hqdn3dAVOptions:
luma_spatial<double>..FV....spatiallumastrength(from0to
DBL_MAX)(default0)
chroma_spatial<double>..FV....spatialchromastrength(from0to
DBL_MAX)(default0)
luma_tmp<double>..FV....temporallumastrength(from0to
DBL_MAX)(default0)
chroma_tmp<double>..FV....temporalchromastrength(from0to
DBL_MAX)(default0)
hqxAVOptions:
n<int>..FV....setscalefactor(from2to4)(default
3)
hstackAVOptions:
inputs<int>..FV....setnumberofinputs(from2toINT_MAX)
(default2)
shortest<boolean>..FV....forceterminationwhentheshortest
inputterminates(defaultfalse)
hueAVOptions:
h<string>..FV....setthehueangledegreesexpression
s<string>..FV....setthesaturationexpression(default
"1")
H<string>..FV....setthehueangleradiansexpression
b<string>..FV....setthebrightnessexpression(default
"0")
hysteresisAVOptions:
planes<int>..FV....setplanes(from0to15)(default15)
threshold<int>..FV....setthreshold(from0to65535)(default
0)
idetAVOptions:
intl_thres<float>..FV....setinterlacingthreshold(from1to
FLT_MAX)(default1.04)
prog_thres<float>..FV....setprogressivethreshold(from1to
FLT_MAX)(default1.5)
rep_thres<float>..FV....setrepeatthreshold(from1to
FLT_MAX)(default3)
half_life<float>..FV....halflifeofcumulativestatistics(from
1toINT_MAX)(default0)
analyze_interlaced_flag<int>..FV....setnumberofframestouseto
determineiftheinterlaceflagisaccurate(from0toINT_MAX)(default0)
ilAVOptions:
Page209

ffmpegcommandoptions(full).txt
luma_mode<int>..FV....selectlumamode(from0to2)(default
none)
none..FV....
interleave..FV....
i..FV....
deinterleave..FV....
d..FV....
l<int>..FV....selectlumamode(from0to2)(default
none)
none..FV....
interleave..FV....
i..FV....
deinterleave..FV....
d..FV....
chroma_mode<int>..FV....selectchromamode(from0to2)
(defaultnone)
none..FV....
interleave..FV....
i..FV....
deinterleave..FV....
d..FV....
c<int>..FV....selectchromamode(from0to2)
(defaultnone)
none..FV....
interleave..FV....
i..FV....
deinterleave..FV....
d..FV....
alpha_mode<int>..FV....selectalphamode(from0to2)(default
none)
none..FV....
interleave..FV....
i..FV....
deinterleave..FV....
d..FV....
a<int>..FV....selectalphamode(from0to2)(default
none)
none..FV....
interleave..FV....
i..FV....
deinterleave..FV....
d..FV....
luma_swap<boolean>..FV....swaplumafields(defaultfalse)
ls<boolean>..FV....swaplumafields(defaultfalse)
chroma_swap<boolean>..FV....swapchromafields(defaultfalse)
cs<boolean>..FV....swapchromafields(defaultfalse)
alpha_swap<boolean>..FV....swapalphafields(defaultfalse)
as<boolean>..FV....swapalphafields(defaultfalse)
Page210

ffmpegcommandoptions(full).txt
inflateAVOptions:
threshold0<int>..FV....setthresholdfor1stplane(from0to
65535)(default65535)
threshold1<int>..FV....setthresholdfor2ndplane(from0to
65535)(default65535)
threshold2<int>..FV....setthresholdfor3rdplane(from0to
65535)(default65535)
threshold3<int>..FV....setthresholdfor4thplane(from0to
65535)(default65535)
interlaceAVOptions:
scan<int>..FV....scanningmode(from0to1)(default
tff)
tff..FV....topfieldfirst
bff..FV....bottomfieldfirst
lowpass<boolean>..FV....setverticallowpassfilter(default
true)
interleaveAVOptions:
nb_inputs<int>..FV....setnumberofinputs(from1toINT_MAX)
(default2)
n<int>..FV....setnumberofinputs(from1toINT_MAX)
(default2)
kerndeintAVOptions:
thresh<int>..FV....setthethreshold(from0to255)
(default10)
map<boolean>..FV....setthemap(defaultfalse)
order<boolean>..FV....settheorder(defaultfalse)
sharp<boolean>..FV....setsharpening(defaultfalse)
twoway<boolean>..FV....settwoway(defaultfalse)
lenscorrectionAVOptions:
cx<double>..FV....setrelativecenterx(from0to1)
(default0.5)
cy<double>..FV....setrelativecentery(from0to1)
(default0.5)
k1<double>..FV....setquadraticdistortionfactor(from1
to1)(default0)
k2<double>..FV....setdoublequadraticdistortionfactor
(from1to1)(default0)
loopAVOptions:
loop<int>..FV....numberofloops(from1toINT_MAX)
(default0)
size<int64>..FV....maxnumberofframestoloop(from0to
32767)(default0)
Page211

ffmpegcommandoptions(full).txt
start<int64>..FV....settheloopstartframe(from0to
I64_MAX)(default0)
lutAVOptions:
c0<string>..FV....setcomponent#0expression(default
"val")
c1<string>..FV....setcomponent#1expression(default
"val")
c2<string>..FV....setcomponent#2expression(default
"val")
c3<string>..FV....setcomponent#3expression(default
"val")
y<string>..FV....setYexpression(default"val")
u<string>..FV....setUexpression(default"val")
v<string>..FV....setVexpression(default"val")
r<string>..FV....setRexpression(default"val")
g<string>..FV....setGexpression(default"val")
b<string>..FV....setBexpression(default"val")
a<string>..FV....setAexpression(default"val")
lut2AVOptions:
c0<string>..FV....setcomponent#0expression(default
"x")
c1<string>..FV....setcomponent#1expression(default
"x")
c2<string>..FV....setcomponent#2expression(default
"x")
c3<string>..FV....setcomponent#3expression(default
"x")
lut3dAVOptions:
file<string>..FV....set3DLUTfilename
interp<int>..FV....selectinterpolationmode(from0to2)
(defaulttetrahedral)
nearest..FV....usevaluesfromthenearestdefined
points
trilinear..FV....interpolatevaluesusingthe8points
definingacube
tetrahedral..FV....interpolatevaluesusingatetrahedron
lutrgbAVOptions:
c0<string>..FV....setcomponent#0expression(default
"val")
c1<string>..FV....setcomponent#1expression(default
"val")
c2<string>..FV....setcomponent#2expression(default
"val")
c3<string>..FV....setcomponent#3expression(default
Page212

ffmpegcommandoptions(full).txt
"val")
y<string>..FV....setYexpression(default"val")
u<string>..FV....setUexpression(default"val")
v<string>..FV....setVexpression(default"val")
r<string>..FV....setRexpression(default"val")
g<string>..FV....setGexpression(default"val")
b<string>..FV....setBexpression(default"val")
a<string>..FV....setAexpression(default"val")
lutyuvAVOptions:
c0<string>..FV....setcomponent#0expression(default
"val")
c1<string>..FV....setcomponent#1expression(default
"val")
c2<string>..FV....setcomponent#2expression(default
"val")
c3<string>..FV....setcomponent#3expression(default
"val")
y<string>..FV....setYexpression(default"val")
u<string>..FV....setUexpression(default"val")
v<string>..FV....setVexpression(default"val")
r<string>..FV....setRexpression(default"val")
g<string>..FV....setGexpression(default"val")
b<string>..FV....setBexpression(default"val")
a<string>..FV....setAexpression(default"val")
maskedclampAVOptions:
undershoot<int>..FV....setundershoot(from0toINT_MAX)
(default0)
overshoot<int>..FV....setovershoot(from0toINT_MAX)
(default0)
planes<int>..FV....setplanes(from0to15)(default15)
maskedmergeAVOptions:
planes<int>..FV....setplanes(from0to15)(default15)
mcdeintAVOptions:
mode<int>..FV....setmode(from0to3)(defaultfast)
fast..FV....
medium..FV....
slow..FV....
extra_slow..FV....
parity<int>..FV....settheassumedpicturefieldparity
(from1to1)(defaultbff)
tff..FV....assumetopfieldfirst
bff..FV....assumebottomfieldfirst
qp<int>..FV....setqp(fromINT_MINtoINT_MAX)
(default1)
Page213

ffmpegcommandoptions(full).txt
mergeplanesAVOptions:
mapping<int>..FV....setinputtooutputplanemapping(from
0to8.58993e+008)(default0)
format<pix_fmt>..FV....setoutputpixelformat(default
yuva444p)
mestimateAVOptions:
method<int>..FV....motionestimationmethod(from1to9)
(defaultesa)
esa..FV....exhaustivesearch
tss..FV....threestepsearch
tdls..FV....twodimensionallogarithmicsearch
ntss..FV....newthreestepsearch
fss..FV....fourstepsearch
ds..FV....diamondsearch
hexbs..FV....hexagonbasedsearch
epzs..FV....enhancedpredictivezonalsearch
umh..FV....unevenmultihexagonsearch
mb_size<int>..FV....macroblocksize(from8toINT_MAX)
(default16)
search_param<int>..FV....searchparameter(from4toINT_MAX)
(default7)
metadataAVOptions:
mode<int>..FV....setamodeofoperation(from0to4)
(defaultselect)
select..FV....selectframe
add..FV....addnewmetadata
modify..FV....modifymetadata
delete..FV....deletemetadata
print..FV....printmetadata
key<string>..FV....setmetadatakey
value<string>..FV....setmetadatavalue
function<int>..FV....functionforcomparingvalues(from0to
5)(defaultsame_str)
same_str..FV....
starts_with..FV....
less..FV....
equal..FV....
greater..FV....
expr..FV....
expr<string>..FV....setexpressionforexprfunction
file<string>..FV....setfilewheretoprintmetadata
information
minterpolateAVOptions:
fps<video_rate>..FV....output'sframerate(default"60")
Page214

ffmpegcommandoptions(full).txt
mi_mode<int>..FV....motioninterpolationmode(from0to2)
(defaultmci)
dup..FV....duplicateframes
blend..FV....blendframes
mci..FV....motioncompensatedinterpolation
mc_mode<int>..FV....motioncompensationmode(from0to1)
(defaultobmc)
obmc..FV....overlappedblockmotioncompensation
aobmc..FV....adaptiveoverlappedblockmotion
compensation
me_mode<int>..FV....motionestimationmode(from0to1)
(defaultbilat)
bidir..FV....bidirectionalmotionestimation
bilat..FV....bilateralmotionestimation
me<int>..FV....motionestimationmethod(from1to9)
(defaultepzs)
esa..FV....exhaustivesearch
tss..FV....threestepsearch
tdls..FV....twodimensionallogarithmicsearch
ntss..FV....newthreestepsearch
fss..FV....fourstepsearch
ds..FV....diamondsearch
hexbs..FV....hexagonbasedsearch
epzs..FV....enhancedpredictivezonalsearch
umh..FV....unevenmultihexagonsearch
mb_size<int>..FV....macroblocksize(from4to16)(default
16)
search_param<int>..FV....searchparameter(from4toINT_MAX)
(default32)
vsbmc<int>..FV....variablesizeblockmotioncompensation
(from0to1)(default0)
scd<int>..FV....scenechangedetectionmethod(from0to
1)(defaultfdiff)
none..FV....disabledetection
fdiff..FV....framedifference
scd_threshold<double>..FV....scenechangethreshold(from0to100)
(default5)
mpdecimateAVOptions:
max<int>..FV....setthemaximumnumberofconsecutive
droppedframes(positive),ortheminimumintervalbetweendroppedframes
(negative)(fromINT_MINtoINT_MAX)(default0)
hi<int>..FV....sethighdroppingthreshold(from
INT_MINtoINT_MAX)(default768)
lo<int>..FV....setlowdroppingthreshold(fromINT_MIN
toINT_MAX)(default320)
frac<float>..FV....setfractiondroppingthreshold(from0
to1)(default0.33)
Page215

ffmpegcommandoptions(full).txt
negateAVOptions:
negate_alpha<boolean>..FV....(defaultfalse)
nnediAVOptions:
weights<string>..FV....setweightsfile(default
"nnedi3_weights.bin")
deint<int>..FV....setwhichframestodeinterlace(from0
to1)(defaultall)
all..FV....deinterlaceallframes
interlaced..FV....onlydeinterlaceframesmarkedas
interlaced
field<int>..FV....setmodeofoperation(from2to3)
(defaulta)
af..FV....useframeflags,bothfields
a..FV....useframeflags,singlefield
t..FV....usetopfieldonly
b..FV....usebottomfieldonly
tf..FV....usebothfields,topfirst
bf..FV....usebothfields,bottomfirst
planes<int>..FV....setwhichplanestoprocess(from0to
7)(default7)
nsize<int>..FV....setsizeoflocalneighborhoodaround
eachpixel,usedbythepredictorneuralnetwork(from0to6)(defaults32x4)
s8x6..FV....
s16x6..FV....
s32x6..FV....
s48x6..FV....
s8x4..FV....
s16x4..FV....
s32x4..FV....
nns<int>..FV....setnumberofneuronsinpredictor
neuralnetwork(from0to4)(defaultn32)
n16..FV....
n32..FV....
n64..FV....
n128..FV....
n256..FV....
qual<int>..FV....setquality(from1to2)(defaultfast)
fast..FV....
slow..FV....
etype<int>..FV....setwhichsetofweightstouseinthe
predictor(from0to1)(defaulta)
a..FV....weightstrainedtominimizeabsolute
error
s..FV....weightstrainedtominimizesquared
error
pscrn<int>..FV....setprescreening(from0to2)(default
Page216

ffmpegcommandoptions(full).txt
new)
none..FV....
original..FV....
new..FV....
fapprox<int>..FV....(from0to3)(default0)
noformatAVOptions:
pix_fmts<string>..FV....A'|'separatedlistofpixelformats
noiseAVOptions:
all_seed<int>..FV....setcomponent#0noiseseed(from1to
INT_MAX)(default1)
all_strength<int>..FV....setcomponent#0strength(from0to
100)(default0)
alls<int>..FV....setcomponent#0strength(from0to
100)(default0)
all_flags<flags>..FV....setcomponent#0flags(default0)
a..FV....averagednoise
p..FV....(semi)regularpattern
t..FV....temporalnoise
u..FV....uniformnoise
allf<flags>..FV....setcomponent#0flags(default0)
a..FV....averagednoise
p..FV....(semi)regularpattern
t..FV....temporalnoise
u..FV....uniformnoise
c0_seed<int>..FV....setcomponent#0noiseseed(from1to
INT_MAX)(default1)
c0_strength<int>..FV....setcomponent#0strength(from0to
100)(default0)
c0s<int>..FV....setcomponent#0strength(from0to
100)(default0)
c0_flags<flags>..FV....setcomponent#0flags(default0)
a..FV....averagednoise
p..FV....(semi)regularpattern
t..FV....temporalnoise
u..FV....uniformnoise
c0f<flags>..FV....setcomponent#0flags(default0)
a..FV....averagednoise
p..FV....(semi)regularpattern
t..FV....temporalnoise
u..FV....uniformnoise
c1_seed<int>..FV....setcomponent#1noiseseed(from1to
INT_MAX)(default1)
c1_strength<int>..FV....setcomponent#1strength(from0to
100)(default0)
c1s<int>..FV....setcomponent#1strength(from0to
100)(default0)
Page217

ffmpegcommandoptions(full).txt
c1_flags<flags>..FV....setcomponent#1flags(default0)
a..FV....averagednoise
p..FV....(semi)regularpattern
t..FV....temporalnoise
u..FV....uniformnoise
c1f<flags>..FV....setcomponent#1flags(default0)
a..FV....averagednoise
p..FV....(semi)regularpattern
t..FV....temporalnoise
u..FV....uniformnoise
c2_seed<int>..FV....setcomponent#2noiseseed(from1to
INT_MAX)(default1)
c2_strength<int>..FV....setcomponent#2strength(from0to
100)(default0)
c2s<int>..FV....setcomponent#2strength(from0to
100)(default0)
c2_flags<flags>..FV....setcomponent#2flags(default0)
a..FV....averagednoise
p..FV....(semi)regularpattern
t..FV....temporalnoise
u..FV....uniformnoise
c2f<flags>..FV....setcomponent#2flags(default0)
a..FV....averagednoise
p..FV....(semi)regularpattern
t..FV....temporalnoise
u..FV....uniformnoise
c3_seed<int>..FV....setcomponent#3noiseseed(from1to
INT_MAX)(default1)
c3_strength<int>..FV....setcomponent#3strength(from0to
100)(default0)
c3s<int>..FV....setcomponent#3strength(from0to
100)(default0)
c3_flags<flags>..FV....setcomponent#3flags(default0)
a..FV....averagednoise
p..FV....(semi)regularpattern
t..FV....temporalnoise
u..FV....uniformnoise
c3f<flags>..FV....setcomponent#3flags(default0)
a..FV....averagednoise
p..FV....(semi)regularpattern
t..FV....temporalnoise
u..FV....uniformnoise
overlayAVOptions:
x<string>..FV....setthexexpression(default"0")
y<string>..FV....settheyexpression(default"0")
eof_action<int>..FV....ActiontotakewhenencounteringEOF
fromsecondaryinput(from0to2)(defaultrepeat)
Page218

ffmpegcommandoptions(full).txt
repeat..FV....Repeatthepreviousframe.
endall..FV....Endbothstreams.
pass..FV....Passthroughthemaininput.
eval<int>..FV....specifywhentoevaluateexpressions
(from0to1)(defaultframe)
init..FV....evalexpressionsonceduring
initialization
frame..FV....evalexpressionsperframe
rgb<boolean>..FV....forcepackedRGBininputandoutput
(deprecated)(defaultfalse)
shortest<boolean>..FV....forceterminationwhentheshortest
inputterminates(defaultfalse)
format<int>..FV....setoutputformat(from0to3)(default
yuv420)
yuv420..FV....
yuv422..FV....
yuv444..FV....
rgb..FV....
repeatlast<boolean>..FV....repeatoverlayofthelastoverlayframe
(defaulttrue)
owdenoiseAVOptions:
depth<int>..FV....setdepth(from8to16)(default8)
luma_strength<double>..FV....setlumastrength(from0to1000)
(default1)
ls<double>..FV....setlumastrength(from0to1000)
(default1)
chroma_strength<double>..FV....setchromastrength(from0to1000)
(default1)
cs<double>..FV....setchromastrength(from0to1000)
(default1)
padAVOptions:
width<string>..FV....setthepadareawidthexpression
(default"iw")
w<string>..FV....setthepadareawidthexpression
(default"iw")
height<string>..FV....setthepadareaheightexpression
(default"ih")
h<string>..FV....setthepadareaheightexpression
(default"ih")
x<string>..FV....setthexoffsetexpressionforthe
inputimageposition(default"0")
y<string>..FV....settheyoffsetexpressionforthe
inputimageposition(default"0")
color<color>..FV....setthecolorofthepaddedareaborder
(default"black")
Page219

ffmpegcommandoptions(full).txt
palettegenAVOptions:
max_colors<int>..FV....setthemaximumnumberofcolorstouse
inthepalette(from4to256)(default256)
reserve_transparent<boolean>..FV....reserveapaletteentryfor
transparency(defaulttrue)
stats_mode<int>..FV....setstatisticsmode(from0to2)
(defaultfull)
full..FV....computefullframehistograms
diff..FV....computehistogramsonlyforthepart
thatdiffersfrompreviousframe
paletteuseAVOptions:
dither<int>..FV....selectditheringmode(from0to5)
(defaultsierra2_4a)
bayer..FV....ordered8x8bayerdithering
(deterministic)
heckbert..FV....ditheringasdefinedbyPaulHeckbert
in1982(simpleerrordiffusion)
floyd_steinberg..FV....FloydandSteingbergdithering(error
diffusion)
sierra2..FV....FrankieSierraditheringv2(error
diffusion)
sierra2_4a..FV....FrankieSierraditheringv2"Lite"
(errordiffusion)
bayer_scale<int>..FV....setscaleforbayerdithering(from0to
5)(default2)
diff_mode<int>..FV....setframedifferencemode(from0to1)
(default0)
rectangle..FV....processsmallestdifferentrectangle
debug_kdtree<string>..FV....saveGraphvizgraphofthekdtreein
specifiedfile
color_search<int>..FV....setreversecolormapcolorsearchmethod
(from0to2)(defaultnns_iterative)
nns_iterative..FV....iterativesearch
nns_recursive..FV....recursivesearch
bruteforce..FV....bruteforceintothepalette
mean_err<boolean>..FV....computeandprintmeanerror(default
false)
debug_accuracy<boolean>..FV....testcolorsearchaccuracy(default
false)
permsAVOptions:
mode<int>..FVA...selectpermissionsmode(from0to4)
(defaultnone)
none..FVA...donothing
ro..FVA...setalloutputframesreadonly
rw..FVA...setalloutputframeswritable
toggle..FVA...switchpermissions
Page220

ffmpegcommandoptions(full).txt
random..FVA...setpermissionsrandomly
seed<int64>..FVA...settheseedfortherandommode(from
1toUINT32_MAX)(default1)
perspectiveAVOptions:
x0<string>..FV....settopleftxcoordinate(default"0")
y0<string>..FV....settopleftycoordinate(default"0")
x1<string>..FV....settoprightxcoordinate(default"W")
y1<string>..FV....settoprightycoordinate(default"0")
x2<string>..FV....setbottomleftxcoordinate(default
"0")
y2<string>..FV....setbottomleftycoordinate(default
"H")
x3<string>..FV....setbottomrightxcoordinate(default
"W")
y3<string>..FV....setbottomrightycoordinate(default
"H")
interpolation<int>..FV....setinterpolation(from0to1)(default
linear)
linear..FV....
cubic..FV....
sense<int>..FV....specifythesenseofthecoordinates
(from0to1)(defaultsource)
source..FV....specifylocationsinsourcetosendto
cornersindestination
destination..FV....specifylocationsindestinationto
sendcornersofsource
eval<int>..FV....specifywhentoevaluateexpressions
(from0to1)(defaultinit)
init..FV....evalexpressionsonceduring
initialization
frame..FV....evalexpressionsperframe
phaseAVOptions:
mode<int>..FV....setphasemode(from0to8)(defaultA)
p..FV....progressive
t..FV....topfirst
b..FV....bottomfirst
T..FV....topfirstanalyze
B..FV....bottomfirstanalyze
u..FV....analyze
U..FV....fullanalyze
a..FV....auto
A..FV....autoanalyze
ppAVOptions:
subfilters<string>..FV....setpostprocesssubfilters(default
"de")
Page221

ffmpegcommandoptions(full).txt
pp7AVOptions:
qp<int>..FV....forceaconstantquantizerparameter
(from0to64)(default0)
mode<int>..FV....setthresholdingmode(from0to2)
(defaultmedium)
hard..FV....hardthresholding
soft..FV....softthresholding
medium..FV....mediumthresholding
psnrAVOptions:
stats_file<string>..FV....Setfilewheretostoreperframe
differenceinformation
f<string>..FV....Setfilewheretostoreperframe
differenceinformation
stats_version<int>..FV....Settheformatversionforthestats
file.(from1to2)(default1)
pullupAVOptions:
jl<int>..FV....setleftjunksize(from0toINT_MAX)
(default1)
jr<int>..FV....setrightjunksize(from0toINT_MAX)
(default1)
jt<int>..FV....settopjunksize(from1toINT_MAX)
(default4)
jb<int>..FV....setbottomjunksize(from1toINT_MAX)
(default4)
sb<boolean>..FV....setstrictbreaks(defaultfalse)
mp<int>..FV....setmetricplane(from0to2)(default
y)
y..FV....luma
u..FV....chromablue
v..FV....chromared
qpAVOptions:
qp<string>..FV....setqpexpression
randomAVOptions:
frames<int>..FV....setnumberofframesincache(from2to
512)(default30)
seed<int64>..FV....settheseed(from1toUINT32_MAX)
(default1)
readvitcAVOptions:
scan_max<int>..FV....maximumlinenumberstoscanforVITC
data(from1toINT_MAX)(default45)
thr_b<double>..FV....blackcolorthreshold(from0to1)
(default0.2)
Page222

ffmpegcommandoptions(full).txt
thr_w<double>..FV....whitecolorthreshold(from0to1)
(default0.6)
realtimeAVOptions:
limit<duration>..FVA...sleeptimelimit(default2)
remapAVOptions:
removegrainAVOptions:
m0<int>..FV....setmodefor1stplane(from0to24)
(default0)
m1<int>..FV....setmodefor2ndplane(from0to24)
(default0)
m2<int>..FV....setmodefor3rdplane(from0to24)
(default0)
m3<int>..FV....setmodefor4thplane(from0to24)
(default0)
removelogoAVOptions:
filename<string>..FV....setbitmapfilename
f<string>..FV....setbitmapfilename
rotateAVOptions:
angle<string>..FV....setangle(inradians)(default"0")
a<string>..FV....setangle(inradians)(default"0")
out_w<string>..FV....setoutputwidthexpression(default
"iw")
ow<string>..FV....setoutputwidthexpression(default
"iw")
out_h<string>..FV....setoutputheightexpression(default
"ih")
oh<string>..FV....setoutputheightexpression(default
"ih")
fillcolor<string>..FV....setbackgroundfillcolor(default
"black")
c<string>..FV....setbackgroundfillcolor(default
"black")
bilinear<boolean>..FV....usebilinearinterpolation(default
true)
sabAVOptions:
luma_radius<float>..FV....setlumaradius(from0.1to4)(default
1)
lr<float>..FV....setlumaradius(from0.1to4)(default
1)
luma_pre_filter_radius<float>..FV....setlumaprefilterradius(from
0.1to2)(default1)
lpfr<float>..FV....setlumaprefilterradius(from0.1to
Page223

ffmpegcommandoptions(full).txt
2)(default1)
luma_strength<float>..FV....setlumastrength(from0.1to100)
(default1)
ls<float>..FV....setlumastrength(from0.1to100)
(default1)
chroma_radius<float>..FV....setchromaradius(from0.9to4)
(default0.9)
cr<float>..FV....setchromaradius(from0.9to4)
(default0.9)
chroma_pre_filter_radius<float>..FV....setchromaprefilterradius
(from0.9to2)(default0.9)
cpfr<float>..FV....setchromaprefilterradius(from0.9
to2)(default0.9)
chroma_strength<float>..FV....setchromastrength(from0.9to100)
(default0.9)
cs<float>..FV....setchromastrength(from0.9to100)
(default0.9)
scaleAVOptions:
w<string>..FV....Outputvideowidth
width<string>..FV....Outputvideowidth
h<string>..FV....Outputvideoheight
height<string>..FV....Outputvideoheight
flags<string>..FV....Flagstopasstolibswscale(default
"bilinear")
interl<boolean>..FV....setinterlacing(defaultfalse)
in_color_matrix<string>..FV....setinputYCbCrtype(default"auto")
out_color_matrix<string>..FV....setoutputYCbCrtype
in_range<int>..FV....setinputcolorrange(from0to2)
(defaultauto)
auto..FV....
full..FV....
jpeg..FV....
mpeg..FV....
tv..FV....
pc..FV....
out_range<int>..FV....setoutputcolorrange(from0to2)
(defaultauto)
auto..FV....
full..FV....
jpeg..FV....
mpeg..FV....
tv..FV....
pc..FV....
in_v_chr_pos<int>..FV....inputverticalchromapositioninluma
grid/256(from513to512)(default513)
in_h_chr_pos<int>..FV....inputhorizontalchromapositioninluma
grid/256(from513to512)(default513)
Page224

ffmpegcommandoptions(full).txt
out_v_chr_pos<int>..FV....outputverticalchromapositioninluma
grid/256(from513to512)(default513)
out_h_chr_pos<int>..FV....outputhorizontalchromapositionin
lumagrid/256(from513to512)(default513)
force_original_aspect_ratio<int>..FV....decreaseorincreasew/hif
necessarytokeeptheoriginalAR(from0to2)(defaultdisable)
disable..FV....
decrease..FV....
increase..FV....
param0<double>..FV....Scalerparam0(fromINT_MINtoINT_MAX)
(default123456)
param1<double>..FV....Scalerparam1(fromINT_MINtoINT_MAX)
(default123456)
nb_slices<int>..FV....setthenumberofslices(debugpurpose
only)(from0toINT_MAX)(default0)
eval<int>..FV....specifywhentoevaluateexpressions
(from0to1)(defaultinit)
init..FV....evalexpressionsonceduring
initialization
frame..FV....evalexpressionsduringinitialization
andperframe
SWScalerAVOptions:
sws_flags<flags>E..V....scalerflags(defaultbicubic)
fast_bilinearE..V....fastbilinear
bilinearE..V....bilinear
bicubicE..V....bicubic
experimentalE..V....experimental
neighborE..V....nearestneighbor
areaE..V....averagingarea
bicublinE..V....lumabicubic,chromabilinear
gaussE..V....Gaussian
sincE..V....sinc
lanczosE..V....Lanczos
splineE..V....naturalbicubicspline
print_infoE..V....printinfo
accurate_rndE..V....accuraterounding
full_chroma_intE..V....fullchromainterpolation
full_chroma_inpE..V....fullchromainput
bitexactE..V....
error_diffusionE..V....errordiffusiondither
srcw<int>E..V....sourcewidth(from1toINT_MAX)
(default16)
srch<int>E..V....sourceheight(from1toINT_MAX)
(default16)
dstw<int>E..V....destinationwidth(from1toINT_MAX)
(default16)
dsth<int>E..V....destinationheight(from1toINT_MAX)
Page225

ffmpegcommandoptions(full).txt
(default16)
src_format<int>E..V....sourceformat(from0to341)(default
0)
dst_format<int>E..V....destinationformat(from0to341)
(default0)
src_range<boolean>E..V....sourceisfullrange(defaultfalse)
dst_range<boolean>E..V....destinationisfullrange(default
false)
param0<double>E..V....scalerparam0(fromINT_MINto
INT_MAX)(default123456)
param1<double>E..V....scalerparam1(fromINT_MINto
INT_MAX)(default123456)
src_v_chr_pos<int>E..V....sourceverticalchromapositioninluma
grid/256(from513to512)(default513)
src_h_chr_pos<int>E..V....sourcehorizontalchromapositionin
lumagrid/256(from513to512)(default513)
dst_v_chr_pos<int>E..V....destinationverticalchromapositionin
lumagrid/256(from513to512)(default513)
dst_h_chr_pos<int>E..V....destinationhorizontalchromaposition
inlumagrid/256(from513to512)(default513)
sws_dither<int>E..V....setditheringalgorithm(from0to6)
(defaultauto)
autoE..V....leavechoicetosws
bayerE..V....bayerdither
edE..V....errordiffusion
a_ditherE..V....arithmeticadditiondither
x_ditherE..V....arithmeticxordither
gamma<boolean>E..V....gammacorrectscaling(defaultfalse)
alphablend<int>E..V....modeforalpha>nonalpha(from0to
2)(defaultnone)
noneE..V....ignorealpha
uniform_colorE..V....blendontoauniformcolor
checkerboardE..V....blendontoacheckerboard
scale2refAVOptions:
w<string>..FV....Outputvideowidth
width<string>..FV....Outputvideowidth
h<string>..FV....Outputvideoheight
height<string>..FV....Outputvideoheight
flags<string>..FV....Flagstopasstolibswscale(default
"bilinear")
interl<boolean>..FV....setinterlacing(defaultfalse)
in_color_matrix<string>..FV....setinputYCbCrtype(default"auto")
out_color_matrix<string>..FV....setoutputYCbCrtype
in_range<int>..FV....setinputcolorrange(from0to2)
(defaultauto)
auto..FV....
full..FV....
Page226

ffmpegcommandoptions(full).txt
jpeg..FV....
mpeg..FV....
tv..FV....
pc..FV....
out_range<int>..FV....setoutputcolorrange(from0to2)
(defaultauto)
auto..FV....
full..FV....
jpeg..FV....
mpeg..FV....
tv..FV....
pc..FV....
in_v_chr_pos<int>..FV....inputverticalchromapositioninluma
grid/256(from513to512)(default513)
in_h_chr_pos<int>..FV....inputhorizontalchromapositioninluma
grid/256(from513to512)(default513)
out_v_chr_pos<int>..FV....outputverticalchromapositioninluma
grid/256(from513to512)(default513)
out_h_chr_pos<int>..FV....outputhorizontalchromapositionin
lumagrid/256(from513to512)(default513)
force_original_aspect_ratio<int>..FV....decreaseorincreasew/hif
necessarytokeeptheoriginalAR(from0to2)(defaultdisable)
disable..FV....
decrease..FV....
increase..FV....
param0<double>..FV....Scalerparam0(fromINT_MINtoINT_MAX)
(default123456)
param1<double>..FV....Scalerparam1(fromINT_MINtoINT_MAX)
(default123456)
nb_slices<int>..FV....setthenumberofslices(debugpurpose
only)(from0toINT_MAX)(default0)
eval<int>..FV....specifywhentoevaluateexpressions
(from0to1)(defaultinit)
init..FV....evalexpressionsonceduring
initialization
frame..FV....evalexpressionsduringinitialization
andperframe
SWScalerAVOptions:
sws_flags<flags>E..V....scalerflags(defaultbicubic)
fast_bilinearE..V....fastbilinear
bilinearE..V....bilinear
bicubicE..V....bicubic
experimentalE..V....experimental
neighborE..V....nearestneighbor
areaE..V....averagingarea
bicublinE..V....lumabicubic,chromabilinear
gaussE..V....Gaussian
Page227

ffmpegcommandoptions(full).txt
sincE..V....sinc
lanczosE..V....Lanczos
splineE..V....naturalbicubicspline
print_infoE..V....printinfo
accurate_rndE..V....accuraterounding
full_chroma_intE..V....fullchromainterpolation
full_chroma_inpE..V....fullchromainput
bitexactE..V....
error_diffusionE..V....errordiffusiondither
srcw<int>E..V....sourcewidth(from1toINT_MAX)
(default16)
srch<int>E..V....sourceheight(from1toINT_MAX)
(default16)
dstw<int>E..V....destinationwidth(from1toINT_MAX)
(default16)
dsth<int>E..V....destinationheight(from1toINT_MAX)
(default16)
src_format<int>E..V....sourceformat(from0to341)(default
0)
dst_format<int>E..V....destinationformat(from0to341)
(default0)
src_range<boolean>E..V....sourceisfullrange(defaultfalse)
dst_range<boolean>E..V....destinationisfullrange(default
false)
param0<double>E..V....scalerparam0(fromINT_MINto
INT_MAX)(default123456)
param1<double>E..V....scalerparam1(fromINT_MINto
INT_MAX)(default123456)
src_v_chr_pos<int>E..V....sourceverticalchromapositioninluma
grid/256(from513to512)(default513)
src_h_chr_pos<int>E..V....sourcehorizontalchromapositionin
lumagrid/256(from513to512)(default513)
dst_v_chr_pos<int>E..V....destinationverticalchromapositionin
lumagrid/256(from513to512)(default513)
dst_h_chr_pos<int>E..V....destinationhorizontalchromaposition
inlumagrid/256(from513to512)(default513)
sws_dither<int>E..V....setditheringalgorithm(from0to6)
(defaultauto)
autoE..V....leavechoicetosws
bayerE..V....bayerdither
edE..V....errordiffusion
a_ditherE..V....arithmeticadditiondither
x_ditherE..V....arithmeticxordither
gamma<boolean>E..V....gammacorrectscaling(defaultfalse)
alphablend<int>E..V....modeforalpha>nonalpha(from0to
2)(defaultnone)
noneE..V....ignorealpha
uniform_colorE..V....blendontoauniformcolor
Page228

ffmpegcommandoptions(full).txt
checkerboardE..V....blendontoacheckerboard
selectAVOptions:
expr<string>..FV....setanexpressiontouseforselecting
frames(default"1")
e<string>..FV....setanexpressiontouseforselecting
frames(default"1")
outputs<int>..FV....setthenumberofoutputs(from1to
INT_MAX)(default1)
n<int>..FV....setthenumberofoutputs(from1to
INT_MAX)(default1)
selectivecolorAVOptions:
correction_method<int>..FV....selectcorrectionmethod(from0to1)
(defaultabsolute)
absolute..FV....
relative..FV....
reds<string>..FV....adjustredregions
yellows<string>..FV....adjustyellowregions
greens<string>..FV....adjustgreenregions
cyans<string>..FV....adjustcyanregions
blues<string>..FV....adjustblueregions
magentas<string>..FV....adjustmagentaregions
whites<string>..FV....adjustwhiteregions
neutrals<string>..FV....adjustneutralregions
blacks<string>..FV....adjustblackregions
psfile<string>..FV....setPhotoshopselectivecolorfilename
sendcmdAVOptions:
commands<string>..FVA...setcommands
c<string>..FVA...setcommands
filename<string>..FVA...setcommandsfile
f<string>..FVA...setcommandsfile
setdarAVOptions:
dar<string>..FV....setdisplayaspectratio(default"0")
ratio<string>..FV....setdisplayaspectratio(default"0")
r<string>..FV....setdisplayaspectratio(default"0")
dar_den<float>..FV....(from0toFLT_MAX)(default0)
max<int>..FV....setmaxvaluefornominatoror
denominatorintheratio(from1toINT_MAX)(default100)
setfieldAVOptions:
mode<int>..FV....selectinterlacemode(from1to2)
(defaultauto)
auto..FV....keepthesameinputfield
bff..FV....markasbottomfieldfirst
tff..FV....markastopfieldfirst
Page229

ffmpegcommandoptions(full).txt
prog..FV....markasprogressive
setptsAVOptions:
expr<string>..FVA...Expressiondeterminingtheframe
timestamp(default"PTS")
setsarAVOptions:
sar<string>..FV....setsample(pixel)aspectratio(default
"0")
ratio<string>..FV....setsample(pixel)aspectratio(default
"0")
r<string>..FV....setsample(pixel)aspectratio(default
"0")
sar_den<float>..FV....(from0toFLT_MAX)(default0)
max<int>..FV....setmaxvaluefornominatoror
denominatorintheratio(from1toINT_MAX)(default100)
settbAVOptions:
expr<string>..FV....setexpressiondeterminingtheoutput
timebase(default"intb")
tb<string>..FV....setexpressiondeterminingtheoutput
timebase(default"intb")
showpaletteAVOptions:
s<int>..FV....setpixelboxsize(from1to100)
(default30)
shuffleframesAVOptions:
mapping<string>..FV....setdestinationindexesofinputframes
(default"0")
shuffleplanesAVOptions:
map0<int>..FV....Indexoftheinputplanetobeusedas
thefirstoutputplane(from0to4)(default0)
map1<int>..FV....Indexoftheinputplanetobeusedas
thesecondoutputplane(from0to4)(default1)
map2<int>..FV....Indexoftheinputplanetobeusedas
thethirdoutputplane(from0to4)(default2)
map3<int>..FV....Indexoftheinputplanetobeusedas
thefourthoutputplane(from0to4)(default3)
signalstatsAVOptions:
stat<flags>..FV....setstatisticsfilters(default0)
tout..FV....analyzepixelsfortemporaloutliers
vrep..FV....analyzevideolinesforverticalline
repetition
brng..FV....analyzeforpixelsoutsideofbroadcast
range
Page230

ffmpegcommandoptions(full).txt
out<int>..FV....setvideofilter(from1to2)(default
1)
tout..FV....highlightpixelsthatdepicttemporal
outliers
vrep..FV....highlightvideolinesthatdepict
verticallinerepetition
brng..FV....highlightpixelsthatareoutsideof
broadcastrange
c<color>..FV....sethighlightcolor(default"yellow")
color<color>..FV....sethighlightcolor(default"yellow")
smartblurAVOptions:
luma_radius<float>..FV....setlumaradius(from0.1to5)(default
1)
lr<float>..FV....setlumaradius(from0.1to5)(default
1)
luma_strength<float>..FV....setlumastrength(from1to1)
(default1)
ls<float>..FV....setlumastrength(from1to1)
(default1)
luma_threshold<int>..FV....setlumathreshold(from30to30)
(default0)
lt<int>..FV....setlumathreshold(from30to30)
(default0)
chroma_radius<float>..FV....setchromaradius(from0.9to5)
(default0.9)
cr<float>..FV....setchromaradius(from0.9to5)
(default0.9)
chroma_strength<float>..FV....setchromastrength(from2to1)
(default2)
cs<float>..FV....setchromastrength(from2to1)
(default2)
chroma_threshold<int>..FV....setchromathreshold(from31to30)
(default31)
ct<int>..FV....setchromathreshold(from31to30)
(default31)
splitAVOptions:
outputs<int>..FVA...setnumberofoutputs(from1to
INT_MAX)(default2)
sppAVOptions:
quality<int>..FV....setquality(from0to6)(default3)
qp<int>..FV....forceaconstantquantizerparameter
(from0to63)(default0)
mode<int>..FV....setthresholdingmode(from0to1)
(defaulthard)
hard..FV....hardthresholding
Page231

ffmpegcommandoptions(full).txt
soft..FV....softthresholding
use_bframe_qp<boolean>..FV....useBframes'QP(defaultfalse)
AVDCTAVOptions:
dct<int>E..V....DCTalgorithm(from0toINT_MAX)
(defaultauto)
autoE..V....autoselectagoodone
fastintE..V....fastinteger(experimental/for
debugging)
intE..V....accurateinteger
mmxE..V....experimental/fordebugging
altivecE..V....experimental/fordebugging
faanE..V....floatingpointAANDCT(experimental/
fordebugging)
idct<int>ED.V....selectIDCTimplementation(from0to
INT_MAX)(defaultauto)
autoED.V....autoselectagoodone
intED.V....experimental/fordebugging
simpleED.V....experimental/fordebugging
simplemmxED.V....experimental/fordebugging
armED.V....experimental/fordebugging
altivecED.V....experimental/fordebugging
sh4ED.V....experimental/fordebugging
simplearmED.V....experimental/fordebugging
simplearmv5teED.V....experimental/fordebugging
simplearmv6ED.V....experimental/fordebugging
simpleneonED.V....experimental/fordebugging
simplealphaED.V....experimental/fordebugging
ippED.V....experimental/fordebugging
xvidED.V....experimental/fordebugging
xvidmmxED.V....experimental/fordebugging
faaniED.V....floatingpointAANIDCT(experimental/
fordebugging)
simpleautoED.V....experimental/fordebugging
ssimAVOptions:
stats_file<string>..FV....Setfilewheretostoreperframe
differenceinformation
f<string>..FV....Setfilewheretostoreperframe
differenceinformation
stereo3dAVOptions:
in<int>..FV....setinputformat(from16to32)
(defaultsbsl)
ab2l..FV....abovebelowhalfheightleftfirst
ab2r..FV....abovebelowhalfheightrightfirst
abl..FV....abovebelowleftfirst
abr..FV....abovebelowrightfirst
Page232

ffmpegcommandoptions(full).txt
al..FV....alternatingframesleftfirst
ar..FV....alternatingframesrightfirst
sbs2l..FV....sidebysidehalfwidthleftfirst
sbs2r..FV....sidebysidehalfwidthrightfirst
sbsl..FV....sidebysideleftfirst
sbsr..FV....sidebysiderightfirst
irl..FV....interleaverowsleftfirst
irr..FV....interleaverowsrightfirst
icl..FV....interleavecolumnsleftfirst
icr..FV....interleavecolumnsrightfirst
out<int>..FV....setoutputformat(from0to32)
(defaultarcd)
ab2l..FV....abovebelowhalfheightleftfirst
ab2r..FV....abovebelowhalfheightrightfirst
abl..FV....abovebelowleftfirst
abr..FV....abovebelowrightfirst
agmc..FV....anaglyphgreenmagentacolor
agmd..FV....anaglyphgreenmagentadubois
agmg..FV....anaglyphgreenmagentagray
agmh..FV....anaglyphgreenmagentahalfcolor
al..FV....alternatingframesleftfirst
ar..FV....alternatingframesrightfirst
arbg..FV....anaglyphredbluegray
arcc..FV....anaglyphredcyancolor
arcd..FV....anaglyphredcyandubois
arcg..FV....anaglyphredcyangray
arch..FV....anaglyphredcyanhalfcolor
argg..FV....anaglyphredgreengray
aybc..FV....anaglyphyellowbluecolor
aybd..FV....anaglyphyellowbluedubois
aybg..FV....anaglyphyellowbluegray
aybh..FV....anaglyphyellowbluehalfcolor
irl..FV....interleaverowsleftfirst
irr..FV....interleaverowsrightfirst
ml..FV....monoleft
mr..FV....monoright
sbs2l..FV....sidebysidehalfwidthleftfirst
sbs2r..FV....sidebysidehalfwidthrightfirst
sbsl..FV....sidebysideleftfirst
sbsr..FV....sidebysiderightfirst
chl..FV....checkerboardleftfirst
chr..FV....checkerboardrightfirst
icl..FV....interleavecolumnsleftfirst
icr..FV....interleavecolumnsrightfirst
hdmi..FV....HDMIframepack
streamselectAVOptions:
inputs<int>..FVA...numberofinputstreams(from2to
Page233

ffmpegcommandoptions(full).txt
INT_MAX)(default2)
map<string>..FVA...inputindexestoremaptooutputs
subtitlesAVOptions:
filename<string>..FV....setthefilenameoffiletoread
f<string>..FV....setthefilenameoffiletoread
original_size<image_size>..FV....setthesizeoftheoriginalvideo(used
toscalefonts)
fontsdir<string>..FV....setthedirectorycontainingthefonts
toread
charenc<string>..FV....setinputcharacterencoding
stream_index<int>..FV....setstreamindex(from1toINT_MAX)
(default1)
si<int>..FV....setstreamindex(from1toINT_MAX)
(default1)
force_style<string>..FV....forcesubtitlestyle
swaprectAVOptions:
w<string>..FV....setrectwidth(default"w/2")
h<string>..FV....setrectheight(default"h/2")
x1<string>..FV....set1strectxtopleftcoordinate
(default"w/2")
y1<string>..FV....set1strectytopleftcoordinate
(default"h/2")
x2<string>..FV....set2ndrectxtopleftcoordinate
(default"0")
y2<string>..FV....set2ndrectytopleftcoordinate
(default"0")
swapuvAVOptions:
tblendAVOptions:
c0_mode<int>..FV....setcomponent#0blendmode(from0to
31)(defaultnormal)
addition..FV....
addition128..FV....
and..FV....
average..FV....
burn..FV....
darken..FV....
difference..FV....
difference128..FV....
divide..FV....
dodge..FV....
exclusion..FV....
freeze..FV....
glow..FV....
hardlight..FV....
Page234

ffmpegcommandoptions(full).txt
hardmix..FV....
heat..FV....
lighten..FV....
linearlight..FV....
multiply..FV....
multiply128..FV....
negation..FV....
normal..FV....
or..FV....
overlay..FV....
phoenix..FV....
pinlight..FV....
reflect..FV....
screen..FV....
softlight..FV....
subtract..FV....
vividlight..FV....
xor..FV....
c1_mode<int>..FV....setcomponent#1blendmode(from0to
31)(defaultnormal)
addition..FV....
addition128..FV....
and..FV....
average..FV....
burn..FV....
darken..FV....
difference..FV....
difference128..FV....
divide..FV....
dodge..FV....
exclusion..FV....
freeze..FV....
glow..FV....
hardlight..FV....
hardmix..FV....
heat..FV....
lighten..FV....
linearlight..FV....
multiply..FV....
multiply128..FV....
negation..FV....
normal..FV....
or..FV....
overlay..FV....
phoenix..FV....
pinlight..FV....
reflect..FV....
screen..FV....
Page235

ffmpegcommandoptions(full).txt
softlight..FV....
subtract..FV....
vividlight..FV....
xor..FV....
c2_mode<int>..FV....setcomponent#2blendmode(from0to
31)(defaultnormal)
addition..FV....
addition128..FV....
and..FV....
average..FV....
burn..FV....
darken..FV....
difference..FV....
difference128..FV....
divide..FV....
dodge..FV....
exclusion..FV....
freeze..FV....
glow..FV....
hardlight..FV....
hardmix..FV....
heat..FV....
lighten..FV....
linearlight..FV....
multiply..FV....
multiply128..FV....
negation..FV....
normal..FV....
or..FV....
overlay..FV....
phoenix..FV....
pinlight..FV....
reflect..FV....
screen..FV....
softlight..FV....
subtract..FV....
vividlight..FV....
xor..FV....
c3_mode<int>..FV....setcomponent#3blendmode(from0to
31)(defaultnormal)
addition..FV....
addition128..FV....
and..FV....
average..FV....
burn..FV....
darken..FV....
difference..FV....
difference128..FV....
Page236

ffmpegcommandoptions(full).txt
divide..FV....
dodge..FV....
exclusion..FV....
freeze..FV....
glow..FV....
hardlight..FV....
hardmix..FV....
heat..FV....
lighten..FV....
linearlight..FV....
multiply..FV....
multiply128..FV....
negation..FV....
normal..FV....
or..FV....
overlay..FV....
phoenix..FV....
pinlight..FV....
reflect..FV....
screen..FV....
softlight..FV....
subtract..FV....
vividlight..FV....
xor..FV....
all_mode<int>..FV....setblendmodeforallcomponents(from
1to31)(default1)
addition..FV....
addition128..FV....
and..FV....
average..FV....
burn..FV....
darken..FV....
difference..FV....
difference128..FV....
divide..FV....
dodge..FV....
exclusion..FV....
freeze..FV....
glow..FV....
hardlight..FV....
hardmix..FV....
heat..FV....
lighten..FV....
linearlight..FV....
multiply..FV....
multiply128..FV....
negation..FV....
normal..FV....
Page237

ffmpegcommandoptions(full).txt
or..FV....
overlay..FV....
phoenix..FV....
pinlight..FV....
reflect..FV....
screen..FV....
softlight..FV....
subtract..FV....
vividlight..FV....
xor..FV....
c0_expr<string>..FV....setcolorcomponent#0expression
c1_expr<string>..FV....setcolorcomponent#1expression
c2_expr<string>..FV....setcolorcomponent#2expression
c3_expr<string>..FV....setcolorcomponent#3expression
all_expr<string>..FV....setexpressionforallcolorcomponents
c0_opacity<double>..FV....setcolorcomponent#0opacity(from0
to1)(default1)
c1_opacity<double>..FV....setcolorcomponent#1opacity(from0
to1)(default1)
c2_opacity<double>..FV....setcolorcomponent#2opacity(from0
to1)(default1)
c3_opacity<double>..FV....setcolorcomponent#3opacity(from0
to1)(default1)
all_opacity<double>..FV....setopacityforallcolorcomponents
(from0to1)(default1)
telecineAVOptions:
first_field<int>..FV....selectfirstfield(from0to1)
(defaulttop)
top..FV....selecttopfieldfirst
t..FV....selecttopfieldfirst
bottom..FV....selectbottomfieldfirst
b..FV....selectbottomfieldfirst
pattern<string>..FV....patternthatdescribeforhowmany
fieldsaframeistobedisplayed(default"23")
thumbnailAVOptions:
n<int>..FV....settheframesbatchsize(from2to
INT_MAX)(default100)
tileAVOptions:
layout<image_size>..FV....setgridsize(default"6x5")
nb_frames<int>..FV....setmaximumnumberofframetorender
(from0toINT_MAX)(default0)
margin<int>..FV....setouterbordermargininpixels(from
0to1024)(default0)
padding<int>..FV....setinnerborderthicknessinpixels
(from0to1024)(default0)
Page238

ffmpegcommandoptions(full).txt
color<color>..FV....setthecoloroftheunusedarea
(default"black")
tinterlaceAVOptions:
mode<int>..FV....selectinterlacemode(from0to7)
(defaultmerge)
merge..FV....mergefields
drop_even..FV....dropevenfields
drop_odd..FV....dropoddfields
pad..FV....padalternatelineswithblack
interleave_top..FV....interleavetopandbottomfields
interleave_bottom..FV....interleavebottomandtopfields
interlacex2..FV....interlacefieldsfromtwoconsecutive
frames
mergex2..FV....mergefieldskeepingsameframerate
transposeAVOptions:
dir<int>..FV....settransposedirection(from0to7)
(defaultcclock_flip)
passthrough<int>..FV....donotapplytranspositioniftheinput
matchesthespecifiedgeometry(from0toINT_MAX)(defaultnone)
none..FV....alwaysapplytransposition
portrait..FV....preserveportraitgeometry
landscape..FV....preservelandscapegeometry
trimAVOptions:
start<duration>..FV....Timestampofthefirstframethatshould
bepassed(defaultINT64_MAX)
starti<duration>..FV....Timestampofthefirstframethatshould
bepassed(defaultINT64_MAX)
end<duration>..FV....Timestampofthefirstframethatshould
bedroppedagain(defaultINT64_MAX)
endi<duration>..FV....Timestampofthefirstframethatshould
bedroppedagain(defaultINT64_MAX)
start_pts<int64>..FV....Timestampofthefirstframethatshould
bepassed(fromI64_MINtoI64_MAX)(defaultI64_MIN)
end_pts<int64>..FV....Timestampofthefirstframethatshould
bedroppedagain(fromI64_MINtoI64_MAX)(defaultI64_MIN)
duration<duration>..FV....Maximumdurationoftheoutput(default
0)
durationi<duration>..FV....Maximumdurationoftheoutput(default
0)
start_frame<int64>..FV....Numberofthefirstframethatshouldbe
passedtotheoutput(from1toI64_MAX)(default1)
end_frame<int64>..FV....Numberofthefirstframethatshouldbe
droppedagain(from0toI64_MAX)(defaultI64_MAX)
unsharpAVOptions:
Page239

ffmpegcommandoptions(full).txt
luma_msize_x<int>..FV....setlumamatrixhorizontalsize(from3
to63)(default5)
lx<int>..FV....setlumamatrixhorizontalsize(from3
to63)(default5)
luma_msize_y<int>..FV....setlumamatrixverticalsize(from3to
63)(default5)
ly<int>..FV....setlumamatrixverticalsize(from3to
63)(default5)
luma_amount<float>..FV....setlumaeffectstrength(from2to5)
(default1)
la<float>..FV....setlumaeffectstrength(from2to5)
(default1)
chroma_msize_x<int>..FV....setchromamatrixhorizontalsize(from
3to63)(default5)
cx<int>..FV....setchromamatrixhorizontalsize(from
3to63)(default5)
chroma_msize_y<int>..FV....setchromamatrixverticalsize(from3
to63)(default5)
cy<int>..FV....setchromamatrixverticalsize(from3
to63)(default5)
chroma_amount<float>..FV....setchromaeffectstrength(from2to
5)(default0)
ca<float>..FV....setchromaeffectstrength(from2to
5)(default0)
opencl<boolean>..FV....useOpenCLfilteringcapabilities
(defaultfalse)
usppAVOptions:
quality<int>..FV....setquality(from0to8)(default3)
qp<int>..FV....forceaconstantquantizerparameter
(from0to63)(default0)
use_bframe_qp<boolean>..FV....useBframes'QP(defaultfalse)
vaguedenoiserAVOptions:
threshold<float>..FV....setfilteringstrength(from0to
DBL_MAX)(default2)
method<int>..FV....setfilteringmethod(from0to2)
(defaultgarrote)
hard..FV....hardthresholding
soft..FV....softthresholding
garrote..FV....garottethresholding
nsteps<int>..FV....setnumberofsteps(from1to32)
(default6)
percent<float>..FV....setpercentoffulldenoising(from0to
100)(default85)
planes<int>..FV....setplanestofilter(from0to15)
(default15)
Page240

ffmpegcommandoptions(full).txt
vectorscopeAVOptions:
mode<int>..FV....setvectorscopemode(from0to5)
(defaultgray)
gray..FV....
color..FV....
color2..FV....
color3..FV....
color4..FV....
color5..FV....
m<int>..FV....setvectorscopemode(from0to5)
(defaultgray)
gray..FV....
color..FV....
color2..FV....
color3..FV....
color4..FV....
color5..FV....
x<int>..FV....setcolorcomponentonXaxis(from0to
2)(default1)
y<int>..FV....setcolorcomponentonYaxis(from0to
2)(default2)
intensity<float>..FV....setintensity(from0to1)(default
0.004)
i<float>..FV....setintensity(from0to1)(default
0.004)
envelope<int>..FV....setenvelope(from0to3)(default
none)
none..FV....
instant..FV....
peak..FV....
peak+instant..FV....
e<int>..FV....setenvelope(from0to3)(default
none)
none..FV....
instant..FV....
peak..FV....
peak+instant..FV....
graticule<int>..FV....setgraticule(from0to2)(default
none)
none..FV....
green..FV....
color..FV....
g<int>..FV....setgraticule(from0to2)(default
none)
none..FV....
green..FV....
color..FV....
opacity<float>..FV....setgraticuleopacity(from0to1)
Page241

ffmpegcommandoptions(full).txt
(default0.75)
o<float>..FV....setgraticuleopacity(from0to1)
(default0.75)
flags<flags>..FV....setgraticuleflags(defaultname)
white..FV....drawwhitepoint
black..FV....drawblackpoint
name..FV....drawpointname
f<flags>..FV....setgraticuleflags(defaultname)
white..FV....drawwhitepoint
black..FV....drawblackpoint
name..FV....drawpointname
bgopacity<float>..FV....setbackgroundopacity(from0to1)
(default0.3)
b<float>..FV....setbackgroundopacity(from0to1)
(default0.3)
lthreshold<float>..FV....setlowthreshold(from0to1)(default
0)
l<float>..FV....setlowthreshold(from0to1)(default
0)
hthreshold<float>..FV....sethighthreshold(from0to1)
(default1)
h<float>..FV....sethighthreshold(from0to1)
(default1)
colorspace<int>..FV....setcolorspace(from0to2)(default
auto)
auto..FV....
601..FV....
709..FV....
c<int>..FV....setcolorspace(from0to2)(default
auto)
auto..FV....
601..FV....
709..FV....
vflipAVOptions:
vidstabdetectAVOptions:
result<string>..FV....pathtothefileusedtowritethe
transforms(default"transforms.trf")
shakiness<int>..FV....howshakyisthevideoandhowquickis
thecamera?1:little(fast)10:verystrong/quick(slow)(from1to10)(default
5)
accuracy<int>..FV....(>=shakiness)1:low15:high(slow)
(from1to15)(default15)
stepsize<int>..FV....regionaroundminimumisscannedwith1
pixelresolution(from1to32)(default6)
mincontrast<double>..FV....belowthiscontrastafieldisdiscarded
(01)(from0to1)(default0.25)
Page242

ffmpegcommandoptions(full).txt
show<int>..FV....0:drawnothing;1,2:showfieldsand
transforms(from0to2)(default0)
tripod<int>..FV....virtualtripodmode(if>0):motionis
comparedtoareferencereferenceframe(frame#isthevalue)(from0toINT_MAX)
(default0)
vidstabtransformAVOptions:
input<string>..FV....setpathtothefilestoringthe
transforms(default"transforms.trf")
smoothing<int>..FV....setnumberofframes*2+1usedfor
lowpassfiltering(from0to1000)(default15)
optalgo<int>..FV....setcamerapathoptimizationalgo(from
0to2)(defaultopt)
opt..FV....globaloptimization
gauss..FV....gaussiankernel
avg..FV....simpleaveragingonmotion
maxshift<int>..FV....setmaximalnumberofpixelsto
translateimage(from1to500)(default1)
maxangle<double>..FV....setmaximalangleinradtorotateimage
(from1to3.14)(default1)
crop<int>..FV....setcroppingmode(from0to1)(default
keep)
keep..FV....keepborder
black..FV....blackborder
invert<int>..FV....inverttransforms(from0to1)(default
0)
relative<int>..FV....considertransformsasrelative(from0
to1)(default1)
zoom<double>..FV....setpercentagetozoom(>0:zoomin,<0:
zoomout(from100to100)(default0)
optzoom<int>..FV....setoptimalzoom(0:nothing,1:optimal
staticzoom,2:optimaldynamiczoom)(from0to2)(default1)
zoomspeed<double>..FV....foradativezoom:percenttozoom
maximallyeachframe(from0to5)(default0.25)
interpol<int>..FV....settypeofinterpolation(from0to3)
(defaultbilinear)
no..FV....nointerpolation
linear..FV....linear(horizontal)
bilinear..FV....bilinear
bicubic..FV....bicubic
tripod<boolean>..FV....enablevirtualtripodmode(sameas
relative=0:smoothing=0)(defaultfalse)
debug<boolean>..FV....enabledebugmodeandwriterglobal
motionsinformationtofile(defaultfalse)
vignetteAVOptions:
angle<string>..FV....setlensangle(default"PI/5")
a<string>..FV....setlensangle(default"PI/5")
Page243

ffmpegcommandoptions(full).txt
x0<string>..FV....setcirclecenterpositiononxaxis
(default"w/2")
y0<string>..FV....setcirclecenterpositiononyaxis
(default"h/2")
mode<int>..FV....setforward/backwardmode(from0to1)
(defaultforward)
forward..FV....
backward..FV....
eval<int>..FV....specifywhentoevaluateexpressions
(from0to1)(defaultinit)
init..FV....evalexpressionsonceduring
initialization
frame..FV....evalexpressionsforeachframe
dither<boolean>..FV....setdithering(defaulttrue)
aspect<rational>..FV....setaspectratio(from0toDBL_MAX)
(default1/1)
vstackAVOptions:
inputs<int>..FV....setnumberofinputs(from2toINT_MAX)
(default2)
shortest<boolean>..FV....forceterminationwhentheshortest
inputterminates(defaultfalse)
w3fdifAVOptions:
filter<int>..FV....specifythefilter(from0to1)
(defaultcomplex)
simple..FV....
complex..FV....
deint<int>..FV....specifywhichframestodeinterlace
(from0to1)(defaultall)
all..FV....deinterlaceallframes
interlaced..FV....onlydeinterlaceframesmarkedas
interlaced
waveformAVOptions:
mode<int>..FV....setmode(from0to1)(defaultcolumn)
row..FV....
column..FV....
m<int>..FV....setmode(from0to1)(defaultcolumn)
row..FV....
column..FV....
intensity<float>..FV....setintensity(from0to1)(default
0.04)
i<float>..FV....setintensity(from0to1)(default
0.04)
mirror<boolean>..FV....setmirroring(defaulttrue)
r<boolean>..FV....setmirroring(defaulttrue)
display<int>..FV....setdisplaymode(from0to2)(default
Page244

ffmpegcommandoptions(full).txt
stack)
overlay..FV....
stack..FV....
parade..FV....
d<int>..FV....setdisplaymode(from0to2)(default
stack)
overlay..FV....
stack..FV....
parade..FV....
components<int>..FV....setcomponentstodisplay(from1to15)
(default1)
c<int>..FV....setcomponentstodisplay(from1to15)
(default1)
envelope<int>..FV....setenvelopetodisplay(from0to3)
(defaultnone)
none..FV....
instant..FV....
peak..FV....
peak+instant..FV....
e<int>..FV....setenvelopetodisplay(from0to3)
(defaultnone)
none..FV....
instant..FV....
peak..FV....
peak+instant..FV....
filter<int>..FV....setfilter(from0to5)(default
lowpass)
lowpass..FV....
flat..FV....
aflat..FV....
chroma..FV....
color..FV....
acolor..FV....
f<int>..FV....setfilter(from0to5)(default
lowpass)
lowpass..FV....
flat..FV....
aflat..FV....
chroma..FV....
color..FV....
acolor..FV....
graticule<int>..FV....setgraticule(from0to1)(default
none)
none..FV....
green..FV....
g<int>..FV....setgraticule(from0to1)(default
none)
none..FV....
Page245

ffmpegcommandoptions(full).txt
green..FV....
opacity<float>..FV....setgraticuleopacity(from0to1)
(default0.75)
o<float>..FV....setgraticuleopacity(from0to1)
(default0.75)
flags<flags>..FV....setgraticuleflags(defaultnumbers)
numbers..FV....drawnumbers
dots..FV....drawdotsinsteadoflines
fl<flags>..FV....setgraticuleflags(defaultnumbers)
numbers..FV....drawnumbers
dots..FV....drawdotsinsteadoflines
scale<int>..FV....setscale(from0to2)(default
digital)
digital..FV....
millivolts..FV....
ire..FV....
s<int>..FV....setscale(from0to2)(default
digital)
digital..FV....
millivolts..FV....
ire..FV....
xbrAVOptions:
n<int>..FV....setscalefactor(from2to4)(default
3)
yadifAVOptions:
mode<int>..FV....specifytheinterlacingmode(from0to
3)(defaultsend_frame)
send_frame..FV....sendoneframeforeachframe
send_field..FV....sendoneframeforeachfield
send_frame_nospatial..FV....sendoneframeforeachframe,but
skipspatialinterlacingcheck
send_field_nospatial..FV....sendoneframeforeachfield,but
skipspatialinterlacingcheck
parity<int>..FV....specifytheassumedpicturefieldparity
(from1to1)(defaultauto)
tff..FV....assumetopfieldfirst
bff..FV....assumebottomfieldfirst
auto..FV....autodetectparity
deint<int>..FV....specifywhichframestodeinterlace
(from0to1)(defaultall)
all..FV....deinterlaceallframes
interlaced..FV....onlydeinterlaceframesmarkedas
interlaced
zoompanAVOptions:
zoom<string>..FV....setthezoomexpression(default"1")
Page246

ffmpegcommandoptions(full).txt
z<string>..FV....setthezoomexpression(default"1")
x<string>..FV....setthexexpression(default"0")
y<string>..FV....settheyexpression(default"0")
d<string>..FV....setthedurationexpression(default
"90")
s<image_size>..FV....settheoutputimagesize(default
"hd720")
fps<video_rate>..FV....settheoutputframerate(default"25")
zscaleAVOptions:
w<string>..FV....Outputvideowidth
width<string>..FV....Outputvideowidth
h<string>..FV....Outputvideoheight
height<string>..FV....Outputvideoheight
size<string>..FV....setvideosize
s<string>..FV....setvideosize
dither<int>..FV....setdithertype(from0to3)(default
none)
none..FV....
ordered..FV....
random..FV....
error_diffusion..FV....
d<int>..FV....setdithertype(from0to3)(default
none)
none..FV....
ordered..FV....
random..FV....
error_diffusion..FV....
filter<int>..FV....setfiltertype(from0to5)(default
bilinear)
point..FV....
bilinear..FV....
bicubic..FV....
spline16..FV....
spline36..FV....
lanczos..FV....
f<int>..FV....setfiltertype(from0to5)(default
bilinear)
point..FV....
bilinear..FV....
bicubic..FV....
spline16..FV....
spline36..FV....
lanczos..FV....
range<int>..FV....setcolorrange(from1to1)(default
input)
input..FV....
limited..FV....
Page247

ffmpegcommandoptions(full).txt
full..FV....
r<int>..FV....setcolorrange(from1to1)(default
input)
input..FV....
limited..FV....
full..FV....
primaries<int>..FV....setcolorprimaries(from1to9)
(defaultinput)
input..FV....
709..FV....
unspecified..FV....
170m..FV....
240m..FV....
2020..FV....
p<int>..FV....setcolorprimaries(from1to9)
(defaultinput)
input..FV....
709..FV....
unspecified..FV....
170m..FV....
240m..FV....
2020..FV....
transfer<int>..FV....settransfercharacteristic(from1to
15)(defaultinput)
input..FV....
709..FV....
unspecified..FV....
601..FV....
linear..FV....
2020_10..FV....
2020_12..FV....
t<int>..FV....settransfercharacteristic(from1to
15)(defaultinput)
input..FV....
709..FV....
unspecified..FV....
601..FV....
linear..FV....
2020_10..FV....
2020_12..FV....
matrix<int>..FV....setcolorspacematrix(from1to10)
(defaultinput)
input..FV....
709..FV....
unspecified..FV....
470bg..FV....
170m..FV....
ycgco..FV....
Page248

ffmpegcommandoptions(full).txt
2020_ncl..FV....
2020_cl..FV....
m<int>..FV....setcolorspacematrix(from1to10)
(defaultinput)
input..FV....
709..FV....
unspecified..FV....
470bg..FV....
170m..FV....
ycgco..FV....
2020_ncl..FV....
2020_cl..FV....
rangein<int>..FV....setinputcolorrange(from1to1)
(defaultinput)
input..FV....
limited..FV....
full..FV....
rin<int>..FV....setinputcolorrange(from1to1)
(defaultinput)
input..FV....
limited..FV....
full..FV....
primariesin<int>..FV....setinputcolorprimaries(from1to9)
(defaultinput)
input..FV....
709..FV....
unspecified..FV....
170m..FV....
240m..FV....
2020..FV....
pin<int>..FV....setinputcolorprimaries(from1to9)
(defaultinput)
input..FV....
709..FV....
unspecified..FV....
170m..FV....
240m..FV....
2020..FV....
transferin<int>..FV....setinputtransfercharacteristic(from
1to15)(defaultinput)
input..FV....
709..FV....
unspecified..FV....
601..FV....
linear..FV....
2020_10..FV....
2020_12..FV....
tin<int>..FV....setinputtransfercharacteristic(from
Page249

ffmpegcommandoptions(full).txt
1to15)(defaultinput)
input..FV....
709..FV....
unspecified..FV....
601..FV....
linear..FV....
2020_10..FV....
2020_12..FV....
matrixin<int>..FV....setinputcolorspacematrix(from1to
10)(defaultinput)
input..FV....
709..FV....
unspecified..FV....
470bg..FV....
170m..FV....
ycgco..FV....
2020_ncl..FV....
2020_cl..FV....
min<int>..FV....setinputcolorspacematrix(from1to
10)(defaultinput)
input..FV....
709..FV....
unspecified..FV....
470bg..FV....
170m..FV....
ycgco..FV....
2020_ncl..FV....
2020_cl..FV....
allrgbAVOptions:
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
duration<duration>..FV....setvideoduration(default0.000001)
d<duration>..FV....setvideoduration(default0.000001)
sar<rational>..FV....setvideosampleaspectratio(from0to
INT_MAX)(default1/1)
allyuvAVOptions:
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
duration<duration>..FV....setvideoduration(default0.000001)
d<duration>..FV....setvideoduration(default0.000001)
sar<rational>..FV....setvideosampleaspectratio(from0to
INT_MAX)(default1/1)
cellautoAVOptions:
filename<string>..FV....readinitialpatternfromfile
f<string>..FV....readinitialpatternfromfile
Page250

ffmpegcommandoptions(full).txt
pattern<string>..FV....setinitialpattern
p<string>..FV....setinitialpattern
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
size<image_size>..FV....setvideosize
s<image_size>..FV....setvideosize
rule<int>..FV....setrule(from0to255)(default110)
random_fill_ratio<double>..FV....setfillratioforfillinginitialgrid
randomly(from0to1)(default0.618034)
ratio<double>..FV....setfillratioforfillinginitialgrid
randomly(from0to1)(default0.618034)
random_seed<int>..FV....settheseedforfillingtheinitial
gridrandomly(from1toUINT32_MAX)(default1)
seed<int>..FV....settheseedforfillingtheinitial
gridrandomly(from1toUINT32_MAX)(default1)
scroll<boolean>..FV....scrollpatterndownward(defaulttrue)
start_full<boolean>..FV....startfillingthewholevideo(default
false)
full<boolean>..FV....startfillingthewholevideo(default
true)
stitch<boolean>..FV....stitchboundaries(defaulttrue)
colorAVOptions:
color<color>..FV....setcolor(default"black")
c<color>..FV....setcolor(default"black")
size<image_size>..FV....setvideosize(default"320x240")
s<image_size>..FV....setvideosize(default"320x240")
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
duration<duration>..FV....setvideoduration(default0.000001)
d<duration>..FV....setvideoduration(default0.000001)
sar<rational>..FV....setvideosampleaspectratio(from0to
INT_MAX)(default1/1)
frei0r_srcAVOptions:
size<image_size>..FV....Dimensionsofthegeneratedvideo.
(default"320x240")
framerate<video_rate>..FV....(default"25")
filter_name<string>..FV....
filter_params<string>..FV....
haldclutsrcAVOptions:
level<int>..FV....setlevel(from2to8)(default6)
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
duration<duration>..FV....setvideoduration(default0.000001)
d<duration>..FV....setvideoduration(default0.000001)
sar<rational>..FV....setvideosampleaspectratio(from0to
Page251

ffmpegcommandoptions(full).txt
INT_MAX)(default1/1)
lifeAVOptions:
filename<string>..FV....setsourcefile
f<string>..FV....setsourcefile
size<image_size>..FV....setvideosize
s<image_size>..FV....setvideosize
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
rule<string>..FV....setrule(default"B3/S23")
random_fill_ratio<double>..FV....setfillratioforfillinginitialgrid
randomly(from0to1)(default0.618034)
ratio<double>..FV....setfillratioforfillinginitialgrid
randomly(from0to1)(default0.618034)
random_seed<int>..FV....settheseedforfillingtheinitial
gridrandomly(from1toUINT32_MAX)(default1)
seed<int>..FV....settheseedforfillingtheinitial
gridrandomly(from1toUINT32_MAX)(default1)
stitch<boolean>..FV....stitchboundaries(defaulttrue)
mold<int>..FV....setmoldspeedfordeadcells(from0to
255)(default0)
life_color<color>..FV....setlifecolor(default"white")
death_color<color>..FV....setdeathcolor(default"black")
mold_color<color>..FV....setmoldcolor(default"black")
mandelbrotAVOptions:
size<image_size>..FV....setframesize(default"640x480")
s<image_size>..FV....setframesize(default"640x480")
rate<video_rate>..FV....setframerate(default"25")
r<video_rate>..FV....setframerate(default"25")
maxiter<int>..FV....setmaxiterationsnumber(from1to
INT_MAX)(default7189)
start_x<double>..FV....settheinitialxposition(from100to
100)(default0.743644)
start_y<double>..FV....settheinitialyposition(from100to
100)(default0.131826)
start_scale<double>..FV....settheinitialscalevalue(from0to
FLT_MAX)(default3)
end_scale<double>..FV....settheterminalscalevalue(from0to
FLT_MAX)(default0.3)
end_pts<double>..FV....settheterminalptsvalue(from0to
I64_MAX)(default400)
bailout<double>..FV....setthebailoutvalue(from0to
FLT_MAX)(default10)
morphxf<double>..FV....setmorphxfrequency(fromFLT_MAXto
FLT_MAX)(default0.01)
morphyf<double>..FV....setmorphyfrequency(fromFLT_MAXto
FLT_MAX)(default0.0123)
Page252

ffmpegcommandoptions(full).txt
morphamp<double>..FV....setmorphamplitude(fromFLT_MAXto
FLT_MAX)(default0)
outer<int>..FV....setoutercoloringmode(from0to
INT_MAX)(defaultnormalized_iteration_count)
iteration_count..FV....setiterationcountmode
normalized_iteration_count..FV....setnormalizediteration
countmode
white..FV....setwhitemode
outz..FV....setoutzmode
inner<int>..FV....setinnercoloringmode(from0to
INT_MAX)(defaultmincol)
black..FV....setblackmode
period..FV....setperiodmode
convergence..FV....showtimeuntilconvergence
mincol..FV....colorbasedonpointclosesttothe
originoftheiterations
mptestsrcAVOptions:
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
duration<duration>..FV....setvideoduration(default0.000001)
d<duration>..FV....setvideoduration(default0.000001)
test<int>..FV....settesttoperform(from0toINT_MAX)
(defaultall)
dc_luma..FV....
dc_chroma..FV....
freq_luma..FV....
freq_chroma..FV....
amp_luma..FV....
amp_chroma..FV....
cbp..FV....
mv..FV....
ring1..FV....
ring2..FV....
all..FV....
t<int>..FV....settesttoperform(from0toINT_MAX)
(defaultall)
dc_luma..FV....
dc_chroma..FV....
freq_luma..FV....
freq_chroma..FV....
amp_luma..FV....
amp_chroma..FV....
cbp..FV....
mv..FV....
ring1..FV....
ring2..FV....
all..FV....
Page253

ffmpegcommandoptions(full).txt
nullsrcAVOptions:
size<image_size>..FV....setvideosize(default"320x240")
s<image_size>..FV....setvideosize(default"320x240")
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
duration<duration>..FV....setvideoduration(default0.000001)
d<duration>..FV....setvideoduration(default0.000001)
sar<rational>..FV....setvideosampleaspectratio(from0to
INT_MAX)(default1/1)
rgbtestsrcAVOptions:
size<image_size>..FV....setvideosize(default"320x240")
s<image_size>..FV....setvideosize(default"320x240")
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
duration<duration>..FV....setvideoduration(default0.000001)
d<duration>..FV....setvideoduration(default0.000001)
sar<rational>..FV....setvideosampleaspectratio(from0to
INT_MAX)(default1/1)
smptebarsAVOptions:
size<image_size>..FV....setvideosize(default"320x240")
s<image_size>..FV....setvideosize(default"320x240")
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
duration<duration>..FV....setvideoduration(default0.000001)
d<duration>..FV....setvideoduration(default0.000001)
sar<rational>..FV....setvideosampleaspectratio(from0to
INT_MAX)(default1/1)
smptehdbarsAVOptions:
size<image_size>..FV....setvideosize(default"320x240")
s<image_size>..FV....setvideosize(default"320x240")
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
duration<duration>..FV....setvideoduration(default0.000001)
d<duration>..FV....setvideoduration(default0.000001)
sar<rational>..FV....setvideosampleaspectratio(from0to
INT_MAX)(default1/1)
testsrcAVOptions:
size<image_size>..FV....setvideosize(default"320x240")
s<image_size>..FV....setvideosize(default"320x240")
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
duration<duration>..FV....setvideoduration(default0.000001)
d<duration>..FV....setvideoduration(default0.000001)
Page254

ffmpegcommandoptions(full).txt
sar<rational>..FV....setvideosampleaspectratio(from0to
INT_MAX)(default1/1)
decimals<int>..FV....setnumberofdecimalstoshow(from0
to17)(default0)
n<int>..FV....setnumberofdecimalstoshow(from0
to17)(default0)
testsrc2AVOptions:
size<image_size>..FV....setvideosize(default"320x240")
s<image_size>..FV....setvideosize(default"320x240")
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
duration<duration>..FV....setvideoduration(default0.000001)
d<duration>..FV....setvideoduration(default0.000001)
sar<rational>..FV....setvideosampleaspectratio(from0to
INT_MAX)(default1/1)
yuvtestsrcAVOptions:
size<image_size>..FV....setvideosize(default"320x240")
s<image_size>..FV....setvideosize(default"320x240")
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
duration<duration>..FV....setvideoduration(default0.000001)
d<duration>..FV....setvideoduration(default0.000001)
sar<rational>..FV....setvideosampleaspectratio(from0to
INT_MAX)(default1/1)
adrawgraphAVOptions:
m1<string>..FV....set1stmetadatakey(default"")
fg1<string>..FV....set1stforegroundcolorexpression
(default"0xffff0000")
m2<string>..FV....set2ndmetadatakey(default"")
fg2<string>..FV....set2ndforegroundcolorexpression
(default"0xff00ff00")
m3<string>..FV....set3rdmetadatakey(default"")
fg3<string>..FV....set3rdforegroundcolorexpression
(default"0xffff00ff")
m4<string>..FV....set4thmetadatakey(default"")
fg4<string>..FV....set4thforegroundcolorexpression
(default"0xffffff00")
bg<color>..FV....setbackgroundcolor(default"white")
min<float>..FV....setminimalvalue(fromINT_MINto
INT_MAX)(default1)
max<float>..FV....setmaximalvalue(fromINT_MINto
INT_MAX)(default1)
mode<int>..FV....setgraphmode(from0to2)(default
line)
bar..FV....drawbars
Page255

ffmpegcommandoptions(full).txt
dot..FV....drawdots
line..FV....drawlines
slide<int>..FV....setslidemode(from0to4)(default
frame)
frame..FV....drawnewframes
replace..FV....replaceoldcolumnswithnew
scroll..FV....scrollfromrighttoleft
rscroll..FV....scrollfromlefttoright
picture..FV....displaygraphinsingleframe
size<image_size>..FV....setgraphsize(default"900x256")
s<image_size>..FV....setgraphsize(default"900x256")
ahistogramAVOptions:
dmode<int>..FV....setmethodtodisplaychannels(from0
to1)(defaultsingle)
single..FV....allchannelsusesinglehistogram
separate..FV....eachchannelhaveownhistogram
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
size<image_size>..FV....setvideosize(default"hd720")
s<image_size>..FV....setvideosize(default"hd720")
scale<int>..FV....setdisplayscale(from0to4)(default
log)
log..FV....logarithmic
sqrt..FV....squareroot
cbrt..FV....cubicroot
lin..FV....linear
rlog..FV....reverselogarithmic
ascale<int>..FV....setamplitudescale(from0to1)
(defaultlog)
log..FV....logarithmic
lin..FV....linear
acount<int>..FV....howmuchframestoaccumulate(from1
to100)(default1)
rheight<float>..FV....sethistogramratioofwindowheight
(from0to1)(default0.1)
slide<int>..FV....setsonogramsliding(from0to1)
(defaultreplace)
replace..FV....replaceoldrowswithnew
scroll..FV....scrollfromtoptobottom
aphasemeterAVOptions:
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
size<image_size>..FV....setvideosize(default"800x400")
s<image_size>..FV....setvideosize(default"800x400")
rc<int>..FV....setredcontrast(from0to255)
(default2)
Page256

ffmpegcommandoptions(full).txt
gc<int>..FV....setgreencontrast(from0to255)
(default7)
bc<int>..FV....setbluecontrast(from0to255)
(default1)
mpc<string>..FV....setmedianphasecolor(default"none")
avectorscopeAVOptions:
mode<int>..FV....setmode(from0to2)(default
lissajous)
lissajous..FV....
lissajous_xy..FV....
polar..FV....
m<int>..FV....setmode(from0to2)(default
lissajous)
lissajous..FV....
lissajous_xy..FV....
polar..FV....
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
size<image_size>..FV....setvideosize(default"400x400")
s<image_size>..FV....setvideosize(default"400x400")
rc<int>..FV....setredcontrast(from0to255)
(default40)
gc<int>..FV....setgreencontrast(from0to255)
(default160)
bc<int>..FV....setbluecontrast(from0to255)
(default80)
ac<int>..FV....setalphacontrast(from0to255)
(default255)
rf<int>..FV....setredfade(from0to255)(default
15)
gf<int>..FV....setgreenfade(from0to255)(default
10)
bf<int>..FV....setbluefade(from0to255)(default
5)
af<int>..FV....setalphafade(from0to255)(default
5)
zoom<double>..FV....setzoomfactor(from1to10)(default
1)
draw<int>..FV....setdrawmode(from0to1)(default
dot)
dot..FV....
line..FV....
scale<int>..FV....setamplitudescalemode(from0to3)
(defaultlin)
lin..FV....linear
sqrt..FV....squareroot
cbrt..FV....cuberoot
Page257

ffmpegcommandoptions(full).txt
log..FV....logarithmic
concatAVOptions:
n<int>..FVA...specifythenumberofsegments(from1
toINT_MAX)(default2)
v<int>..FV....specifythenumberofvideostreams
(from0toINT_MAX)(default1)
a<int>..F.A...specifythenumberofaudiostreams
(from0toINT_MAX)(default0)
unsafe<boolean>..FVA...enableunsafemode(defaultfalse)
showcqtAVOptions:
size<image_size>..FV....setvideosize(default"1920x1080")
s<image_size>..FV....setvideosize(default"1920x1080")
fps<video_rate>..FV....setvideorate(default"25")
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
bar_h<int>..FV....setbargraphheight(from1toINT_MAX)
(default1)
axis_h<int>..FV....setaxisheight(from1toINT_MAX)
(default1)
sono_h<int>..FV....setsonogramheight(from1toINT_MAX)
(default1)
fullhd<boolean>..FV....setfullhdsize(defaulttrue)
sono_v<string>..FV....setsonogramvolume(default"16")
volume<string>..FV....setsonogramvolume(default"16")
bar_v<string>..FV....setbargraphvolume(default"sono_v")
volume2<string>..FV....setbargraphvolume(default"sono_v")
sono_g<float>..FV....setsonogramgamma(from1to7)
(default3)
gamma<float>..FV....setsonogramgamma(from1to7)
(default3)
bar_g<float>..FV....setbargraphgamma(from1to7)
(default1)
gamma2<float>..FV....setbargraphgamma(from1to7)
(default1)
timeclamp<double>..FV....settimeclamp(from0.1to1)(default
0.17)
tc<double>..FV....settimeclamp(from0.1to1)(default
0.17)
basefreq<double>..FV....setbasefrequency(from10to100000)
(default20.0152)
endfreq<double>..FV....setendfrequency(from10to100000)
(default20495.6)
coeffclamp<float>..FV....setcoeffclamp(from0.1to10)(default
1)
tlength<string>..FV....settlength(default
"384*tc/(384+tc*f)")
Page258

ffmpegcommandoptions(full).txt
count<int>..FV....settransformcount(from1to30)
(default6)
fcount<int>..FV....setfrequencycount(from0to10)
(default0)
fontfile<string>..FV....setaxisfont
fontcolor<string>..FV....setfontcolor(default"st(0,
(midi(f)59.5)/12);st(1,if(between(ld(0),0,1),0.50.5*cos(2*PI*ld(0)),
0));r(1ld(1))+b(ld(1))")
axisfile<string>..FV....setaxisimage
axis<boolean>..FV....drawaxis(defaulttrue)
text<boolean>..FV....drawaxis(defaulttrue)
showfreqsAVOptions:
size<image_size>..FV....setvideosize(default"1024x512")
s<image_size>..FV....setvideosize(default"1024x512")
mode<int>..FV....setdisplaymode(from0to2)(default
bar)
line..FV....showlines
bar..FV....showbars
dot..FV....showdots
ascale<int>..FV....setamplitudescale(from0to3)
(defaultlog)
lin..FV....linear
sqrt..FV....squareroot
cbrt..FV....cubicroot
log..FV....logarithmic
fscale<int>..FV....setfrequencyscale(from0to2)
(defaultlin)
lin..FV....linear
log..FV....logarithmic
rlog..FV....reverselogarithmic
win_size<int>..FV....setwindowsize(from4to16)(default
w2048)
w16..FV....
w32..FV....
w64..FV....
w128..FV....
w256..FV....
w512..FV....
w1024..FV....
w2048..FV....
w4096..FV....
w8192..FV....
w16384..FV....
w32768..FV....
w65536..FV....
win_func<int>..FV....setwindowfunction(from0to18)
(defaulthanning)
Page259

ffmpegcommandoptions(full).txt
rect..FV....Rectangular
bartlett..FV....Bartlett
hanning..FV....Hanning
hamming..FV....Hamming
blackman..FV....Blackman
welch..FV....Welch
flattop..FV....Flattop
bharris..FV....BlackmanHarris
bnuttall..FV....BlackmanNuttall
bhann..FV....BartlettHann
sine..FV....Sine
nuttall..FV....Nuttall
lanczos..FV....Lanczos
gauss..FV....Gauss
tukey..FV....Tukey
dolph..FV....DolphChebyshev
cauchy..FV....Cauchy
parzen..FV....Parzen
poisson..FV....Poisson
overlap<float>..FV....setwindowoverlap(from0to1)
(default1)
averaging<int>..FV....settimeaveraging(from0toINT_MAX)
(default1)
colors<string>..FV....setchannelscolors(default
"red|green|blue|yellow|orange|lime|pink|magenta|brown")
cmode<int>..FV....setchannelmode(from0to1)(default
combined)
combined..FV....showallchannelsinsamewindow
separate..FV....showeachchannelinownwindow
minamp<float>..FV....setminimumamplitude(fromFLT_MINto
1e006)(default1e006)
showspectrumAVOptions:
size<image_size>..FV....setvideosize(default"640x512")
s<image_size>..FV....setvideosize(default"640x512")
slide<int>..FV....setslidingmode(from0to3)(default
replace)
replace..FV....replaceoldcolumnswithnew
scroll..FV....scrollfromrighttoleft
rscroll..FV....scrollfromlefttoright
fullframe..FV....returnfullframes
mode<int>..FV....setchanneldisplaymode(from0to1)
(defaultcombined)
combined..FV....combinedmode
separate..FV....separatemode
color<int>..FV....setchannelcoloring(from0to8)
(defaultchannel)
channel..FV....separatecolorforeachchannel
Page260

ffmpegcommandoptions(full).txt
intensity..FV....intensitybasedcoloring
rainbow..FV....rainbowbasedcoloring
moreland..FV....morelandbasedcoloring
nebulae..FV....nebulaebasedcoloring
fire..FV....firebasedcoloring
fiery..FV....fierybasedcoloring
fruit..FV....fruitbasedcoloring
cool..FV....coolbasedcoloring
scale<int>..FV....setdisplayscale(from0to5)(default
sqrt)
sqrt..FV....squareroot
cbrt..FV....cubicroot
4thrt..FV....4throot
5thrt..FV....5throot
log..FV....logarithmic
lin..FV....linear
saturation<float>..FV....colorsaturationmultiplier(from10to
10)(default1)
win_func<int>..FV....setwindowfunction(from0to18)
(defaulthann)
rect..FV....Rectangular
bartlett..FV....Bartlett
hann..FV....Hann
hanning..FV....Hanning
hamming..FV....Hamming
blackman..FV....Blackman
welch..FV....Welch
flattop..FV....Flattop
bharris..FV....BlackmanHarris
bnuttall..FV....BlackmanNuttall
bhann..FV....BartlettHann
sine..FV....Sine
nuttall..FV....Nuttall
lanczos..FV....Lanczos
gauss..FV....Gauss
tukey..FV....Tukey
dolph..FV....DolphChebyshev
cauchy..FV....Cauchy
parzen..FV....Parzen
poisson..FV....Poisson
orientation<int>..FV....setorientation(from0to1)(default
vertical)
vertical..FV....
horizontal..FV....
overlap<float>..FV....setwindowoverlap(from0to1)
(default0)
gain<float>..FV....setscalegain(from0to128)(default
1)
Page261

ffmpegcommandoptions(full).txt
data<int>..FV....setdatamode(from0to1)(default
magnitude)
magnitude..FV....
phase..FV....
rotation<float>..FV....colorrotation(from1to1)(default
0)
showspectrumpicAVOptions:
size<image_size>..FV....setvideosize(default"4096x2048")
s<image_size>..FV....setvideosize(default"4096x2048")
mode<int>..FV....setchanneldisplaymode(from0to1)
(defaultcombined)
combined..FV....combinedmode
separate..FV....separatemode
color<int>..FV....setchannelcoloring(from0to8)
(defaultintensity)
channel..FV....separatecolorforeachchannel
intensity..FV....intensitybasedcoloring
rainbow..FV....rainbowbasedcoloring
moreland..FV....morelandbasedcoloring
nebulae..FV....nebulaebasedcoloring
fire..FV....firebasedcoloring
fiery..FV....fierybasedcoloring
fruit..FV....fruitbasedcoloring
cool..FV....coolbasedcoloring
scale<int>..FV....setdisplayscale(from0to5)(default
log)
sqrt..FV....squareroot
cbrt..FV....cubicroot
4thrt..FV....4throot
5thrt..FV....5throot
log..FV....logarithmic
lin..FV....linear
saturation<float>..FV....colorsaturationmultiplier(from10to
10)(default1)
win_func<int>..FV....setwindowfunction(from0to18)
(defaulthann)
rect..FV....Rectangular
bartlett..FV....Bartlett
hann..FV....Hann
hanning..FV....Hanning
hamming..FV....Hamming
blackman..FV....Blackman
welch..FV....Welch
flattop..FV....Flattop
bharris..FV....BlackmanHarris
bnuttall..FV....BlackmanNuttall
bhann..FV....BartlettHann
Page262

ffmpegcommandoptions(full).txt
sine..FV....Sine
nuttall..FV....Nuttall
lanczos..FV....Lanczos
gauss..FV....Gauss
tukey..FV....Tukey
dolph..FV....DolphChebyshev
cauchy..FV....Cauchy
parzen..FV....Parzen
poisson..FV....Poisson
orientation<int>..FV....setorientation(from0to1)(default
vertical)
vertical..FV....
horizontal..FV....
gain<float>..FV....setscalegain(from0to128)(default
1)
legend<boolean>..FV....drawlegend(defaulttrue)
rotation<float>..FV....colorrotation(from1to1)(default
0)
showvolumeAVOptions:
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
b<int>..FV....setborderwidth(from0to5)(default
1)
w<int>..FV....setchannelwidth(from80to8192)
(default400)
h<int>..FV....setchannelheight(from1to900)
(default20)
f<double>..FV....setfade(from0.001to1)(default
0.95)
c<string>..FV....setvolumecolorexpression(default
"PEAK*255+floor((1PEAK)*255)*256+0xff000000")
t<boolean>..FV....displaychannelnames(defaulttrue)
v<boolean>..FV....displayvolumevalue(defaulttrue)
o<int>..FV....setorientation(from0to1)(default
h)
h..FV....horizontal
v..FV....vertical
s<int>..FV....setstepsize(from0to5)(default0)
showwavesAVOptions:
size<image_size>..FV....setvideosize(default"600x240")
s<image_size>..FV....setvideosize(default"600x240")
mode<int>..FV....selectdisplaymode(from0to3)
(defaultpoint)
point..FV....drawapointforeachsample
line..FV....drawalineforeachsample
p2p..FV....drawalinebetweensamples
Page263

ffmpegcommandoptions(full).txt
cline..FV....drawacenteredlineforeachsample
n<int>..FV....sethowmanysamplestoshowinthesame
point(from0toINT_MAX)(default0)
rate<video_rate>..FV....setvideorate(default"25")
r<video_rate>..FV....setvideorate(default"25")
split_channels<boolean>..FV....drawchannelsseparately(defaultfalse)
colors<string>..FV....setchannelscolors(default
"red|green|blue|yellow|orange|lime|pink|magenta|brown")
scale<int>..FV....setamplitudescale(from0to3)
(defaultlin)
lin..FV....linear
log..FV....logarithmic
sqrt..FV....squareroot
cbrt..FV....cubicroot
showwavespicAVOptions:
size<image_size>..FV....setvideosize(default"600x240")
s<image_size>..FV....setvideosize(default"600x240")
split_channels<boolean>..FV....drawchannelsseparately(defaultfalse)
colors<string>..FV....setchannelscolors(default
"red|green|blue|yellow|orange|lime|pink|magenta|brown")
scale<int>..FV....setamplitudescale(from0to3)
(defaultlin)
lin..FV....linear
log..FV....logarithmic
spectrumsynthAVOptions:
sample_rate<int>..F.A...setsamplerate(from15toINT_MAX)
(default44100)
channels<int>..F.A...setchannels(from1to8)(default1)
scale<int>..FV....setinputamplitudescale(from0to1)
(defaultlog)
lin..FV....linear
log..FV....logarithmic
slide<int>..FV....setinputslidingmode(from0to3)
(defaultfullframe)
replace..FV....consumeoldcolumnswithnew
scroll..FV....consumeonlymostrightcolumn
fullframe..FV....consumefullframes
rscroll..FV....consumeonlymostleftcolumn
win_func<int>..F.A...setwindowfunction(from0to18)
(defaultrect)
rect..F.A...Rectangular
bartlett..F.A...Bartlett
hann..F.A...Hann
hanning..F.A...Hanning
hamming..F.A...Hamming
sine..F.A...Sine
Page264

ffmpegcommandoptions(full).txt
overlap<float>..F.A...setwindowoverlap(from0to1)
(default1)
orientation<int>..FV....setorientation(from0to1)(default
vertical)
vertical..FV....
horizontal..FV....
amovieAVOptions:
filename<string>..FVA...
format_name<string>..FVA...setformatname
f<string>..FVA...setformatname
stream_index<int>..FVA...setstreamindex(from1toINT_MAX)
(default1)
si<int>..FVA...setstreamindex(from1toINT_MAX)
(default1)
seek_point<double>..FVA...setseekpoint(seconds)(from0to
9.22337e+012)(default0)
sp<double>..FVA...setseekpoint(seconds)(from0to
9.22337e+012)(default0)
streams<string>..FVA...setstreams
s<string>..FVA...setstreams
loop<int>..FVA...setloopcount(from0toINT_MAX)
(default1)
discontinuity<duration>..FVA...setdiscontinuitythreshold(default0)
movieAVOptions:
filename<string>..FVA...
format_name<string>..FVA...setformatname
f<string>..FVA...setformatname
stream_index<int>..FVA...setstreamindex(from1toINT_MAX)
(default1)
si<int>..FVA...setstreamindex(from1toINT_MAX)
(default1)
seek_point<double>..FVA...setseekpoint(seconds)(from0to
9.22337e+012)(default0)
sp<double>..FVA...setseekpoint(seconds)(from0to
9.22337e+012)(default0)
streams<string>..FVA...setstreams
s<string>..FVA...setstreams
loop<int>..FVA...setloopcount(from0toINT_MAX)
(default1)
discontinuity<duration>..FVA...setdiscontinuitythreshold(default0)
abufferAVOptions:
time_base<rational>..F.A...(from0toINT_MAX)(default0/1)
sample_rate<int>..F.A...(from0toINT_MAX)(default0)
sample_fmt<sample_fmt>..F.A...(defaultnone)
channel_layout<string>..F.A...
Page265

ffmpegcommandoptions(full).txt
channels<int>..F.A...(from0toINT_MAX)(default0)
bufferAVOptions:
width<int>..FV....(from0toINT_MAX)(default0)
video_size<image_size>..FV....
height<int>..FV....(from0toINT_MAX)(default0)
pix_fmt<pix_fmt>..FV....(defaultnone)
time_base_num<int>..FV....deprecated,donotuse(from0to
INT_MAX)(default0)
time_base_den<int>..FV....deprecated,donotuse(from0to
INT_MAX)(default0)
sar_num<int>..FV....deprecated,donotuse(from0to
INT_MAX)(default0)
sar_den<int>..FV....deprecated,donotuse(from0to
INT_MAX)(default0)
sar<rational>..FV....sampleaspectratio(from0toDBL_MAX)
(default0/1)
pixel_aspect<rational>..FV....sampleaspectratio(from0toDBL_MAX)
(default0/1)
time_base<rational>..FV....(from0toDBL_MAX)(default0/1)
frame_rate<rational>..FV....(from0toDBL_MAX)(default0/1)
sws_param<string>..FV....
abuffersinkAVOptions:
sample_fmts<binary>..FV....setthesupportedsampleformats
sample_rates<binary>..FV....setthesupportedsamplerates
channel_layouts<binary>..FV....setthesupportedchannellayouts
channel_counts<binary>..FV....setthesupportedchannelcounts
all_channel_counts<boolean>..FV....acceptallchannelcounts(default
false)
buffersinkAVOptions:
pix_fmts<binary>..FV....setthesupportedpixelformats

Page266

Potrebbero piacerti anche