Encoding h.264 Video with ffmpeg

Until now this page is just a reminder for myself. Explanation of the parameters may follow some time. # firstpass ffmpeg -an -pass 1 -threads 4 -i inputfile.mpg -vcodec libx264 -b 1000k -flags +loop+mv4 -cmp 256 \ …