Jeremy Sands

Res publica non dominetur

How to convert video for playback on your Motorola Droid

Things you will need:
– Linux
– ffmpeg
– A Droid, dummy

Warning: I do have all the freedom hating codecs installed. You will have to output to H.264, and depending on your inputs, you may need to hate freedom even more than that. 😛


ffmpeg -i filein.mp4 -y -subq 6 -deinterlace -level 30 -f mp4 -acodec libfaac -ab 160k -ar 48000 -ac 2 -vcodec libx264 -b 2000k -maxrate 2000k -bufsize 2000kb -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -coder 0 -refs 2 -flags +loop -vol 256 -trellis 1 -me_method umh -async 1 -s wvga fileout.mp4

Comments

Comment