Tuning Up Your H.264 and HEVC Streams

Dan Rayburn recently published the video and slides from my NAB Streaming Summit session, where I walked through real-world techniques to optimize x264 and x265 for quality and efficiency. No AI, no codecs from 2030, just practical optimizations that work today.

If You’re Still Encoding with x264 and x265—Good

You don’t need to jump to AV1 or VVC to get results. For most publishers, H.264 and HEVC still carry the bulk of traffic, especially on mobile, set-top boxes, and connected TVs. But too many of those streams are leaving efficiency and quality on the table.

The Most Impactful Change? Per-Title Encoding

If you’re not already using per-title or content-adaptive encoding, start there. It consistently delivers the biggest bandwidth savings without degrading quality. Everything else on the checklist builds on that.

If you’re already doing per-title, or not quite ready for it—there’s still a lot you can fix.

Download the Checklists

I’ve broken the tuning guidance into two targeted checklists, one for each codec. They cover:

  • GOP structure and segment alignment

  • Rate control: 2-pass VBR, capped CRF, and when to use CBR

  • Preset strategy based on volume and delivery economics

  • Low-rung scaling tweaks that boost VMAF with zero extra cost

  • Threading, QA traps, and cloud config tuning

Download the optimize x264 checklist here: x264-Optimization-Checklist.pdf (2798 downloads )

Download the optimize x265 checklist here: x265-Optimization-Checklist.pdf (2733 downloads )

These aren’t lab settings or encoder defaults. As you can see from the handout, these are all testing-based recommendations produced using FFmpeg, x264, x265, and VMAF. If you’re encoding at scale, or just trying to make older codecs go farther, this is how you do it.

Ready to Optimize Your Encoding Workflow?

I consult with organizations to help them improve their H.264 and HEVC encoding configurations. This can range from a quick review of existing settings to a more in-depth, testing-based optimization.

Not sure what kind of help you need? Begin with a complimentary 30-minute discovery call to assess your current approach and pinpoint the most valuable areas for improvement.

Send a note to jan.ozer@streaminglearningcenter.com to get started.

About Jan Ozer

Avatar photo
I help companies train new technical hires in streaming media-related positions; I also help companies optimize their codec selections and encoding stacks and evaluate new encoders and codecs. I am a contributing editor to Streaming Media Magazine, writing about codecs and encoding tools. I have written multiple authoritative books on video encoding, including Video Encoding by the Numbers: Eliminate the Guesswork from your Streaming Video (https://amzn.to/3kV6R1j) and Learn to Produce Video with FFmpeg: In Thirty Minutes or Less (https://amzn.to/3ZJih7e). I have multiple courses relating to streaming media production, all available at https://bit.ly/slc_courses. I currently work as www.netint.com as a Senior Director in Marketing.

Check Also

Netflix’s Masterclass: Engineering Live Streaming at Scale

As a technologist and part-time couch potato, I appreciate Netflix on many levels. During the …

What the Access Advance / Via LA Deal Doesn’t Change About Codec Adoption

The acquisition of Via Licensing Alliance’s HEVC and VVC programs by Access Advance is being …

What I Learned About Deploying AV1 from Two Deployers

I recently hosted a Streaming Media Connect panel titled “Benefits and Trade-Offs of Adopting and …

Leave a Reply

Your email address will not be published. Required fields are marked *