Computing

ffmpeg x264 profile setting

Donghoon 2010. 2. 24. 22:06

 

# option for highprofile

options_hp=-vcodec libx264 -b 512k -flags +loop+mv4 -cmp 256 \

-partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 \

-me_method hex -subq 7 -trellis 1 -refs 5 -bf 3 \

-flags2 +bpyramid+wpred+mixed_refs+dct8x8 -coder 1 -me_range 16 \

-g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10\

-qmax 51 -qdiff 4

 

# Option for Baseprofile

options_bp=-vcodec libx264 -b 512k -flags +loop+mv4 -cmp 256 \

  -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 \

  -me_method hex -subq 7 -trellis 1 -refs 5 -bf 0 \

  -flags2 +mixed_refs -coder 0 -me_range 16 \

           -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10\

  -qmax 51 -qdiff 4

 

http://rob.opendot.cl/index.php/useful-stuff/ffmpeg-x264-encoding-guide/

http://sites.google.com/site/linuxencoding/x264-ffmpeg-mapping

http://rob.opendot.cl/index.php/useful-stuff/h264-profiles-and-levels/

http://sites.google.com/site/linuxencoding/x264-encoding-guide

http://www.ffmpeg.org/ffmpeg-doc.html