Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, but AV1 hardware encoding beats x264 software encoding, if thats the only other option (albeit not by much).


x264 opponents are earlier versions of AV1, namely VP8 and VP9.

x265 should be what is compared against AV1 when discussing quality and encode speeds.

We use x264 for compatibility purposes, if your device is intended to play video, it will decode x264. x265 decoders are in a lot of devices at this point, and AV1 is just now starting to see representation.

x264 is like .jpeg and will probably never die.


Yeah y'all are preaching to the choir, but AVC is still the default for... Well, everything, including OP.

It will probably eventually be like mp3, where users are still reflexively encoding to it without a good reason.


Unlike mp3s compared to other audio codecs, h264 has the luxury of pretty much ubiquitous support for hardware decoders and encoders against other video codecs, so I believe it will have an even longer life than mp3.


A nitpick: x264 is an encoder implementation, the format itself is called H.264 (and H.265).


The benchmark should be against x265 though, which is mainstream now


Is it? AFAICT most things are still on h264.


Most things where? Like, the biggest video app on the earth called Youtube uses mostly VP9/AV1 (it will only play H.264 if you don't have any encoding for VP9 OR AV1, which is very, rare).

Netflix also uses H.265/AV1. Amazon, HBO, Disney, etc also use H.265, but I believe only on higher resolutions.

On Apple world even phone pics uses HEVC (HEIC).

I think it's a total mix honestly (Because tiktok/X/Meta uses h264 as far I know).


Most things like the rest of the world - H.264 is really the only option.

More technically correctly, more than half the currently in use devices in the world do not support more than H.264

Like all my Smart TVs, my kitchen iMac, my parents’ phones etc. only my phone and my laptop support HEVC.


They force AV1 and VP9 via software decoding even if your hardware doesn't support it. Youtube been using VP9 for a decade, even without HW support at the time.

Netflix uses AV1 when on mobile data, even if the HW doesn't support as well (for TVs, it need HW decoding).

The only way to not use VP9 on Youtube is if you don't have the codec installed, which is super rare because the codec is open.


Do you have a way to reproduce this?


This comparison is not mine, and its excellent:

https://giannirosato.com/blog/post/nvenc-v-qsv/

x264 used the medium 10 bit preset, which is a bit of an oddball because 10 bit AVC is "unofficial," and many hardware decoders don't support it.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: