News for hackers. Stuff that matters.
Re:H.264 Is Magic (2016) by kuschku on Saturday June 15, 2024 @03:37AM (#40688126)
> Hardware support has also been ubiquitous for a while now.

With how limited browser support for h265 is, I always have to encode an h264 version anyway.

At that point I just encode a 720p h264, a 1080p h264, and a 4K HDR AV1 encode of all media I store.

Re:H.264 Is Magic (2016) by babypuncher on Monday June 17, 2024 @04:56PM (#40710966)
That's on the browser vendors.

Google added HEVC support to Chrome in 104. It relies on decoders exposed by the host OS, negating the need to license a software decoder.

There's no reason Firefox couldn't do the same.

EDIT: Apparently, similar support showed up in nightly Firefox builds late last year, hidden behind `media.wmf.hevc.enabled`

Re:H.264 Is Magic (2016) by kuschku on Monday June 17, 2024 @07:32PM (#40712445)
> There's no reason Firefox couldn't do the same.

> It relies on decoders exposed by the host OS, negating the need to license a software decoder.

Windows requires you to pay (!) to get access to h265 decoding. Someone needs to license the decoder at some point, and that means you'll have to pay for it one way or the other.

Re:H.264 Is Magic (2016) by babypuncher on Tuesday June 18, 2024 @12:29PM (#40719639)
But the GPU vendors already provide this directly (Nvidia, Intel, and AMD). It can absolutely be done at no extra cost to the user. There are also open source software decoders that can be installed and play nice with WMF.
Re:H.264 Is Magic (2016) by kuschku on Wednesday June 19, 2024 @04:45AM (#40726207)
> But the GPU vendors already provide this directly (Nvidia, Intel, and AMD). It can absolutely be done at no extra cost to the user. There are also open source software decoders that can be installed and play nice with WMF.

Somehow I doubt that Nouveau or the in-kernel AMDGPU have paid the license fee for HEVC decoding, or that it works well with WMF...

Re:H.264 Is Magic (2016) by babypuncher on Thursday June 20, 2024 @05:58PM (#40743883)
We're just whittling down to a smaller and smaller subset of users. 99.9% of users shouldn't be made to go without just because 0.1% of users can't have it.

Though even then, ffmpeg is open source and decodes hevc just fine. I get why browser vendors would not want to bundle ffmpeg, but that shouldn't stop them from leveraging it if the user already has it installed.