If you're producing solely H.264-encoded video, optimizing your encodes can save you bandwidth costs

29 points•dabinat•4 days ago•13 comments•

13 comments

netsharc1 day ago
Gotta love an article about video compression where the top image is a blurry downscaled-and-then-upscaled image, that's not even clickable to zoom.

Yes, if you scroll down the image is there again, still a bit blurry (so much winning), but clickable to embiggen. Your CMS is giving everyone a terrible first impression!

dylan6041 day ago
It's been a long time since I've had to worry about encoding parameters, but even these settings feel like a set it and forget it compared to what we used to do in the past. Comparing encoding for streaming vs shiny round discs is so different. We would do scene by scene encodes with a minimum of 2-passes allowing for even more when necessary. We were strict on controlling the VBV but these formats had more bandwidth than streaming and were not susceptible to congestion and buffering issues. The video was even sent to QA to look for any kind of issues with the encoding. I doubt anybody looks at the best quality of the ladder let alone all of the variations before it reaches the users.
aand161 day ago
I thought VMAF was a bad metric for perceived video quality.

CVVDP is best and SSIMULACRA2 and Butteraugli pretty good.

antisthenes1 day ago
I'll save everyone the time:

You gain ~0.7 VMAF score (both above 90) and save 33% bandwidth at the cost of 3.2x longer encoding for (presumably) some set of 1080p clips used in testing.

NooneAtAll31 day ago
what about decoding speed?

just how much worse will it be for my old CPU?

ddorian431 day ago
Should be the same?
Why not use x265?
slimscsi1 day ago
Often the increased encoding cost does pay for the reduced bandwidth cost. And that assumes you can navigate and afford the HEVC license.
thunderfork1 day ago
Some clients only take H264, depends on what you're delivering to. Often for web media you end up having to serve [h264, h265, av1], which is a real pain

Read the full thread on Hacker News →

Related stories