Recommendation on the best quality/performance H264 encoder for video encoding?

kheya picture kheya · Mar 14, 2012 · Viewed 34.4k times · Source

I am looking for a video encoder that is fast, requires less CPU power and produces very good quality mp4 video.

The input videos can be in any format and uploaded by users.

Only thing I know is FFMPEG library.

Is there anything else that is better?

The program must have a batch utility (exe) that I am interested in.

I would appreciate if you kindly share your knowledge.

Thanks

Answer

llogan picture llogan · Mar 14, 2012

Use x264. It's fast and flexible enough for it to suit your needs. Other H.264 video encoders are junk compared to it and this isn't just my opinion. You can use it directly or via ffmpeg. You can get recent FFmpeg builds for Windows, OS X, and Linux via the FFmpeg download page. See the following answers for more information on determining the encoding options that will work for you:

Also see:

If you're going to be displaying the output files on a web site with progressive downloading then consider using the option -movflags faststart. It will move a small amount of data to the beginning of the file so it can begin playing before the file is completely downloaded.