I'm using x264 to encode videos for a flash video streaming site. I use -tune fastdecode
, which turns off cabac and deblock, which I've heard are the features which take most cpu to decode. However, I've still had reports of jerky video playback and high cpu usage.
Heres a typical encode command:
ffmpeg -y -i $infile -c:v libx264 -crf 28 -preset slow -vprofile main -tune fastdecode -f h264 -r:v 29.970 -vf "..." $outfile
My users view the videos using flash, on all desktop OSes and a wide variety of hardware.
Which encoding options are the most cpu-intense, and what are the recommended options for 'reasonable' playback on most machines?