{"id":165,"date":"2009-12-30T12:29:28","date_gmt":"2009-12-30T12:29:28","guid":{"rendered":"http:\/\/kumouse.aafox.com\/?p=165"},"modified":"2009-12-30T12:29:28","modified_gmt":"2009-12-30T12:29:28","slug":"ffmpeg-%e4%b8%8e-mencode-%e4%bd%bf%e7%94%a8-mplayer-%e5%bd%95%e5%88%b6","status":"publish","type":"post","link":"https:\/\/www.kumouse.com\/?p=165","title":{"rendered":"ffmpeg \u4e0e mencode \u4f7f\u7528 mplayer \u5f55\u5236"},"content":{"rendered":"<p>\u5f55\u5c4f\u5e55<br \/>ffmpeg -f x11grab -s 686&#215;448 -r 10 -i :0.0+92,120 ~\/Desktop\/test.avi<\/p>\n<p>\u4f7f\u7528xwininfo -frame\u5f97\u5230\u7a97\u53e3\u5750\u6807<br \/>===============================================================<br \/>mplayer\u5f55\u5236\u7535\u5f71<\/p>\n<p>mkfifo \/dev\/shm\/xfifo<\/p>\n<p>mplayer mms:\/\/218.106.96.24\/cctv1 -dumpstream -dumpfile \/dev\/shm\/xfifo<\/p>\n<p>cat \/dev\/shm\/xfifo |tee \/tmp\/x.avi |mplayer -cache 8192 &#8211;<\/p>\n<p>================================================================<br \/>\u7528ffmpeg\u538b\u7f29\u7535\u5f71 \u8f6ch264 \u8fd9\u4e2a\u6bd4rmvb\u8981\u597d\u5440<\/p>\n<p>ffmpeg -threads 2 -i &quot;Ass For Free.wmv&quot; -r 29.97 -vcodec libx264 -s 720&#215;404 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 24 -bt 256k -refs 1 -coder 0 -me_method umh -me_range 16 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -acodec wmav2 -ab 128k -ar 44100 -ac 2 &quot;Ass For Free.avi&quot;<\/p>\n<p>\u97f3\u9891\u4e0d\u8981\u7528acc,0.0.5\u7684\u7248\u672cacc\u6709\u95ee\u9898,\u538b\u51fa\u7684\u7535\u5f71\u65f6\u95f4\u53d8\u957f<\/p>\n<p>=================================================================<br \/>\u7528mplayer\u5f55\u5236\u89c6\u9891<br \/>mplayer mms:\/\/202.***.***.***\/t1.asf -dumpstream -dumpfile MyMovie.asf <\/p>\n<p>==================================================================<br \/>\u628amplayer\u53ef\u4ee5\u64ad\u653e\u7684\u6587\u4ef6\u8f6c\u5316\u4e3aavi\u683c\u5f0f<br \/>mencoder yourfile.rm  -ovc copy -oac copy -o testOut.avi<\/p>\n<p>================================================================<br \/>\u628a\u6240\u6709\u97f3\u89c6\u9891\u6587\u4ef6\u8f6c\u5316\u4e3amp3\u6587\u4ef6<br \/>mplayer -vo null -ao pcm  music.wmv lame -h audiodump.wav music.mp3<\/p>\n<p>================================================================<\/p>\n<p>\u4ee5\u4e0b\u662f\u5b98\u65b9\u7684\u53c2\u6570\u8bf4\u660e:<\/p>\n<p>\u901a\u7528\u9009\u9879<\/p>\n<p>-L license<\/p>\n<p>-h \u5e2e\u52a9<\/p>\n<p>-fromats \u663e\u793a\u53ef\u7528\u7684\u683c\u5f0f\uff0c\u7f16\u89e3\u7801\u7684\uff0c\u534f\u8bae\u7684<\/p>\n<p>-f fmt \u5f3a\u8feb\u91c7\u7528\u683c\u5f0ffmt<\/p>\n<p>-I filename \u8f93\u5165\u6587\u4ef6<\/p>\n<p>-y \u8986\u76d6\u8f93\u51fa\u6587\u4ef6<\/p>\n<p>-t duration \u8bbe\u7f6e\u7eaa\u5f55\u65f6\u95f4 hh:mm:ss[.xxx]\u683c\u5f0f\u7684\u8bb0\u5f55\u65f6\u95f4\u4e5f\u652f\u6301<\/p>\n<p>-ss position \u641c\u7d22\u5230\u6307\u5b9a\u7684\u65f6\u95f4 [-]hh:mm:ss[.xxx]\u7684\u683c\u5f0f\u4e5f\u652f\u6301<\/p>\n<p>-title string \u8bbe\u7f6e\u6807\u9898<\/p>\n<p>-author string \u8bbe\u7f6e\u4f5c\u8005<\/p>\n<p>-copyright string \u8bbe\u7f6e\u7248\u6743<\/p>\n<p>-comment string \u8bbe\u7f6e\u8bc4\u8bba<\/p>\n<p>-target type \u8bbe\u7f6e\u76ee\u6807\u6587\u4ef6\u7c7b\u578b(vcd,svcd,dvd) \u6240\u6709\u7684\u683c\u5f0f\u9009\u9879\uff08\u6bd4\u7279\u7387\uff0c\u7f16\u89e3\u7801\u4ee5\u53ca\u7f13\u51b2\u533a\u5927\u5c0f\uff09\u81ea\u52a8\u8bbe\u7f6e \uff0c\u53ea\u9700\u8981\u8f93\u5165\u5982\u4e0b\u7684\u5c31\u53ef\u4ee5\u4e86\uff1a<\/p>\n<p>ffmpeg -i myfile.avi -target vcd \/tmp\/vcd.mpg<\/p>\n<p>-hq \u6fc0\u6d3b\u9ad8\u8d28\u91cf\u8bbe\u7f6e<\/p>\n<p>-itsoffset offset \u8bbe\u7f6e\u4ee5\u79d2\u4e3a\u57fa\u51c6\u7684\u65f6\u95f4\u504f\u79fb\uff0c\u8be5\u9009\u9879\u5f71\u54cd\u6240\u6709\u540e\u9762\u7684\u8f93\u5165\u6587\u4ef6\u3002\u8be5\u504f\u79fb\u88ab\u52a0\u5230\u8f93\u5165\u6587\u4ef6\u7684\u65f6\u6233\uff0c\u5b9a\u4e49\u4e00\u4e2a\u6b63\u504f\u79fb\u610f\u5473\u7740\u76f8\u5e94\u7684\u6d41\u88ab\u5ef6\u8fdf\u4e86 offset\u79d2\u3002 [-]hh:mm:ss[.xxx]\u7684\u683c\u5f0f\u4e5f\u652f\u6301<\/p>\n<p>[\u7f16\u8f91] \u89c6\u9891\u9009\u9879<\/p>\n<p>-b bitrate \u8bbe\u7f6e\u6bd4\u7279\u7387\uff0c\u7f3a\u7701200kb\/s<\/p>\n<p>-r fps \u8bbe\u7f6e\u5e27\u9891 \u7f3a\u770125 (15 or 29.97)<\/p>\n<p>-s size \u8bbe\u7f6e\u5e27\u5927\u5c0f \u683c\u5f0f\u4e3aWXH \u7f3a\u7701160X128.\u4e0b\u9762\u7684\u7b80\u5199\u4e5f\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\uff1a<\/p>\n<p>Sqcif  128X96 qcif 176X144 cif 252X288 4cif 704X576<\/p>\n<p>-aspect aspect \u8bbe\u7f6e\u6a2a\u7eb5\u6bd4 4:3 16:9 \u6216 1.3333 1.7777<\/p>\n<p>-croptop size \u8bbe\u7f6e\u9876\u90e8\u5207\u9664\u5e26\u5927\u5c0f \u50cf\u7d20\u5355\u4f4d<\/p>\n<p>-cropbottom size \u2013cropleft size \u2013cropright size<\/p>\n<p>-padtop size \u8bbe\u7f6e\u9876\u90e8\u8865\u9f50\u7684\u5927\u5c0f \u50cf\u7d20\u5355\u4f4d<\/p>\n<p>-padbottom size \u2013padleft size \u2013padright size \u2013padcolor color \u8bbe\u7f6e\u8865\u9f50\u6761\u989c\u8272(hex,6\u4e2a16\u8fdb\u5236\u7684\u6570\uff0c\u7ea2:\u7eff:\u5170\u6392\u5217\uff0c\u6bd4\u5982 000000\u4ee3\u8868\u9ed1\u8272)<\/p>\n<p>-vn \u4e0d\u505a\u89c6\u9891\u8bb0\u5f55<\/p>\n<p>-bt tolerance \u8bbe\u7f6e\u89c6\u9891\u7801\u7387\u5bb9\u5fcd\u5ea6kbit\/s<\/p>\n<p>-maxrate bitrate\u8bbe\u7f6e\u6700\u5927\u89c6\u9891\u7801\u7387\u5bb9\u5fcd\u5ea6<\/p>\n<p>-minrate bitreate \u8bbe\u7f6e\u6700\u5c0f\u89c6\u9891\u7801\u7387\u5bb9\u5fcd\u5ea6<\/p>\n<p>-bufsize size \u8bbe\u7f6e\u7801\u7387\u63a7\u5236\u7f13\u51b2\u533a\u5927\u5c0f<\/p>\n<p>-vcodec codec \u5f3a\u5236\u4f7f\u7528codec\u7f16\u89e3\u7801\u65b9\u5f0f\u3002 \u5982\u679c\u7528copy\u8868\u793a\u539f\u59cb\u7f16\u89e3\u7801\u6570\u636e\u5fc5\u987b\u88ab\u62f7\u8d1d<\/p>\n<p>-sameq \u4f7f\u7528\u540c\u6837\u89c6\u9891\u8d28\u91cf\u4f5c\u4e3a\u6e90\uff08VBR\uff09<\/p>\n<p>-pass n \u9009\u62e9\u5904\u7406\u904d\u6570\uff081\u6216\u80052\uff09\u3002\u4e24\u904d\u7f16\u7801\u975e\u5e38\u6709\u7528\u3002\u7b2c\u4e00\u904d\u751f\u6210\u7edf\u8ba1\u4fe1\u606f\uff0c\u7b2c\u4e8c\u904d\u751f\u6210\u7cbe\u786e\u7684\u8bf7\u6c42\u7684\u7801\u7387<\/p>\n<p>-passlogfile file \u9009\u62e9\u4e24\u904d\u7684\u7eaa\u5f55\u6587\u4ef6\u540d\u4e3afile<\/p>\n<p>[\u7f16\u8f91] \u9ad8\u7ea7\u89c6\u9891\u9009\u9879<\/p>\n<p>-g gop_size \u8bbe\u7f6e\u56fe\u50cf\u7ec4\u5927\u5c0f<\/p>\n<p>-intra \u4ec5\u9002\u7528\u5e27\u5185\u7f16\u7801<\/p>\n<p>-qscale q \u4f7f\u7528\u56fa\u5b9a\u7684\u89c6\u9891\u91cf\u5316\u6807\u5ea6(VBR)<\/p>\n<p>-qmin q \u6700\u5c0f\u89c6\u9891\u91cf\u5316\u6807\u5ea6(VBR)<\/p>\n<p>-qmax q \u6700\u5927\u89c6\u9891\u91cf\u5316\u6807\u5ea6(VBR)<\/p>\n<p>-qdiff q \u91cf\u5316\u6807\u5ea6\u95f4\u6700\u5927\u504f\u5dee (VBR)<\/p>\n<p>-qblur blur \u89c6\u9891\u91cf\u5316\u6807\u5ea6\u67d4\u5316(VBR)<\/p>\n<p>-qcomp compression \u89c6\u9891\u91cf\u5316\u6807\u5ea6\u538b\u7f29(VBR)<\/p>\n<p>-rc_init_cplx complexity \u4e00\u904d\u7f16\u7801\u7684\u521d\u59cb\u590d\u6742\u5ea6<\/p>\n<p>-b_qfactor factor \u5728p\u548cb\u5e27\u95f4\u7684qp\u56e0\u5b50<\/p>\n<p>-i_qfactor factor \u5728p\u548ci\u5e27\u95f4\u7684qp\u56e0\u5b50<\/p>\n<p>-b_qoffset offset \u5728p\u548cb\u5e27\u95f4\u7684qp\u504f\u5dee<\/p>\n<p>-i_qoffset offset \u5728p\u548ci\u5e27\u95f4\u7684qp\u504f\u5dee<\/p>\n<p>-rc_eq equation \u8bbe\u7f6e\u7801\u7387\u63a7\u5236\u65b9\u7a0b \u9ed8\u8ba4tex^qComp<\/p>\n<p>-rc_override override \u7279\u5b9a\u95f4\u9694\u4e0b\u7684\u901f\u7387\u63a7\u5236\u91cd\u8f7d<\/p>\n<p>-me method \u8bbe\u7f6e\u8fd0\u52a8\u4f30\u8ba1\u7684\u65b9\u6cd5 \u53ef\u7528\u65b9\u6cd5\u6709 zero phods log x1 epzs(\u7f3a\u7701) full<\/p>\n<p>-dct_algo algo \u8bbe\u7f6edct\u7684\u7b97\u6cd5 \u53ef\u7528\u7684\u6709<\/p>\n<p>0 FF_DCT_AUTO \u7f3a\u7701\u7684DCT 1 FF_DCT_FASTINT 2 FF_DCT_INT 3 FF_DCT_MMX 4 FF_DCT_MLIB 5 FF_DCT_ALTIVEC<\/p>\n<p>-idct_algo algo \u8bbe\u7f6eidct\u7b97\u6cd5\u3002\u53ef\u7528\u7684\u6709 <br \/>0 FF_IDCT_AUTO \u7f3a\u7701\u7684IDCT 1 FF_IDCT_INT 2 FF_IDCT_SIMPLE 3 FF_IDCT_SIMPLEMMX 4 FF_IDCT_LIBMPEG2MMX 5 FF_IDCT_PS2 6 FF_IDCT_MLIB 7 FF_IDCT_ARM 8 FF_IDCT_ALTIVEC 9 FF_IDCT_SH4 10 FF_IDCT_SIMPLEARM<\/p>\n<p>-er n \u8bbe\u7f6e\u9519\u8bef\u6b8b\u7559\u4e3an<\/p>\n<p>1 FF_ER_CAREFULL \u7f3a\u7701 2 FF_ER_COMPLIANT 3 FF_ER_AGGRESSIVE 4 FF_ER_VERY_AGGRESSIVE<\/p>\n<p>-ec bit_mask \u8bbe\u7f6e\u9519\u8bef\u63a9\u853d\u4e3abit_mask,\u8be5\u503c\u4e3a\u5982\u4e0b\u503c\u7684\u4f4d\u63a9\u7801<\/p>\n<p>1 FF_EC_GUESS_MVS (default=enabled) 2 FF_EC_DEBLOCK (default=enabled) <\/p>\n<p>-bf frames \u4f7f\u7528frames B \u5e27\uff0c\u652f\u6301mpeg1,mpeg2,mpeg4 -mbd mode \u5b8f\u5757\u51b3\u7b56<\/p>\n<p> 0 FF_MB_DECISION_SIMPLE \u4f7f\u7528mb_cmp 1 FF_MB_DECISION_BITS 2 FF_MB_DECISION_RD<\/p>\n<p>-4mv \u4f7f\u75284\u4e2a\u8fd0\u52a8\u77e2\u91cf \u4ec5\u7528\u4e8empeg4<\/p>\n<p>-part \u4f7f\u7528\u6570\u636e\u5212\u5206 \u4ec5\u7528\u4e8empeg4<\/p>\n<p>-bug param \u7ed5\u8fc7\u6ca1\u6709\u88ab\u81ea\u52a8\u76d1\u6d4b\u5230\u7f16\u7801\u5668\u7684\u95ee\u9898<\/p>\n<p>-strict strictness \u8ddf\u6807\u51c6\u7684\u4e25\u683c\u6027<\/p>\n<p>-aic \u4f7f\u80fd\u9ad8\u7ea7\u5e27\u5185\u7f16\u7801 h263+<\/p>\n<p>-umv \u4f7f\u80fd\u65e0\u9650\u8fd0\u52a8\u77e2\u91cf h263+<\/p>\n<p>-deinterlace \u4e0d\u91c7\u7528\u4ea4\u7ec7\u65b9\u6cd5<\/p>\n<p>-interlace \u5f3a\u8feb\u4ea4\u7ec7\u6cd5\u7f16\u7801 \u4ec5\u5bf9mpeg2\u548cmpeg4\u6709\u6548\u3002\u5f53\u4f60\u7684\u8f93\u5165\u662f\u4ea4\u7ec7\u7684\u5e76\u4e14\u4f60\u60f3\u8981\u4fdd\u6301\u4ea4\u7ec7\u4ee5\u6700\u5c0f\u56fe\u50cf\u635f\u5931\u7684\u65f6\u5019\u91c7\u7528\u8be5\u9009\u9879\u3002\u53ef\u9009\u7684\u65b9\u6cd5\u662f\u4e0d\u4ea4\u7ec7\uff0c\u4f46\u662f\u635f\u5931\u66f4\u5927<\/p>\n<p>-psnr \u8ba1\u7b97\u538b\u7f29\u5e27\u7684psnr<\/p>\n<p>-vstats \u8f93\u51fa\u89c6\u9891\u7f16\u7801\u7edf\u8ba1\u5230vstats_hhmmss.log<\/p>\n<p>-vhook module \u63d2\u5165\u89c6\u9891\u5904\u7406\u6a21\u5757 module \u5305\u62ec\u4e86\u6a21\u5757\u540d\u548c\u53c2\u6570\uff0c\u7528\u7a7a\u683c\u5206\u5f00<br \/>[\u7f16\u8f91] \u97f3\u9891\u9009\u9879<\/p>\n<p>-ab bitrate \u8bbe\u7f6e\u97f3\u9891\u7801\u7387<\/p>\n<p>-ar freq \u8bbe\u7f6e\u97f3\u9891\u91c7\u6837\u7387<\/p>\n<p>-ac channels \u8bbe\u7f6e\u901a\u9053 \u7f3a\u7701\u4e3a1<\/p>\n<p>-an \u4e0d\u4f7f\u80fd\u97f3\u9891\u7eaa\u5f55<\/p>\n<p>-acodec codec \u4f7f\u7528codec\u7f16\u89e3\u7801<br \/>[\u7f16\u8f91] \u97f3\u9891\/\u89c6\u9891\u6355\u83b7\u9009\u9879<\/p>\n<p>-vd device \u8bbe\u7f6e\u89c6\u9891\u6355\u83b7\u8bbe\u5907\u3002\u6bd4\u5982\/dev\/video0<\/p>\n<p>-vc channel \u8bbe\u7f6e\u89c6\u9891\u6355\u83b7\u901a\u9053 DV1394\u4e13\u7528<\/p>\n<p>-tvstd standard \u8bbe\u7f6e\u7535\u89c6\u6807\u51c6 NTSC PAL(SECAM)<\/p>\n<p>-dv1394 \u8bbe\u7f6eDV1394\u6355\u83b7<\/p>\n<p>-av device \u8bbe\u7f6e\u97f3\u9891\u8bbe\u5907 \u6bd4\u5982\/dev\/dsp<\/p>\n<p>    \u6ce8\uff1a\u4ec5\u5728Linux\u4e0b\u6709\u6548\u3002 <\/p>\n<p>[\u7f16\u8f91] \u9ad8\u7ea7\u9009\u9879<\/p>\n<p>-map file:stream \u8bbe\u7f6e\u8f93\u5165\u6d41\u6620\u5c04<\/p>\n<p>-debug \u6253\u5370\u7279\u5b9a\u8c03\u8bd5\u4fe1\u606f<\/p>\n<p>-benchmark \u4e3a\u57fa\u51c6\u6d4b\u8bd5\u52a0\u5165\u65f6\u95f4<\/p>\n<p>-hex \u503e\u5012\u6bcf\u4e00\u4e2a\u8f93\u5165\u5305<\/p>\n<p>-bitexact \u4ec5\u4f7f\u7528\u4f4d\u7cbe\u786e\u7b97\u6cd5 \u7528\u4e8e\u7f16\u89e3\u7801\u6d4b\u8bd5<\/p>\n<p>-ps size \u8bbe\u7f6e\u5305\u5927\u5c0f\uff0c\u4ee5bits\u4e3a\u5355\u4f4d<\/p>\n<p>-re \u4ee5\u672c\u5730\u5e27\u9891\u8bfb\u6570\u636e\uff0c\u4e3b\u8981\u7528\u4e8e\u6a21\u62df\u6355\u83b7\u8bbe\u5907<\/p>\n<p>-loop \u5faa\u73af\u8f93\u5165\u6d41\u3002\u53ea\u5de5\u4f5c\u4e8e\u56fe\u50cf\u6d41\uff0c\u7528\u4e8effserver\u6d4b\u8bd5 <\/p>\n<p>===========================================================<\/p>\n<p> Ffmp<\/p>\n<p>eg\u4f7f\u7528\u8bed\u6cd5<\/p>\n<p>ffmpeg [[options][`-i&#39; input_file]]&#8230; {[options] output_file}&#8230;<\/p>\n<p>\u5982\u679c\u6ca1\u6709\u8f93\u5165\u6587\u4ef6\uff0c\u90a3\u4e48\u89c6\u97f3\u9891\u6355\u6349\uff08\u53ea\u5728Linux\u4e0b\u6709\u6548\uff0c\u56e0\u4e3aLinux\u4e0b\u628a\u97f3\u89c6\u9891\u8bbe\u5907\u5f53\u4f5c\u6587\u4ef6\u53e5\u67c4\u6765\u5904\u7406\uff09\u5c31\u4f1a\u8d77\u4f5c\u7528\u3002\u4f5c\u4e3a\u901a\u7528\u7684\u89c4\u5219\uff0c\u9009\u9879\u4e00\u822c\u7528\u4e8e\u4e0b\u4e00\u4e2a\u7279\u5b9a\u7684\u6587\u4ef6\u3002\u5982\u679c\u4f60\u7ed9 \u2013b 64\u9009\u9879\uff0c\u6539\u9009\u4f1a\u8bbe\u7f6e\u4e0b\u4e00\u4e2a\u89c6\u9891\u901f\u7387\u3002\u5bf9\u4e8e\u539f\u59cb\u8f93\u5165\u6587\u4ef6\uff0c\u683c\u5f0f\u9009\u9879\u53ef\u80fd\u662f\u9700\u8981\u7684\u3002\u7f3a\u7701\u60c5\u51b5\u4e0b\uff0cffmpeg\u8bd5\u56fe\u5c3d\u53ef\u80fd\u7684\u65e0\u635f\u8f6c\u6362\uff0c\u91c7\u7528\u4e0e\u8f93\u5165\u540c\u6837\u7684\u97f3\u9891\u89c6\u9891\u53c2\u6570\u6765\u8f93\u51fa\u3002<\/p>\n<p>ffmpeg\u8f6c\u6362\u6240\u6d89\u53ca\u5230\u7684\u9009\u9879\u8f83\u591a\uff0c\u53ef\u53c2\u8003ffmpeg\u9009\u9879\u8be6\u89e3\u3002<\/p>\n<p>ffmpeg\u652f\u6301\u591a\u79cd\u6587\u4ef6\u683c\u5f0f\u548c\u591a\u79cd\u97f3\u9891\u3001\u89c6\u9891\u7f16\u7801\u5668\uff0c\u53ef\u53c2\u8003ffmepg\u683c\u5f0f\u8be6\u89e3\uff0c\uff08\u9644\uff1a\u5e38\u89c1\u89c6\u9891\u6587\u4ef6\u683c\u5f0f\u8be6\u89e3\uff09<br \/>[\u7f16\u8f91] \u89c6\u9891\u6587\u4ef6\u622a\u56fe<\/p>\n<p>    * \u622a\u53d6\u4e00\u5f20352&#215;240\u5c3a\u5bf8\u5927\u5c0f\u7684\uff0c\u683c\u5f0f\u4e3ajpg\u7684\u56fe\u7247 <\/p>\n<p>ffmpeg -i test.asf -y -f image2 -t 0.001 -s 352&#215;240 a.jpg<\/p>\n<p>    * \u628a\u89c6\u9891\u7684\u524d\uff13\uff10\u5e27\u8f6c\u6362\u6210\u4e00\u4e2aAnimated Gif <\/p>\n<p>ffmpeg -i test.asf -vframes 30 -y -f gif a.gif<\/p>\n<p>    * \u622a\u53d6\u6307\u5b9a\u65f6\u95f4\u7684\u7f29\u5fae\u56fe <\/p>\n<p>ffmpeg -i test.avi -y -f image2 -ss 8 -t 0.001 -s 350&#215;240 test.jpg<\/p>\n<p>    -ss\u540e\u8ddf\u7684\u65f6\u95f4\u5355\u4f4d\u4e3a\u79d2 <\/p>\n<p>    * \u8f6c\u6362\u6587\u4ef6\u4e3a3GP\u683c\u5f0f <\/p>\n<p>ffmpeg -y -i test.mpeg -bitexact -vcodec h263 -b 128 -r 15 -s 176&#215;144 <br \/> -acodec aac -ac 2 -ar 22500 -ab 24 -f 3gp test.3gp<\/p>\n<p>    \u6216 <\/p>\n<p>ffmpeg -y -i test.wmv -ac 1 -acodec libamr_nb -ar 8000 -ab 12200 -s 176&#215;144 -b 128 -r 15 test.3gp<\/p>\n<p>[\u7f16\u8f91] \u89c6\u9891\u683c\u5f0f\u8f6c\u6362<\/p>\n<p>    * \u5982\u4f55\u4f7f\u7528 ffmpeg \u7f16\u7801\u5f97\u5230\u9ad8\u8d28\u91cf\u7684\u89c6\u9891 <\/p>\n<p>ffmpeg.exe -i &quot;D:VideoFearlessFearless.avi&quot; -target film-dvd -s 720&#215;352<br \/> -padtop 64 -padbottom 64 -maxrate 7350000 -b 3700000 -sc_threshold 1000000000 <br \/> -trellis -cgop -g 12 -bf 2 -qblur 0.3 -qcomp 0.7 -me full -dc 10 -mbd 2<br \/> -aspect 16:9 -pass 2 -passlogfile &quot;D:Videoffmpegencode&quot; -an -f mpeg2video &quot;D:Fearless.m2v&quot;<\/p>\n<p>    * \u8f6c\u6362\u6307\u5b9a\u683c\u5f0f\u6587\u4ef6\u5230FLV\u683c\u5f0f <\/p>\n<p>ffmpeg.exe -i test.mp3 -ab 56 -ar 22050 -b 500 -r 15 -s 320&#215;240 f:test.flv <br \/>ffmpeg.exe -i test.wmv -ab 56 -ar 22050 -b 500 -r 15 -s 320&#215;240 f:test.flv<\/p>\n<p>    * \u8f6c\u7801\u89e3\u5bc6\u7684VOB <\/p>\n<p>ffmpeg -i snatch_1.vob -f avi -vcodec mpeg4 -b 800 -g 300 -bf 2 -acodec mp3 -ab 128 snatch.avi<\/p>\n<p>    \u4e0a\u9762\u7684\u547d\u4ee4\u884c\u5c06vob\u7684\u6587\u4ef6\u8f6c\u5316\u6210avi\u6587\u4ef6\uff0cmpeg4\u7684\u89c6\u9891\u548cmp3\u7684\u97f3\u9891\u3002\u6ce8\u610f\u547d\u4ee4\u4e2d\u4f7f\u7528\u4e86B\u5e27\uff0c\u6240\u4ee5mpeg4\u6d41\u662fdivx5\u517c\u5bb9\u7684\u3002GOP\u5927\u5c0f\u662f300\u610f\u5473\u774029.97\u5e27\u9891\u4e0b\u6bcf10\u79d2\u5c31\u6709INTRA\u5e27\u3002\u8be5\u6620\u5c04\u5728\u97f3\u9891\u8bed\u8a00\u7684DVD\u8f6c\u7801\u65f6\u5019\u5c24\u5176\u6709\u7528\u3002 <\/p>\n<p>    * \u540c\u65f6\u7f16\u7801\u5230\u51e0\u79cd\u683c\u5f0f\u5e76\u4e14\u5728\u8f93\u5165\u6d41\u548c\u8f93\u51fa\u6d41\u4e4b\u95f4\u5efa\u7acb\u6620\u5c04 <\/p>\n<p>ffmpeg -i \/tmp\/a.wav -ab 64 \/tmp\/a.mp2 -ab 128 \/tmp\/b.mp2 -map 0:0 -map 0:0<\/p>\n<p>    \u4e0a\u9762\u7684\u547d\u4ee4\u884c\u8f6c\u6362\u4e00\u4e2a64Kbits \u7684a.wav\u5230128kbits\u7684a.mp2 \u2018-map file:index\u2019\u5728\u8f93\u51fa\u6d41\u7684\u987a\u5e8f\u4e0a\u5b9a\u4e49\u4e86\u54ea\u4e00\u8def\u8f93\u5165\u6d41\u662f\u7528\u4e8e\u6bcf\u4e00\u4e2a\u8f93\u51fa\u6d41\u7684\u3002 <\/p>\n<p>    * \u8f6c\u6362\u6587\u4ef6\u4e3a3GP\u683c\u5f0f <\/p>\n<p>ffmpeg -i test.avi -y -b 20 -s sqcif -r 10 -acodec amr_wb -ab 23.85 -ac 1 -ar 16000 test.3gp<\/p>\n<p>    \u6ce8\uff1a\u5982\u679c\u8981\u8f6c\u6362\u4e3a3GP\u683c\u5f0f\uff0c\u5219ffmpeg\u5728\u7f16\u8bd1\u65f6\u5fc5\u987b\u52a0\u4e0a\u2013enable-amr_nb \u2013enable-amr_wb\uff0c\u8be6\u7ec6\u5185\u5bb9\u53ef\u53c2\u8003\uff1a\u8f6c\u6362\u89c6\u9891\u4e3a3GPP\u683c\u5f0f <\/p>\n<p>    * \u8f6c\u6362\u6587\u4ef6\u4e3aMP4\u683c\u5f0f\uff08\u652f\u6301iPhone\/iTouch\uff09 <\/p>\n<p>ffmpeg  -y  -i input.wmv  -f mp4 -async 1-s 480&#215;320  -acodec libfaac -vcodec libxvid  -qscale 7 -dts_delta_threshold 1 output.mp4<br \/>ffmpeg  -y  -i source_video.avi input -acodec libfaac -ab 128000 -vcodec mpeg4 -b 1200000 -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320&#215;180 -title X final_video.mp4<\/p>\n<p>    * \u5c06\u4e00\u6bb5\u97f3\u9891\u4e0e\u4e00\u6bb5\u89c6\u9891\u6df7\u5408 <\/p>\n<p>ffmpeg -i son.wav -i video_origine.avi video_finale.mpg<\/p>\n<p>    * \u5c06\u4e00\u6bb5\u89c6\u9891\u8f6c\u6362\u4e3aDVD\u683c\u5f0f <\/p>\n<p>ffmpeg -i source_video.avi -target pal-dvd -ps 2000000000 -aspect 16:9 finale_video.mpeg<\/p>\n<p>    \u6ce8\uff1atarget pal-dvd : Output format ps 2000000000 maximum size for the output file, in bits (here, 2 Gb) aspect 16:9 : Widescreen <\/p>\n<p>    * \u8f6c\u6362\u4e00\u6bb5\u89c6\u9891\u4e3aDivX\u683c\u5f0f <\/p>\n<p>ffmpeg -i video_origine.avi -s 320&#215;240 -vcodec msmpeg4v2 video_finale.avi<\/p>\n<p>    * Turn X images to a video sequence <\/p>\n<p>ffmpeg -f image2 -i image%d.jpg video.mpg<\/p>\n<p>    \u6ce8\uff1aThis command will transform all the images from the current directory (named image1.jpg, image2.jpg, etc&#8230;) to a video file named video.mpg. <\/p>\n<p>    * Turn a video to X images <\/p>\n<p>ffmpeg -i video.mpg image%d.jpg<\/p>\n<p>    \u6ce8\uff1aThis command will generate the files named image1.jpg, image2.jpg, &#8230; <br \/>    The following image formats are also availables : PGM, PPM, PAM, PGMYUV, JPEG, GIF, PNG, TIFF, SGI. <\/p>\n<p>[\u7f16\u8f91] \u5c4f\u5e55\u5f55\u5236<\/p>\n<p>    * \u4f7f\u7528ffmpeg\u5f55\u50cf\u5c4f\u5e55 <\/p>\n<p>ffmpeg -vcodec mpeg4 -b 1000 -r 10 -g 300 -vd x11:0,0 -s 1024&#215;768 ~\/test.avi<\/p>\n<p>\uff1a\u5176\u4e2d\uff0c-vd x11:0,0 \u6307\u5f55\u5236\u6240\u4f7f\u7528\u7684\u504f\u79fb\u4e3a x=0 \u548c y=0\uff0c-s 1024\u00d7768 \u6307\u5f55\u5236\u89c6\u9891\u7684\u5927\u5c0f\u4e3a 1024\u00d7768\u3002\u5f55\u5236\u7684\u89c6\u9891\u6587\u4ef6\u4e3a test.avi\uff0c\u5c06\u4fdd\u5b58\u5230\u7528\u6237\u4e3b\u76ee\u5f55\u4e2d<\/p>\n<p>    \u5982\u679c\u4f60\u53ea\u60f3\u5f55\u5236\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u7a97\u53e3\u6216\u8005\u684c\u9762\u4e0a\u7684\u4e00\u4e2a\u56fa\u5b9a\u533a\u57df\uff0c\u90a3\u4e48\u53ef\u4ee5\u6307\u5b9a\u504f\u79fb\u4f4d\u7f6e\u548c\u533a\u57df\u5927\u5c0f\u3002\u4f7f\u7528xwininfo -frame\u547d\u4ee4\u53ef\u4ee5\u5b8c\u6210\u67e5\u627e\u4e0a\u8ff0\u53c2\u6570\u3002 <\/p>\n<p>    * \u91cd\u65b0\u8c03\u6574\u89c6\u9891\u5c3a\u5bf8\u5927\u5c0f <\/p>\n<p>ffmpeg -vcodec mpeg4 -b 1000 -r 10 -g 300 -i ~\/test.avi -s 800\u00d7600 ~\/test-800-600.avi<\/p>\n<p>    \u6ce8\uff1affmpeg\u7684\u5c4f\u5e55\u5f55\u5236\u529f\u80fd\u53ea\u80fd\u5728Linux\u73af\u5883\u4e0b\u6709\u6548\u3002 <\/p>\n<p>[\u7f16\u8f91] \u89c6\u9891\u91c7\u96c6<\/p>\n<p>    * \u628a\u6444\u50cf\u5934\u7684\u5b9e\u65f6\u89c6\u9891\u5f55\u5236\u4e0b\u6765\uff0c\u5b58\u50a8\u4e3a\u6587\u4ef6 <\/p>\n<p>ffmpeg  -f video4linux -s 320*240 -r 10 -i \/dev\/video0  test.asf<\/p>\n<p>=====================================================================<br \/>\u6709\u4e9b\u53c2\u6570\u5b98\u65b9\u5217\u8868\u91cc\u6ca1\u6709,\u4e0b\u9762\u662f\u6211\u4e2a\u4eba\u7684\u53c2\u6570\u8bf4\u660e<\/p>\n<p>usage: ffmpeg [[infile options] -i infile]&#8230; {[outfile options] outfile}&#8230;<br \/>Hyper fast Audio and Video encoder<\/p>\n<p>Main options:<br \/>-L                  show license  \u663e\u793a\u8bb8\u53ef\u8bc1<br \/>-h                  show help  \u5e2e\u52a9<br \/>-version            show version  \u7248\u672c<br \/>-formats            show available formats, codecs, protocols, &#8230;  \u663e\u793a\u53ef\u7528\u7684\u683c\u5f0f\uff0c\u7f16\u89e3\u7801\u5668\uff0c\u534f\u8bae\uff0c&#8230;<br \/>-f fmt              force format  \u798f\u83ab\u7279\u7f57\u529b\u683c\u5f0f<br \/>-i filename         input file name  \u8f93\u5165\u6587\u4ef6\u540d<br \/>-y                  overwrite output files  \u8986\u76d6\u8f93\u51fa\u6587\u4ef6<br \/>-t duration         record or transcode &quot;duration&quot; seconds of audio\/video  \u8bb0\u5f55\u6216\u8f6c\u7801\u201c\u65f6\u95f4\u201d\u79d2\u7684\u97f3\u9891\/\u89c6\u9891<br \/>-fs limit_size      set the limit file size in bytes  \u5b57\u8282\u4e3a\u5355\u4f4d\u8bbe\u7f6e\u6587\u4ef6\u5927\u5c0f\u9650\u5236<br \/>-ss time_off        set the start time offset  \u8bbe\u7f6e\u5f00\u59cb\u65f6\u95f4\u504f\u79fb<br \/>-itsoffset time_off  set the input ts offset  \u8bbe\u7f6e\u8f93\u5165TS\u504f\u79fb<br \/>-itsscale stream:scale  set the input ts scale  \u89c4\u6a21\u8bbe\u7f6e\u8f93\u5165TS\u89c4\u6a21<br \/>-timestamp time     set the timestamp (&#39;now&#39; to set the current time)  \u65f6\u95f4\u6233\u8bbe\u7f6e\u65f6\u95f4\u6233<br \/>-metadata string=string  add metadata  \u5b57\u7b26\u4e32\u6dfb\u52a0\u5143\u6570\u636e<br \/>-dframes number     set the number of data frames to record  \u6570\u636e\u5e27\u7684\u6570\u91cf\u6765\u8bb0\u5f55<br \/>-v number           set ffmpeg verbosity level  FFmpeg\u7684\u5197\u8d58\u7ea7\u522b<br \/>-loglevel loglevel  set libav* logging level  \u8bbe\u7f6elibav *\u65e5\u5fd7\u8bb0\u5f55\u7ea7\u522b <br \/>-target type        specify target file type (&quot;vcd&quot;, &quot;svcd&quot;, &quot;dvd&quot;, &quot;dv&quot;, &quot;dv50&quot;, &quot;pal-vcd&quot;, &quot;ntsc-svcd&quot;, &#8230;)  \u6307\u5b9a\u76ee\u6807\u6587\u4ef6\u7c7b\u578b<br \/>-xerror             exit on error  \u5173\u4e8e\u9519\u8bef\u9000\u51fa<\/p>\n<p>Advanced options:<br \/>-map file:stream[:syncfile:syncstream]  set input stream mapping  \u8bbe\u7f6e\u8f93\u5165\u6d41\u6620\u5c04<br \/>-map_meta_data outfile:infile  set meta data information of outfile from infile  infile\u96c6\u7684\u5143\u6570\u636e\u6307\u5411OutFile\u4fe1\u606finfile<br \/>-benchmark          add timings for benchmarking  \u6dfb\u52a0\u57fa\u51c6\u8ba1\u65f6<br \/>-dump<br \/>\n        dump each input packet  \u8f6c\u50a8\u6bcf\u4e2a\u8f93\u5165\u5305<br \/>-hex                when dumping packets, also dump the payload  \u503e\u9500\u5305\u65f6\uff0c\u6709\u6548\u8f7d\u8377\u4e5f\u8f6c\u50a8<br \/>-re                 read input at native frame rate  \u5728\u672c\u5730\u8bfb\u53d6\u8f93\u5165\u5e27\u901f\u7387<br \/>-loop_input         loop (current only works with images)  \u5faa\u73af\uff08\u76ee\u524d\u53ea\u9002\u7528\u4e8e\u4e0e\u56fe\u50cf\uff09<br \/>-loop_output        number of times to loop output in formats that support looping (0 loops forever)  \u6b21\u6570\u5faa\u73af\u7684\u683c\u5f0f\uff0c\u652f\u6301\u5faa\u73af\uff080\u5faa\u73af\u6c38\u8fdc\u8f93\u51fa\uff09<br \/>-threads count      thread count  \u7ebf\u7a0b\u6570 <br \/>-vsync              video sync method  \u89c6\u9891\u540c\u6b65\u65b9\u6cd5<br \/>-async              audio sync method  \u5f02\u6b65\u97f3\u9891\u540c\u6b65\u65b9\u6cd5<br \/>-adrift_threshold threshold  audio drift threshold  \u9608\u503c\u97f3\u9891\u6f02\u79fb<br \/>-vglobal            video global header storage type  \u89c6\u9891\u5168\u7403\u5934\u5b58\u50a8\u7c7b\u578b<br \/>-copyts             copy timestamps  \u590d\u5236\u65f6\u95f4\u6233<br \/>-shortest           finish encoding within shortest input  \u6700\u77ed\u5b8c\u6210\u8f93\u5165\u7f16\u7801<br \/>-dts_delta_threshold threshold  timestamp discontinuity delta threshold  \u9608\u503c\u589e\u91cf\u8fde\u7eed\u65f6\u95f4\u6233<br \/>-programid          desired program number  \u6240\u9700\u7684\u7a0b\u5e8f\u6570\u76ee<br \/>-copyinkf           copy initial non-keyframes  \u590d\u5236\u521d\u59cb\u975e\u5173\u952e\u5e27<br \/>-muxdelay seconds   set the maximum demux-decode delay  \u79d2\u8bbe\u7f6e\u6700\u5927\u7684\u5206\u79bb\u5668\uff0c\u89e3\u7801\u5ef6\u8fdf<br \/>-muxpreload seconds  set the initial demux-decode delay  \u79d2\u8bbe\u7f6e\u521d\u59cb\u5206\u79bb\u5668\uff0c\u89e3\u7801\u5ef6\u8fdf<\/p>\n<p>Video options:<br \/>-b bitrate          set bitrate (in bits\/s)  \u4ee5\u6bd4\u7279\/\u8bbe\u7f6e\u7801\u7387<br \/>-vb bitrate         set bitrate (in bits\/s)  \u8bbe\u7f6e\u6bd4\u7279\u7387\uff08\u4ee5\u6bd4\u7279\/\u79d2\uff09<br \/>-vframes number     set the number of video frames to record  \u8bbe\u7f6e\u89c6\u9891\u5e27\u7684\u6570\u91cf\u8bb0\u5f55<br \/>-r rate             set frame rate (Hz value, fraction or abbreviation)  \u8bbe\u7f6e\u5e27\u901f\u7387\uff08\u8d6b\u5179\u503c\uff0c\u5206\u6570\u6216\u7f29\u5199\uff09<br \/>-s size             set frame size (WxH or abbreviation)  \u8bbe\u7f6e\u5e27\u5927\u5c0f\uff08WxH\u6216\u7f29\u5199\uff09<br \/>-aspect aspect      set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)  \u8bbe\u7f6e\u957f\u5bbd\u6bd4\uff084:3\uff0c16:9\u6216\u80051.3333\uff0c1.7777\uff09<br \/>-croptop size       set top crop band size (in pixels)  \u9876\u76d2\u4f5c\u7269\u5e26\u5927\u5c0f<br \/>-cropbottom size    set bottom crop band size (in pixels) \u8bbe\u7f6e\u5e95\u90e8\u4f5c\u7269\u5e26\u5927\u5c0f<br \/>-cropleft size      set left crop band size (in pixels)  \u8bbe\u7f6e\u5de6\u4f5c\u7269\u5e26\u5927\u5c0f<br \/>-cropright size     set right crop band size (in pixels)  \u8bbe\u7f6e\u6743\u4f5c\u7269\u5e26\u5927\u5c0f<br \/>-padtop size        set top pad band size (in pixels)  \u673a\u9876\u76d2\u57ab\u5e26\u5927\u5c0f<br \/>-padbottom size     set bottom pad band size (in pixels)  \u8bbe\u7f6e\u5e95\u57ab\u5e26\u5927\u5c0f<br \/>-padleft size       set left pad band size (in pixels)  \u8bbe\u7f6e\u5de6\u57ab\u5e26\u5927\u5c0f<br \/>-padright size      set right pad band size (in pixels)  \u8bbe\u7f6e\u6743\u57ab\u5e26\u5927\u5c0f<br \/>-padcolor color     set color of pad bands (Hex 000000 thru FFFFFF)  \u8bbe\u7f6e\u57ab\u5e26\u989c\u8272\uff08\u5341\u516d\u8fdb\u5236000000\u901a\u8fc7000000\uff09<br \/>-vn                 disable video   \u7981\u7528\u89c6\u9891<br \/>-vcodec codec       force video codec (&#39;copy&#39; to copy stream)  \u7f16\u89e3\u7801\u5668\u89c6\u9891\u7f16\u89e3\u7801\u5668\uff08&#39;\u62f7\u8d1d&#39;\u590d\u5236\u6d41\uff09 <br \/>-sameq              use same video quality as source (implies VBR)  \u4f7f\u7528\u76f8\u540c\u7684\u89c6\u9891\u8d28\u91cf\u4f5c\u4e3a\u6e90\uff08\u610f\u5473\u7740VBR\uff09<br \/>-pass n             select the pass number (1 or 2)  \u9009\u62e9\u7684\u904d\u6570<br \/>-passlogfile prefix  select two pass log file name prefix  \u9009\u62e9\u4e24\u4e2a\u9636\u6bb5\u4f7f\u7528\u7684\u65e5\u5fd7\u6587\u4ef6\u540d\u524d\u7f00<br \/>-newvideo           add a new video stream to the current output stream  \u6dfb\u52a0\u4e00\u4e2a\u65b0\u7684\u89c6\u9891\u6d41\u7535\u6d41\u8f93\u51fa\u6d41<\/p>\n<p>Advanced Video options:<br \/>-pix_fmt format     set pixel format, &#39;list&#39; as argument shows all the pixel formats supported  \u8bbe\u7f6e\u50cf\u7d20\u683c\u5f0f\uff0c&#39;\u540d\u5355\u53c2\u6570&#39;\u663e\u793a\u6240\u6709\u53d7\u652f\u6301\u7684\u50cf\u7d20\u683c\u5f0f<br \/>-intra              use only intra frames  \u53ea\u4f7f\u7528\u5185\u90e8\u5e27<br \/>-vdt n              discard threshold  \u4e22\u5f03\u95e8\u69db<br \/>-qscale q           use fixed video quantizer scale (VBR)  \u4f7f\u7528\u56fa\u5b9a\u7684\u89c6\u9891\u91cf\u5316\u8868<br \/>-rc_override override  rate control override for specific intervals  \u8986\u76d6\u7387\u4e3a\u7279\u5b9a\u7684\u65f6\u95f4\u95f4\u9694\u63a7\u5236\u91cd\u5199<br \/>-me_threshold threshold  motion estimaton threshold  \u9608\u503c\u7684\u8bae\u6848<br \/>-deinterlace        deinterlace pictures  \u9694\u884c\u626b\u63cf\u7684\u56fe\u7247<br \/>-psnr               calculate PSNR of compressed frames  \u8ba1\u7b97\u538b\u7f29\u5e27\u7684\u4fe1\u566a\u6bd4<br \/>-vstats             dump video coding statistics to file  \u8f6c\u50a8\u89c6\u9891\u7f16\u7801\u7edf\u8ba1\u5230\u6587\u4ef6<br \/>-vstats_file file   dump video coding statistics to file  \u8f6c\u50a8\u6587\u4ef6\u7684\u89c6\u9891\u7f16\u7801\u7edf\u8ba1\u5230\u6587\u4ef6<br \/>-intra_matrix matrix  specify intra matrix coeffs  \u77e9\u9635\u6307\u5b9a\u5185\u90e8\u77e9\u9635coeffs<br \/>-inter_matrix matrix  specify inter matrix coeffs  \u77e9\u9635\u9664\u6307\u5b9a\u77e9\u9635coeffs<br \/>-top                top=1\/bottom=0\/auto=-1 field first<br \/>-dc precision       intra_dc_precision  \u76f4\u6d41\u7cbe\u5ea6<br \/>-vtag fourcc\/tag    force video tag\/fourcc  \u6807\u7b7e\u529b\u91cf\u89c6\u9891\u6807\u7b7e\/ fourcc\u503c<br \/>-qphist             show QP histogram  \u663e\u793a\u91cf\u5316\u76f4\u65b9\u56fe<br \/>-force_fps          force the selected framerate, disable the best supported framerate selection  \u9009\u5b9a\u7684\u5e27\u7387\uff0c\u7981\u7528\u652f\u6301\u5e27\u7387\u6700\u597d\u7684\u9009\u62e9<br \/>-vbsf bitstream_filter  <br \/>-vpre preset        set the video options to the indicated preset  \u9884\u7f6e\u8bbe\u7f6e\u89c6\u9891\u9009\u9879\u6307\u5b9a\u7684\u9884\u8bbe<\/p>\n<p>Audio options:<br \/>-ab bitrate         set bitrate (in bits\/s)  \u8bbe\u7f6e\u6bd4\u7279\u7387\uff08\u4ee5\u6bd4\u7279\/\u79d2\uff09 <br \/>-aframes number     set the number of audio frames to record  \u8bbe\u7f6e\u97f3\u9891\u5e27\u7684\u6570\u91cf\u6765\u8bb0\u5f55<br \/>-aq quality         set audio quality (codec-specific)  \u8bbe\u7f6e\u97f3\u9891\u8d28\u91cf\uff08\u7f16\u89e3\u7801\u5668\u4e13\u7528\uff09<br \/>-ar rate            set audio sampling rate (in Hz)  \u8bbe\u7f6e\u97f3\u9891\u91c7\u6837\u7387\uff08\u4ee5\u8d6b\u5179\uff09<br \/>-ac channels        set number of audio channels  \u8bbe\u7f6e\u7684\u97f3\u9891\u901a\u9053\u6570 <br \/>-an                 disable audio  \u7981\u7528\u97f3\u9891<br \/>-acodec codec       force audio codec (&#39;copy&#39; to copy stream)  \u97f3\u9891\u7f16\u89e3\u7801\u5668\u7f16\u89e3\u7801\u5668\uff08&#39;\u62f7\u8d1d&#39;\u590d\u5236\u6d41\uff09 <br \/>-vol volume         change audio volume (256=normal)  \u53d8\u5316\u97f3\u91cf\uff08256 =\u6b63\u5e38\uff09 <br \/>-newaudio           add a new audio stream to the current output stream  \u6dfb\u52a0\u4e00\u4e2a\u65b0\u7684\u97f3\u9891\u6d41\u5230\u5f53\u524d\u8f93\u51fa\u6d41<br \/>-alang code         set the ISO 639 language code (3 letters) of the current audio stream  \u4ee3\u7801\u96c6\u7684ISO 639\u8bed\u8a00\u4ee3\u7801\uff083\u5b57\u6bcd\u5f53\u524d\u97f3\u9891\u6d41\uff09 <\/p>\n<p>Advanced Audio options:<br \/>-atag fourcc\/tag    force audio tag\/fourcc  \u6807\u7b7e\u529b\u91cf\u97f3\u9891\u6807\u7b7e<br \/>-sample_fmt format  set sample format, &#39;list&#39; as argument shows all the sample formats supported  \u8bbe\u7f6e\u91c7\u6837\u683c\u5f0f\uff0c&#39;\u540d\u5355\u53c2\u6570&#39;\u663e\u793a\u6240\u6709\u6837\u672c\u683c\u5f0f\u7684\u652f\u6301 <br \/>-absf bitstream_filter  <br \/>-apre preset        set the audio options to the indicated preset  \u9884\u7f6e\u8bbe\u7f6e\u97f3\u9891\u9009\u9879\u6307\u5b9a\u7684\u9884\u8bbe <\/p>\n<p>Subtitle options:<br \/>-sn                 disable subtitle  \u7981\u7528\u5b57\u5e55<br \/>-scodec codec       force subtitle codec (&#39;copy&#39; to copy stream)    \u6dfb\u52a0\u4e00\u4e2a\u65b0\u7684\u5b57\u5e55\u6d41\u5230\u5f53\u524d\u8f93\u51fa\u6d41 <br \/>-newsubtitle        add a new subtitle stream to the current output stream  \u7f16\u89e3\u7801\u5668\u7684\u5b57\u5e55\u89e3\u7801\u5668\uff08&#39;\u62f7\u8d1d&#39;\u590d\u5236\u6d41\uff09 <br \/>-slang code         set the ISO 639 language code (3 letters) of the current subtitle stream  \u4ee3\u7801\u96c6\u7684ISO 639\u8bed\u8a00\u4ee3\u7801\uff083\u5b57\u6bcd\u5f53\u524d\u5b57\u5e55\u6d41\uff09 <br \/>-stag fourcc\/tag    force subtitle tag\/fourcc  \u6807\u7b7e\u529b\u91cf\u5b57\u5e55\u6807\u7b7e\/ fourcc\u503c <br \/>-sbsf bitstream_filter  <br \/>-spre preset        set the subtitle options to the indicated preset  \u9884\u7f6e\u8bbe\u7f6e\u5b57\u5e55\u9009\u9879\u6307\u5b9a\u7684\u9884\u8bbe <\/p>\n<p>Audio\/Video grab options:<br \/>-vc channel         set video grab channel (DV1394 only)  \u8bbe\u7f6e\u89c6\u9891\u6293\u6597\u901a\u9053\uff08DV1394\u53ea\uff09 <br \/>-tvstd standard     set television standard (NTSC, PAL (SECAM))  \u8bbe\u7f6e\u7535\u89c6\u6807\u51c6\uff08\u652f\u6301NTSC\uff0cPAL\uff08SECAM\u5236\u5f0f\uff09\uff09 <br \/>-isync              sync read on input  \u540c\u6b65\u8f93\u5165<\/p>\n<p>AVCodecContext AVOptions:<br \/>-b                 &lt;int&gt;   E.V.. set bitrate (in bits\/s)  \u8bbe\u7f6e\u6bd4\u7279\u7387<br \/>-ab                &lt;int&gt;   E..A. set bitrate (in bits\/s)  \u8bbe\u7f6e\u6bd4\u7279\u7387<br \/>-bt                &lt;int&gt;   E.V.. set video bitrate tolerance (in bits\/s)<br \/>-flags             &lt;flags&gt;<br \/>\nEDVA.  \u6807\u5fd7<br \/>   mv4                     E.V.. use four motion vector by macroblock (mpeg4)<br \/>   obmc                    E.V.. use overlapped block motion compensation (h263+)<br \/>   qpel                    E.V.. use 1\/4 pel motion compensation<br \/>   loop                    E.V.. use loop filter<br \/>   gmc                     E.V.. use gmc<br \/>   mv0                     E.V.. always try a mb with mv=&lt;0,0&gt;<br \/>   part                    E.V.. use data partitioning<br \/>   gray                    EDV.. only decode\/encode grayscale<br \/>   psnr                    E.V.. error[?] variables will be set during encoding<br \/>   naq                     E.V.. normalize adaptive quantization<br \/>   ildct                   E.V.. use interlaced dct<br \/>   low_delay               EDV.. force low delay<br \/>   alt                     E.V.. enable alternate scantable (mpeg2\/mpeg4)<br \/>   global_header           E.VA. place global headers in extradata instead of every keyframe<br \/>   bitexact                EDVAS use only bitexact stuff (except (i)dct)<br \/>   aic                     E.V.. h263 advanced intra coding \/ mpeg4 ac prediction<br \/>   umv                     E.V.. use unlimited motion vectors<br \/>   cbp                     E.V.. use rate distortion optimization for cbp<br \/>   qprd                    E.V.. use rate distortion optimization for qp selection<br \/>   aiv                     E.V.. h263 alternative inter vlc<br \/>   slice                   E.V..<br \/>   ilme                    E.V.. interlaced motion estimation<br \/>   scan_offset             E.V.. will reserve space for svcd scan offset user data<br \/>   cgop                    E.V.. closed gop<br \/>-me_method         &lt;int&gt;   E.V.. set motion estimation method<br \/>   zero                    E.V.. zero motion estimation (fastest)<br \/>   full                    E.V.. full motion estimation (slowest)<br \/>   epzs                    E.V.. EPZS motion estimation (default)<br \/>   esa                     E.V.. esa motion estimation (alias for full)<br \/>   tesa                    E.V.. tesa motion estimation<br \/>   dia                     E.V.. dia motion estimation (alias for epzs)<br \/>   log                     E.V.. log motion estimation<br \/>   phods                   E.V.. phods motion estimation<br \/>   x1                      E.V.. X1 motion estimation<br \/>   hex                     E.V.. hex motion estimation<br \/>   umh                     E.V.. umh motion estimation<br \/>   iter                    E.V.. iter motion estimation<br \/>-g                 &lt;int&gt;   E.V.. set the group of picture size<br \/>-cutoff            &lt;int&gt;   E..A. set cutoff bandwidth<br \/>-frame_size        &lt;int&gt;   E..A.<br \/>-qcomp             &lt;float&gt; E.V.. video quantizer scale compression (VBR)<br \/>-qblur             &lt;float&gt; E.V.. video quantizer scale blur (VBR)<br \/>-qmin              &lt;int&gt;   E.V.. min video quantizer scale (VBR)<br \/>-qmax              &lt;int&gt;   E.V.. max video quantizer scale (VBR)<br \/>-qdiff             &lt;int&gt;   E.V.. max difference between the quantizer scale (VBR)<br \/>-bf                &lt;int&gt;   E.V.. use &#39;frames&#39; B frames<br \/>-b_qfactor         &lt;float&gt; E.V.. qp factor between p and b frames<br \/>-rc_strategy       &lt;int&gt;   E.V.. ratecontrol method<br \/>-b_strategy        &lt;int&gt;   E.V.. strategy to choose between I\/P\/B-frames<br \/>-hurry_up          &lt;int&gt;   .DV..<br \/>-ps                &lt;int&gt;   E.V.. rtp payload size in bytes<br \/>-bug               &lt;flags&gt; .DV.. workaround not auto detected encoder bugs<br \/>   autodetect              .DV..<br \/>   old_msmpeg4             .DV.. some old lavc generated msmpeg4v3 files (no autodetection)<br \/>   xvid_ilace              .DV.. Xvid interlacing bug (autodetected if fourcc==XVIX)<br \/>   ump4                    .DV.. (autodetected if fourcc==UMP4)<br \/>   no_padding              .DV.. padding bug (autodetected)<br \/>   amv                     .DV..<br \/>   ac_vlc                  .DV.. illegal vlc bug (autodetected per fourcc)<br \/>   qpel_chroma             .DV..<br \/>   std_qpel                .DV.. old standard qpel (autodetected per fourcc\/version)<br \/>   qpel_chroma2            .DV..<br \/>   direct_blocksize         .DV.. direct-qpel-blocksize bug (autodetected per fourcc\/version)<br \/>   edge                    .DV.. edge padding bug (autodetected per fourcc\/version)<br \/>   hpel_chroma             .DV..<br \/>   dc_clip                 .DV..<br \/>   ms                      .DV.. workaround various bugs in microsofts broken decoders<br \/>-lelim             &lt;int&gt;   E.V.. single coefficient elimination threshold for luminance (negative values also consider dc coefficient)<br \/>-celim             &lt;int&gt;   E.V.. single coefficient elimination threshold for chrominance (negative values also consider dc coefficient)<br \/>-strict            &lt;int&gt;   EDVA. how strictly to follow the standards<br \/>   very                    EDV.. strictly conform to a older more strict version of the spec or reference software<br \/>   strict                  EDV.. strictly conform to all the things in the spec no matter what consequences<br \/>   normal                  EDV..<br \/>   inofficial              EDV.. allow inofficial extensions<br \/>   experimental            EDV.. allow non standardized experimental things<br \/>-b_qoffset         &lt;float&gt; E.V.. qp offset between P and B frames<br \/>-er                &lt;int&gt;   .DVA. set error detection aggressivity<br \/>   careful                 .DV..<br \/>   compliant               .DV..<br \/>   aggressive              .DV..<br \/>   very_aggressive         .DV..<br \/>-mpeg_quant        &lt;int&gt;   E.V.. use MPEG quantizers instead of H.263<br \/>-qsquish           &lt;float&gt; E.V.. how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function)<br \/>-rc_qmod_amp       &lt;float&gt; E.V.. experimental quantizer modulation<br \/>-rc_qmod_freq      &lt;int&gt;   E.V.. experimental quantizer modulation<br \/>-rc_eq             &lt;string&gt; E.V.. set rate control equation<br \/>-maxrate           &lt;int&gt;   E.V.. set max video bitrate tolerance (in bits\/s)<br \/>-minrate           &lt;int&gt;   E.V.. set min video bitrate tolerance (in bits\/s)<br \/>-bufsize           &lt;int&gt;   E.VA. set ratecontrol buffer size (in bits)<br \/>-rc_buf_aggressivity &lt;float&gt; E.V.. currently useless<br \/>-i_qfactor         &lt;float&gt; E.V.. qp factor between P and I frames<br \/>-i_qoffset         &lt;float&gt; E.V.. qp offset between P and I frames<br \/>-rc_init_cplx      &lt;float&gt; E.V.. initial complexity for 1-pass encoding<br \/>-dct               &lt;int&gt;   E.V.. DCT algorithm<br \/>   auto                    E.V.. autoselect a good one (default)<br \/>   fastint                 E.V.. fast integer<br \/>   int                     E.V.. accurate integer<br \/>   mmx                     E.V..<br \/>   mlib                    E.V..<br \/>   altivec                 E.V..<br \/>   faan                    E.V.. floating point AAN DCT<br \/>-lumi_mask         &lt;float&gt; E.V.. compresses bright areas stronger than medium ones<br \/>-tcplx_mask        &lt;float&gt; E.V.. temporal complexity masking<br \/>-scplx_mask        &lt;float&gt; E.V.. spatial complexity masking<br \/>-p_mask            &lt;float&gt; E.V.. inter masking<br \/>-dark_mask         &lt;float&gt; E.V.. compresses dark areas stronger than medium ones<br \/>-idct              &lt;int&gt;   EDV.. select IDCT implementation<br \/>   auto                    EDV..<br \/>   int                     EDV..<br \/>   simple                  EDV..<br \/>   simplemmx               EDV..<br \/>   libmpeg2mmx             EDV..<br \/>   ps2                     EDV..<br \/>   mlib                    EDV..<br \/>   arm                     EDV..<br \/>   altivec                 EDV..<br \/>   sh4                     EDV..<br \/>   simplearm               EDV..<br \/>   simplearmv5te           EDV..<br \/>   simplearmv6             EDV..<br \/>   simpleneon              EDV..<br \/>   simplealpha             EDV..<br\n\/>   h264                    EDV..<br \/>   vp3                     EDV..<br \/>   ipp                     EDV..<br \/>   xvidmmx                 EDV..<br \/>   faani                   EDV.. floating point AAN IDCT<br \/>-ec                &lt;flags&gt; .DV.. set error concealment strategy<br \/>   guess_mvs               .DV.. iterative motion vector (MV) search (slow)<br \/>   deblock                 .DV.. use strong deblock filter for damaged MBs<br \/>-pred              &lt;int&gt;   E.V.. prediction method<br \/>   left                    E.V..<br \/>   plane                   E.V..<br \/>   median                  E.V..<br \/>-aspect            &lt;rational&gt; E.V.. sample aspect ratio<br \/>-debug             &lt;flags&gt; EDVAS print specific debug info<br \/>   pict                    .DV.. picture info<br \/>   rc                      E.V.. rate control<br \/>   bitstream               .DV..<br \/>   mb_type                 .DV.. macroblock (MB) type<br \/>   qp                      .DV.. per-block quantization parameter (QP)<br \/>   mv                      .DV.. motion vector<br \/>   dct_coeff               .DV..<br \/>   skip                    .DV..<br \/>   startcode               .DV..<br \/>   pts                     .DV..<br \/>   er                      .DV.. error recognition<br \/>   mmco                    .DV.. memory management control operations (H.264)<br \/>   bugs                    .DV..<br \/>   vis_qp                  .DV.. visualize quantization parameter (QP), lower QP are tinted greener<br \/>   vis_mb_type             .DV.. visualize block types<br \/>   buffers                 .DV.. picture buffer allocations<br \/>-vismv             &lt;int&gt;   .DV.. visualize motion vectors (MVs)<br \/>   pf                      .DV.. forward predicted MVs of P-frames<br \/>   bf                      .DV.. forward predicted MVs of B-frames<br \/>   bb                      .DV.. backward predicted MVs of B-frames<br \/>-mb_qmin           &lt;int&gt;   E.V.. obsolete, use qmin<br \/>-mb_qmax           &lt;int&gt;   E.V.. obsolete, use qmax<br \/>-cmp               &lt;int&gt;   E.V.. full pel me compare function<br \/>   sad                     E.V.. sum of absolute differences, fast (default)<br \/>   sse                     E.V.. sum of squared errors<br \/>   satd                    E.V.. sum of absolute Hadamard transformed differences<br \/>   dct                     E.V.. sum of absolute DCT transformed differences<br \/>   psnr                    E.V.. sum of squared quantization errors (avoid, low quality)<br \/>   bit                     E.V.. number of bits needed for the block<br \/>   rd                      E.V.. rate distortion optimal, slow<br \/>   zero                    E.V.. 0<br \/>   vsad                    E.V.. sum of absolute vertical differences<br \/>   vsse                    E.V.. sum of squared vertical differences<br \/>   nsse                    E.V.. noise preserving sum of squared differences<br \/>   w53                     E.V.. 5\/3 wavelet, only used in snow<br \/>   w97                     E.V.. 9\/7 wavelet, only used in snow<br \/>   dctmax                  E.V..<br \/>   chroma                  E.V..<br \/>-subcmp            &lt;int&gt;   E.V.. sub pel me compare function<br \/>   sad                     E.V.. sum of absolute differences, fast (default)<br \/>   sse                     E.V.. sum of squared errors<br \/>   satd                    E.V.. sum of absolute Hadamard transformed differences<br \/>   dct                     E.V.. sum of absolute DCT transformed differences<br \/>   psnr                    E.V.. sum of squared quantization errors (avoid, low quality)<br \/>   bit                     E.V.. number of bits needed for the block<br \/>   rd                      E.V.. rate distortion optimal, slow<br \/>   zero                    E.V.. 0<br \/>   vsad                    E.V.. sum of absolute vertical differences<br \/>   vsse                    E.V.. sum of squared vertical differences<br \/>   nsse                    E.V.. noise preserving sum of squared differences<br \/>   w53                     E.V.. 5\/3 wavelet, only used in snow<br \/>   w97                     E.V.. 9\/7 wavelet, only used in snow<br \/>   dctmax                  E.V..<br \/>   chroma                  E.V..<br \/>-mbcmp             &lt;int&gt;   E.V.. macroblock compare function<br \/>   sad                     E.V.. sum of absolute differences, fast (default)<br \/>   sse                     E.V.. sum of squared errors<br \/>   satd                    E.V.. sum of absolute Hadamard transformed differences<br \/>   dct                     E.V.. sum of absolute DCT transformed differences<br \/>   psnr                    E.V.. sum of squared quantization errors (avoid, low quality)<br \/>   bit                     E.V.. number of bits needed for the block<br \/>   rd                      E.V.. rate distortion optimal, slow<br \/>   zero                    E.V.. 0<br \/>   vsad                    E.V.. sum of absolute vertical differences<br \/>   vsse                    E.V.. sum of squared vertical differences<br \/>   nsse                    E.V.. noise preserving sum of squared differences<br \/>   w53                     E.V.. 5\/3 wavelet, only used in snow<br \/>   w97                     E.V.. 9\/7 wavelet, only used in snow<br \/>   dctmax                  E.V..<br \/>   chroma                  E.V..<br \/>-ildctcmp          &lt;int&gt;   E.V.. interlaced dct compare function<br \/>   sad                     E.V.. sum of absolute differences, fast (default)<br \/>   sse                     E.V.. sum of squared errors<br \/>   satd                    E.V.. sum of absolute Hadamard transformed differences<br \/>   dct                     E.V.. sum of absolute DCT transformed differences<br \/>   psnr                    E.V.. sum of squared quantization errors (avoid, low quality)<br \/>   bit                     E.V.. number of bits needed for the block<br \/>   rd                      E.V.. rate distortion optimal, slow<br \/>   zero                    E.V.. 0<br \/>   vsad                    E.V.. sum of absolute vertical differences<br \/>   vsse                    E.V.. sum of squared vertical differences<br \/>   nsse                    E.V.. noise preserving sum of squared differences<br \/>   w53                     E.V.. 5\/3 wavelet, only used in snow<br \/>   w97                     E.V.. 9\/7 wavelet, only used in snow<br \/>   dctmax                  E.V..<br \/>   chroma                  E.V..<br \/>-dia_size          &lt;int&gt;   E.V.. diamond type &#038; size for motion estimation<br \/>-last_pred         &lt;int&gt;   E.V.. amount of motion predictors from the previous frame<br \/>-preme             &lt;int&gt;   E.V.. pre motion estimation<br \/>-precmp            &lt;int&gt;   E.V.. pre motion estimation compare function<br \/>   sad                     E.V.. sum of absolute differences, fast (default)<br \/>   sse                     E.V.. sum of squared errors<br \/>   satd                    E.V.. sum of absolute Hadamard transformed differences<br \/>   dct                     E.V.. sum of absolute DCT transformed differences<br \/>   psnr                    E.V.. sum of squared quantization errors (avoid, low quality)<br \/>   bit                     E.V.. number of bits needed for the block<br \/>   rd                      E.V.. rate distortion optimal, slow<br \/>   zero                    E.V.. 0<br \/>   vsad                    E.V.. sum of absolute vertical differences<br \/>   vsse                    E.V.. sum of squared vertical differences<br \/>   nsse                    E.V.. noise preserving sum of squared differences<br \/>   w53                     E.V.. 5\/3 wavelet, only used in snow<br \/>   w97                     E.V.. 9\/7 wavelet, only used in snow<br \/>   dctmax                  E.V..<br \/>   chroma                  E.V..<br \/>-pre_dia_size      &lt;int&gt;   E.V.. diamond type &#038; size for motion estimation pre-pass<br \/>-subq              &lt;int&gt;   E.V.. sub pel motion estimation quality<br \/>-me_range          &lt;int&gt;   E.V.. limit motion vectors range (1023 for DivX player)<br \/>-ibias             &lt;int&gt;   E.V.. intra quant bias<br \/>-pbias<br \/>\n         &lt;int&gt;   E.V.. inter quant bias<br \/>-coder             &lt;int&gt;   E.V..<br \/>   vlc                     E.V.. variable length coder \/ huffman coder<br \/>   ac                      E.V.. arithmetic coder<br \/>   raw                     E.V.. raw (no encoding)<br \/>   rle                     E.V.. run-length coder<br \/>   deflate                 E.V.. deflate-based coder<br \/>-context           &lt;int&gt;   E.V.. context model<br \/>-mbd               &lt;int&gt;   E.V.. macroblock decision algorithm (high quality mode)<br \/>   simple                  E.V.. use mbcmp (default)<br \/>   bits                    E.V.. use fewest bits<br \/>   rd                      E.V.. use best rate distortion<br \/>-sc_threshold      &lt;int&gt;   E.V.. scene change threshold<br \/>-lmin              &lt;int&gt;   E.V.. min lagrange factor (VBR)<br \/>-lmax              &lt;int&gt;   E.V.. max lagrange factor (VBR)<br \/>-nr                &lt;int&gt;   E.V.. noise reduction<br \/>-rc_init_occupancy &lt;int&gt;   E.V.. number of bits which should be loaded into the rc buffer before decoding starts<br \/>-inter_threshold   &lt;int&gt;   E.V..<br \/>-flags2            &lt;flags&gt; EDVA.<br \/>   fast                    E.V.. allow non spec compliant speedup tricks<br \/>   sgop                    E.V.. strictly enforce gop size<br \/>   noout                   E.V.. skip bitstream encoding<br \/>   local_header            E.V.. place global headers at every keyframe instead of in extradata<br \/>   bpyramid                E.V.. allows B-frames to be used as references for predicting<br \/>   wpred                   E.V.. weighted biprediction for b-frames (H.264)<br \/>   mixed_refs              E.V.. one reference per partition, as opposed to one reference per macroblock<br \/>   dct8x8                  E.V.. high profile 8&#215;8 transform (H.264)<br \/>   fastpskip               E.V.. fast pskip (H.264)<br \/>   aud                     E.V.. access unit delimiters (H.264)<br \/>   skiprd                  E.V.. RD optimal MB level residual skipping<br \/>   ivlc                    E.V.. intra vlc table<br \/>   drop_frame_timecode         E.V..<br \/>   non_linear_q            E.V.. use non linear quantizer<br \/>   reservoir               E..A. use bit reservoir<br \/>-error             &lt;int&gt;   E.V..<br \/>-antialias         &lt;int&gt;   .DV.. MP3 antialias algorithm<br \/>   auto                    .DV..<br \/>   fastint                 .DV..<br \/>   int                     .DV..<br \/>   float                   .DV..<br \/>-qns               &lt;int&gt;   E.V.. quantizer noise shaping<br \/>-threads           &lt;int&gt;   EDV..<br \/>-mb_threshold      &lt;int&gt;   E.V.. macroblock threshold<br \/>-dc                &lt;int&gt;   E.V.. intra_dc_precision<br \/>-nssew             &lt;int&gt;   E.V.. nsse weight<br \/>-skip_top          &lt;int&gt;   .DV.. number of macroblock rows at the top which are skipped<br \/>-skip_bottom       &lt;int&gt;   .DV.. number of macroblock rows at the bottom which are skipped<br \/>-profile           &lt;int&gt;   E.VA.<br \/>   unknown                 E.VA.<br \/>   aac_main                E..A.<br \/>   aac_low                 E..A.<br \/>   aac_ssr                 E..A.<br \/>   aac_ltp                 E..A.<br \/>-level             &lt;int&gt;   E.VA.<br \/>   unknown                 E.VA.<br \/>-lowres            &lt;int&gt;   .DV.. decode at 1= 1\/2, 2=1\/4, 3=1\/8 resolutions<br \/>-skip_threshold    &lt;int&gt;   E.V.. frame skip threshold<br \/>-skip_factor       &lt;int&gt;   E.V.. frame skip factor<br \/>-skip_exp          &lt;int&gt;   E.V.. frame skip exponent<br \/>-skipcmp           &lt;int&gt;   E.V.. frame skip compare function<br \/>   sad                     E.V.. sum of absolute differences, fast (default)<br \/>   sse                     E.V.. sum of squared errors<br \/>   satd                    E.V.. sum of absolute Hadamard transformed differences<br \/>   dct                     E.V.. sum of absolute DCT transformed differences<br \/>   psnr                    E.V.. sum of squared quantization errors (avoid, low quality)<br \/>   bit                     E.V.. number of bits needed for the block<br \/>   rd                      E.V.. rate distortion optimal, slow<br \/>   zero                    E.V.. 0<br \/>   vsad                    E.V.. sum of absolute vertical differences<br \/>   vsse                    E.V.. sum of squared vertical differences<br \/>   nsse                    E.V.. noise preserving sum of squared differences<br \/>   w53                     E.V.. 5\/3 wavelet, only used in snow<br \/>   w97                     E.V.. 9\/7 wavelet, only used in snow<br \/>   dctmax                  E.V..<br \/>   chroma                  E.V..<br \/>-border_mask       &lt;float&gt; E.V.. increases the quantizer for macroblocks close to borders<br \/>-mblmin            &lt;int&gt;   E.V.. min macroblock lagrange factor (VBR)<br \/>-mblmax            &lt;int&gt;   E.V.. max macroblock lagrange factor (VBR)<br \/>-mepc              &lt;int&gt;   E.V.. motion estimation bitrate penalty compensation (1.0 = 256)<br \/>-skip_loop_filter  &lt;int&gt;   .DV..<br \/>   none                    .DV..<br \/>   default                 .DV..<br \/>   noref                   .DV..<br \/>   bidir                   .DV..<br \/>   nokey                   .DV..<br \/>   all                     .DV..<br \/>-skip_idct         &lt;int&gt;   .DV..<br \/>   none                    .DV..<br \/>   default                 .DV..<br \/>   noref                   .DV..<br \/>   bidir                   .DV..<br \/>   nokey                   .DV..<br \/>   all                     .DV..<br \/>-skip_frame        &lt;int&gt;   .DV..<br \/>   none                    .DV..<br \/>   default                 .DV..<br \/>   noref                   .DV..<br \/>   bidir                   .DV..<br \/>   nokey                   .DV..<br \/>   all                     .DV..<br \/>-bidir_refine      &lt;int&gt;   E.V.. refine the two motion vectors used in bidirectional macroblocks<br \/>-brd_scale         &lt;int&gt;   E.V.. downscales frames for dynamic B-frame decision<br \/>-crf               &lt;float&gt; E.V.. enables constant quality mode, and selects the quality (x264)<br \/>-cqp               &lt;int&gt;   E.V.. constant quantization parameter rate control method<br \/>-keyint_min        &lt;int&gt;   E.V.. minimum interval between IDR-frames (x264)<br \/>-refs              &lt;int&gt;   E.V.. reference frames to consider for motion compensation (Snow)<br \/>-chromaoffset      &lt;int&gt;   E.V.. chroma qp offset from luma<br \/>-bframebias        &lt;int&gt;   E.V.. influences how often B-frames are used<br \/>-trellis           &lt;int&gt;   E.VA. rate-distortion optimal quantization<br \/>-directpred        &lt;int&gt;   E.V.. direct mv prediction mode &#8211; 0 (none), 1 (spatial), 2 (temporal), 3 (auto)<br \/>-complexityblur    &lt;float&gt; E.V.. reduce fluctuations in qp (before curve compression)<br \/>-deblockalpha      &lt;int&gt;   E.V.. in-loop deblocking filter alphac0 parameter<br \/>-deblockbeta       &lt;int&gt;   E.V.. in-loop deblocking filter beta parameter<br \/>-partitions        &lt;flags&gt; E.V.. macroblock subpartition sizes to consider<br \/>   parti4x4                E.V..<br \/>   parti8x8                E.V..<br \/>   partp4x4                E.V..<br \/>   partp8x8                E.V..<br \/>   partb8x8                E.V..<br \/>-sc_factor         &lt;int&gt;   E.V.. multiplied by qscale for each frame and added to scene_change_score<br \/>-mv0_threshold     &lt;int&gt;   E.V..<br \/>-b_sensitivity     &lt;int&gt;   E.V.. adjusts sensitivity of b_frame_strategy 1<br \/>-compression_level &lt;int&gt;   E.VA.<br \/>-use_lpc           &lt;int&gt;   E..A. sets whether to use LPC mode (FLAC)<br \/>-lpc_coeff_precision &lt;int&gt;   E..A. LPC coefficient precision (FLAC)<br \/>-min_prediction_order &lt;int&gt;   E..A.<br \/>-max_prediction_order &lt;int&gt;   E..A.<br \/>-prediction_order_method &lt;int&gt;   E..A. search method for selecting prediction order<br \/>-min_partition_order &lt;int&gt;   E..A.<br \/>-max_partition_order &lt;int&gt;   E..A.<br \/>-timecode_frame_start &lt;int64&gt; E.V.. GOP timeco<\/p>\n<p>de frame start number, in non drop frame format<br \/>-request_channels  &lt;int&gt;   .D.A. set desired number of audio channels<br \/>-drc_scale         &lt;float&gt; .D.A. percentage of dynamic range compression to apply<br \/>-channel_layout    &lt;int64&gt; ED.A.<br \/>-request_channel_layout &lt;int64&gt; .D.A.<br \/>-rc_max_vbv_use    &lt;float&gt; E.V..<br \/>-rc_min_vbv_use    &lt;float&gt; E.V..<br \/>-ticks_per_frame   &lt;int&gt;   EDVA.<br \/>-color_primaries   &lt;int&gt;   EDV..<br \/>-color_trc         &lt;int&gt;   EDV..<br \/>-colorspace        &lt;int&gt;   EDV..<br \/>-color_range       &lt;int&gt;   EDV..<br \/>-chroma_sample_location &lt;int&gt;   EDV..<\/p>\n<p>AVFormatContext AVOptions:<br \/>-probesize         &lt;int&gt;   .D&#8230; set probing size<br \/>-muxrate           &lt;int&gt;   E&#8230;. set mux rate<br \/>-packetsize        &lt;int&gt;   E&#8230;. set packet size<br \/>-fflags            &lt;flags&gt; ED&#8230;<br \/>   ignidx                  .D&#8230; ignore index<br \/>   genpts                  .D&#8230; generate pts<br \/>-track             &lt;int&gt;   E&#8230;.  set the track number<br \/>-year              &lt;int&gt;   E&#8230;. set the year<br \/>-analyzeduration   &lt;int&gt;   .D&#8230; how many microseconds are analyzed to estimate duration<br \/>-cryptokey         &lt;binary&gt; .D&#8230; decryption key<br \/>-indexmem          &lt;int&gt;   .D&#8230; max memory used for timestamp index (per stream)<br \/>-rtbufsize         &lt;int&gt;   .D&#8230; max memory used for buffering real-time frames<br \/>-fdebug            &lt;flags&gt; ED&#8230; print specific debug info<br \/>   ts                      ED&#8230;<\/p>\n<p>SWScaler AVOptions:<br \/>-sws_flags         &lt;flags&gt; E.V.. scaler\/cpu flags<br \/>   fast_bilinear           E.V.. fast bilinear<br \/>   bilinear                E.V.. bilinear<br \/>   bicubic                 E.V.. bicubic<br \/>   experimental            E.V.. experimental<br \/>   neighbor                E.V.. nearest neighbor<br \/>   area                    E.V.. averaging area<br \/>   bicublin                E.V.. luma bicubic, chroma bilinear<br \/>   gauss                   E.V.. gaussian<br \/>   sinc                    E.V.. sinc<br \/>   lanczos                 E.V.. lanczos<br \/>   spline                  E.V.. natural bicubic spline<br \/>   print_info              E.V.. print info<br \/>   accurate_rnd            E.V.. accurate rounding<br \/>   mmx                     E.V.. MMX SIMD acceleration<br \/>   mmx2                    E.V.. MMX2 SIMD acceleration<br \/>   3dnow                   E.V.. 3DNOW SIMD acceleration<br \/>   altivec                 E.V.. AltiVec SIMD acceleration<br \/>   bfin                    E.V.. Blackfin SIMD acceleration<br \/>   full_chroma_int         E.V.. full chroma interpolation<br \/>   full_chroma_inp         E.V.. full chroma input<br \/>   bitexact                E.V..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f55\u5c4f\u5e55ffmpeg -f x11grab -s 686&#215;448 -r 10 -i :0.0+92,1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-165","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/posts\/165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=165"}],"version-history":[{"count":0,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/posts\/165\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}