sc_threshold threshold scene change threshold inter_matrix matrix specify inter matrix coeffs intra_matrix matrix specify intra matrix coeffs vhook module insert video processing module vstats dump video coding statistics to file psnr calculate PSNR of compressed frames strict strictness how strictly to follow the standards bug param workaround not auto detected encoder bugs rc_override override rate control override for specific intervals rc_eq equation set rate control equation i_qoffset offset qp offset between p and i frames b_qoffset offset qp offset between p and b frames i_qfactor factor qp factor between p and i frames b_qfactor factor qp factor between p and b frames rc_init_cplx complexity initial complexity for 1-pass encoding qcomp compression video quantiser scale compression (VBR) qsquish squish how to keep quantiser between qmin and qmax (0 = clip, 1 = use differentiable function) qblur blur video quantiser scale blur (VBR) qdiff q max difference between the quantiser scale (VBR) mblmax q max macroblock quantiser scale (VBR) mblmin q min macroblock quantiser scale (VBR) lmax lambda max video lagrange factor (VBR) lmin lambda min video lagrange factor (VBR) qscale q use fixed video quantiser scale (VBR) g gop_size set the group of picture size newvideo add a new video stream to the current output stream passlogfile file select two pass log file name sameq use same video quality as source (implies VBR) vcodec codec force video codec ('copy' to copy stream) bufsize size set ratecontrol buffer size (in kByte) minrate bitrate set min video bitrate tolerance (in kbit/s) maxrate bitrate set max video bitrate tolerance (in kbit/s) bt tolerance set video bitrate tolerance (in kbit/s) padcolor color set color of pad bands (Hex 000000 thru FFFFFF) padright size set right pad band size (in pixels) padleft size set left pad band size (in pixels) padbottom size set bottom pad band size (in pixels) padtop size set top pad band size (in pixels) cropright size set right crop band size (in pixels) cropleft size set left crop band size (in pixels) cropbottom size set bottom crop band size (in pixels) croptop size set top crop band size (in pixels) s size set frame size (WxH or abbreviation) r rate set frame rate (Hz value, fraction or abbreviation) vframes number set the number of video frames to record slang code set the ISO 639 language code (3 letters) of the current subtitle stream newsubtitle add a new subtitle stream to the current output stream scodec codec force subtitle codec ('copy' to copy stream) dframes number set the number of data frames to record target type specify target file type ("vcd", "svcd", "dvd", "dv", "dv50", "pal-vcd", "ntsc-svcd". itsoffset time_off set the input ts offset formats show available formats, codecs, protocols. Which returns all of the options available: It is easy to see the flexibility and limitless combinations of conversions possible by typing Useful if the codecs mentioned above are installed to non-standard locations. extra-libs allows you to point the compiler to additional libraries. extra-cflags allows you to point the compiler to include files that are not in standard locations ( /usr/lib or /usr/local/lib). enable-libogg and -enable-libvorbis and -enable-libfaac and -enable-libfaad allow you to stick it to the (fee-charging MP3-owning) man by using a free codec, available at enable-libmp3lame allows encoding/decoding MP3s enable-libamr_nb and -enable-libamr_wb is for encoding/decoding narrowband and wideband audio streams from cellphones (linux-friendly versions of these libaries are available at ) enable-libxvid is for encoding/decoding using the DivX standard (which uses the XviD library, available at ) enable-liba52 is for encoding/decoding AC3 aduio extra-libs="-L/path/to/some/lib -libsomelibrary -L/path/to/another/lib -libanotherlibrary" extra-cflags="-I/path/to/some/include -I/path/to/another/include" \ There's a very helpful guide to installing ffmpeg here: You can go to to download either a bleeding-edge SVN or Git version, or a release version. If you're on a Mac, you can now use Brew to install ffmpeg! This saves you the headache of downloading/installing a dozen dependencies. You can do a number of different operations, but these can be grouped into a few categories, as they are here: image-to-video, video-to-image, and video-to-video. The power of ffmpeg lies in its ability to convert just about anything to just about anything else. Ffmpeg is an all-in-one video conversion swiss army knife.
0 Comments
Leave a Reply. |