Thursday 16 February 2012

ffmpeg: video conversion parameters

Sample ffmpeg conversion command - iOS and Android compatible.

ffmpeg -i test.mov -s 432x320 -vcodec libx264 -coder 0 -trellis 0 -bf 0 -subq 6 -refs 5 -me_range 16 -g 250 -sc_threshold 40 -keyint_min 25 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -acodec libfaac -ac 2 -b:v 384k -ar 16000 -ab 32000 -r 25 -partitions +parti4x4+parti8x8+partp4x4+partp8x8 -cmp 256 -flags +loop+mv4 -aspect 3:2 -y output.mp4


No comments:

Post a Comment