Top
Best
New

Posted by ea016 18 hours ago

H.264 Is Magic (2016)(sidbala.com)
435 points | 149 commentspage 3
rishabhd 18 hours ago|
It is tradition to re-read this every year. Along with the m1 blackmagic one.
jruohonen 17 hours ago||
Ref.:

https://news.ycombinator.com/item?id=38099633

amelius 16 hours ago||
I wonder if an AI can make a better codec, and if we would think of it as "magic".
bugake 7 hours ago||
Transmission cost of an interpolated frame: 0 with DLSS. But adding a little extra information could help reduce artifacts.

Sure, DLSS uses game engine information, such as motion vectors and depth, which is unavailable for video. But neural networks can estimate motion directly from video frames and interpolate without that information. Providing additional data to fix artifacts would cost little.

tgtweak 16 hours ago||
There are some interesting advances in neural video encoders and decoders - I suspect it will look a lot like the neural models in DLSS 5 for compression -> decompression/reconstitution. There have been some lossless text-compression neural models built that seem to surpass even high level compression algorithms so with time those could get there.
Dylan16807 15 hours ago||
The fact that you said 5 worries me.
whall6 18 hours ago||
Socrates was certainly a pioneer of conveying information efficiently
Dan42 15 hours ago||
Well, that was disappointing. Everything in that article is generic to any video compression codec, even MPEG. I thought this would discuss why H.264 compresses so much more than predecessors, but not a word about that. Should have been titled "video compression is magic".
dzdt 18 hours ago||
Article is dated (2016).
lirolero 18 hours ago|
[dead]
shevy-java 18 hours ago||
The only question I have:

Should I use H.264 or H.265?

F3nd0 17 hours ago||
For personal use, if those are your only two choices, then go with H.265 for higher efficiency, or H.264 for wider compatibility. If other codecs are an option, go with AV1 for higher efficiency. It’s currently the best and already pretty widely supported.
qingcharles 17 hours ago|||
The main reason to use H.264 in 2026 is legacy device support. Some devices cannot play H.265, but H.264 is playable almost anywhere, as a 20+ year old codec.

I was surprised that Twitter only lets you upload H.264 still, in 2026.

favorited 15 hours ago||
Twitter's video story is not their strongest. I used to run an account that posted a lot of video content, and their compression quality was so mixed that I ended up writing a little mobile app that would transcode videos to Twitter's advertised optimal format (720p 30fps H.264 5Mbps + AAC LC) before uploading them.

Even then, it was a crapshoot whether or not the video would look like a pixel collage, and I'd need to delete the Tweet, tweak the video a bit, and try again.

quibono 18 hours ago|||
It depends on how you want to play or share the media.

E.g. I remember having lots of issues sharing smaller video files encoded with H.265 via both WhatsApp and Messenger. iMessage doesn't support H.265 (or at least it didn't work for me at the time).

adgjlsfhk1 16 hours ago|||
H.264 (if you want to support 20 year old devices) or av1. Don't use h.265. The patent situation around it is a total mess.
1317 16 hours ago|||
h264, if you had a reason to use something else you wouldn't need to ask
qmr 17 hours ago|||
That all depends on your use case.

How are you generating video?

How are you playing it back?

alt227 18 hours ago|||
H.264 for 1080p and less. H.265 for 2160p.
unethical_ban 16 hours ago|||
Patents aside, h265 from my reading is almost universally better than h264. My understanding which could be wrong is that for a given quality h265 will always be smaller, and particularly for >1080p it's recommended. Hardware support has been around since at least the Shield days (2019) so that shouldn't be an issue. Only use h264 if you are needing to hw-decode on really old hardware.

AV1 is the future/present: Fully open standard, better than h265. Only downside is hardware support: You need hardware made in the last few years.

Sopel 16 hours ago||
that's like asking "should I use an audi or a tesla"
msarda_23 4 hours ago||
[flagged]
MuseRefer 10 hours ago||
[flagged]
hexjy 3 hours ago|
[flagged]
More comments...