您的位置:首页 > 其它

ffmpeg参数详细解释(源自ffmpeg.c)

2009-09-28 09:40 399 查看
main options 
Lshow license
hshow help
versionshow version
formatsshow available formats codecs protocols …
fforce format
iinput file name
yoverwrite output files
mapset input stream mapping
map_meta_dataset meta data information of outfile from infile
trecord or transcode /"duration/seconds of audio/video
fsset the limit file size in bytes
ssset the start time offset
itsoffsetset the input ts offset
itsscaleset the input ts scale
timestampset the timestamp ('now' to set the current time)
metadataadd metadata
dframesset the number of data frames to record
benchmark 
dump 
hex 
reread input at native frame rate
loop_inputloop (current only works with images)
loop_outputnumber of times to loop output in formats that support looping (0 loops forever)
vset ffmpeg verbosity level
loglevelset libav* logging level
targetspecify target file type (/"vcd/ /"svcd/ /"dvd/ /"dv/ /"dv50/ /"pal-vcd/ /"ntsc-svcd/ ...)
threadsthread count
vsyncvideo sync method
asyncaudio sync method
adrift_thresholdaudio drift threshold
vglobalvideo global header storage type
copytscopy timestamps
shortestfinish encoding within shortest input
dts_delta_thresholdtimestamp discontinuity delta threshold
programiddesired program number
xerrorexit on error
copyinkfcopy initial non-keyframes
  
video options 
bset bitrate (in bits/s)
vbset bitrate (in bits/s)
vframesset the number of video frames to record
rset frame rate (Hz value fraction or abbreviation)
sset frame size (WxH or abbreviation)
aspectset aspect ratio (4:3 16:9 or 1.3333 1.7777)
pix_fmtset pixel format 'list' as argument shows all the pixel formats supported
croptopset top crop band size (in pixels)
cropbottomset bottom crop band size (in pixels)
cropleftset left crop band size (in pixels)
croprightset right crop band size (in pixels)
padtopset top pad band size (in pixels)
padbottomset bottom pad band size (in pixels)
padleftset left pad band size (in pixels)
padrightset right pad band size (in pixels)
padcolorset color of pad bands (Hex 000000 thru FFFFFF)
intrause only intra frames"
vndisable video
vdtdiscard threshold
qscaleuse fixed video quantizer scale (VBR)
rc_overriderate control override for specific intervals
vcodecforce video codec ('copy' to copy stream)
me_thresholdmotion estimaton threshold
sameq 
passselect the pass number (1 or 2)
passlogfileselect two pass log file name prefix
deinterlace 
psnrcalculate PSNR of compressed frames
vstatsdump video coding statistics to file
vstats_filedump video coding statistics to file
intra_matrixspecify intra matrix coeffs
inter_matrixspecify inter matrix coeffs
toptop=1/bottom=0/auto=-1 field first
dcintra_dc_precision
vtagforce video tag/fourcc
newvideoadd a new video stream to the current output stream
qphist 
force_fpsforce the selected framerate disable the best supported framerate selection
  
audio options 
abset bitrate (in bits/s)
aframesset the number of audio frames to record
aqset audio quality (codec-specific)
arset audio sampling rate (in Hz)
acset number of audio channels
andisable audio
acodecforce audio codec ('copy' to copy stream)
atagforce audio tag/fourcc
volchange audio volume (256=normal)
newaudioadd a new audio stream to the current output stream
alangset the ISO 639 language code (3 letters) of the current audio stream
sample_fmtset sample format 'list' as argument shows all the sample formats supported
  
subtitle options 
sndisable subtitle
scodecforce subtitle codec ('copy' to copy stream)
newsubtitleadd a new subtitle stream to the current output stream
slangset the ISO 639 language code (3 letters) of the current subtitle stream
stagforce subtitle tag/fourcc
  
grab options 
vcset video grab channel (DV1394 only)
tvstdset television standard (NTSC PAL (SECAM))
isyncsync read on input
  
muxer options 
muxdelayset the maximum demux-decode delay
muxpreloadset the initial demux-decode delay
absf 
vbsf 
sbsf 
apreset the audio options to the indicated preset
vpreset the video options to the indicated preset
spreset the subtitle options to the indicated preset
defaultgeneric catch all option
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: