ffmpeg引數大全

2021-04-14 01:30:08 字數 3781 閱讀 7388

/* video options */

, "set bitrate (in bits/s)", "" },

, "set bitrate (in bits/s)", "" },

, "set the number of video frames to record", "number" },

, "set the number of data frames to record", "number" },

, "set frame rate (hz value, fraction or abbreviation)", "rate" },

, "set frame size (wxh or abbreviation)", "size" },

, "set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)", "aspect" },

, "set pixel format, 'list' as argument shows all the pixel formats supported", "format" },

, "set top crop band size (in pixels)", "size" },

, "set bottom crop band size (in pixels)", "size" },

, "set left crop band size (in pixels)", "size" },

, "set right crop band size (in pixels)", "size" },

, "set top pad band size (in pixels)", "size" },

, "set bottom pad band size (in pixels)", "size" },

, "set left pad band size (in pixels)", "size" },

, "set right pad band size (in pixels)", "size" },

, "set color of pad bands (hex 000000 thru ffffff)", "color" },

, "use only intra frames"},

, "disable video" },

, "discard threshold", "n" },

, "use fixed video quantizer scale (vbr)", "q" },

, "max difference between the quantizer scale (vbr)", "q" },

, "rate control override for specific intervals", "override" },

, "force video codec ('copy' to copy stream)", "codec" },

, "motion estimaton threshold",  "" },

, "how strictly to follow the standards", "strictness" },

,"use same video quality as source (implies vbr)" },

, "select the pass number (1 or 2)", "n" },

, "select two pass log file name", "file" },

,"deinterlace pictures" },

, "calculate psnr of compressed frames" },

, "dump video coding statistics to file" },

, "dump video coding statistics to file", "file" },

#ifdef config_vhook

, "insert video processing module", "module" },

#endif

, "specify intra matrix coeffs", "matrix" },

, "specify inter matrix coeffs", "matrix" },

, "top=1/bottom=0/auto=-1 field first", "" },

, "intra_dc_precision", "precision" },

, "force video tag/fourcc", "fourcc/tag" },

, "add a new video stream to the current output stream" },

, "show qp histogram" },

/* audio options */

, "set bitrate (in bits/s)", "" },

, "set the number of audio frames to record", "number" },

, "set audio quality (codec-specific)", "quality", },

, "set audio sampling rate (in hz)", "rate" },

, "set number of audio channels", "channels" },

, "disable audio" },

, "force audio codec ('copy' to copy stream)", "codec" },

, "force audio tag/fourcc", "fourcc/tag" },

, "change audio volume (256=normal)" , "volume" }, //

, "add a new audio stream to the current output stream" },

, "set the iso 639 language code (3 letters) of the current audio stream" , "code" },

/* subtitle options */

, "disable subtitle" },

, "force subtitle codec ('copy' to copy stream)", "codec" },

, "add a new subtitle stream to the current output stream" },

, "set the iso 639 language code (3 letters) of the current subtitle stream" , "code" },

/* grab options */

, "set video grab channel (dv1394 only)", "channel" },

, "set television standard (ntsc, pal (secam))", "standard" },

, "sync read on input", "" },

/* muxer options */

, "set the maximum demux-decode delay", "seconds" },

, "set the initial demux-decode delay", "seconds" },

, "", "bitstream filter" },

, "", "bitstream filter" },

, "generic catch all option", "" },

ffmpeg引數詳解

使用 ffmpeg infile options i infile 如果沒有輸入檔案,那麼視音訊捕捉就會起作用。l 檢視許可證 h 顯示說明 version 顯示版本 formats 顯示可用的格式,編解碼器,協議 f fmt 輸出格式 i filename 輸入檔名稱 y 覆蓋輸出檔案 t dur...

ffmpeg常用引數

具體的錄音 螢幕錄製 格式轉換 抓取音訊的例子請看 我的另一篇blog,這裡記點引數備查。基本選項 formats 輸出所有可用格式 f fmt i filename 指定輸入檔名,在linux下當然也能指定 0.0 螢幕錄製 或攝像頭 y覆蓋已有檔案 t duration 記錄時長為t fs li...

ffmpeg引數中文詳細解釋

ffmpeg引數中文詳細解釋 a 通用選項 d 音訊選項 ab bitrate 設定音訊位元速率 ar freq 設定音訊取樣率 ac channels 設定通道 預設為1 an 不使能音訊紀錄 acodec codec 使用codec編譯碼 f 高階選項 map file stream 設定輸入流...