x264 is the open-source H.264 encoder that dominates everything. YouTube, Facebook, Vimeo, Hulu, Twitch, almost every video service in the last 15 years has run on x264 somewhere in its pipeline. It's been the reference benchmark in independent codec comparisons from 2006 through 2012 and remains the gold standard against which every other H.264 encoder is measured.
What makes x264 special isn't a single breakthrough but a decade of careful tuning. Built by VideoLAN (the team behind VLC) and a handful of open-source contributors, it bakes in dozens of "psychovisual" optimisations — small tweaks that produce visibly better video at the same bitrate by exploiting how human vision actually works, rather than just minimising raw pixel error. The result: at the same file size, x264 routinely beats commercial H.264 encoders that cost six figures, which is why those commercial encoders quietly use x264 components or licence its core.
For a product team, three things to know. First, x264 is free under GPL (with a commercial licence available if you need to ship it in closed-source software). Second, x264 has a preset knob from ultrafast to placebo — medium is the sensible default for VOD, veryslow squeezes the absolute best quality for premium catalogue work, superfast or ultrafast are for live streaming. Third, x264 is the source of truth: if a vendor says "our AVC compression is 30 % better than x264", that's a claim worth verifying, because the open-source target is genuinely very hard to beat.
The book · Volume 1 of 7
Video Encoding: A Complete Guide to Video Compression — From Pixels and Color to H.264, HEVC, AV1, Quality Metrics, and AI
x264 is still the reference H.264 encoder, and its presets and tunes decide most of the quality you get from AVC. Volume 1 covers x264 in detail: presets from ultrafast to placebo, CRF and rate control, psy tuning, and how it compares with x265, SVT-AV1 and hardware encoders. Written by Nikolay Sapunov, CEO at Fora Soft.
Need x264 settings that give the best quality at your speed budget?
Send us sample content and your hardware: we tune x264 presets and rate control per ladder rung and report quality, speed and bitrate. 250+ video products shipped since 2005.