Hacker News new | ask | show | jobs
by janice1999 25 days ago
Warning: The video in the article contains VERY loud bleeps.
1 comments

Hi - I've fixed this and uploaded a replacement video with less loud beeps. Sorry about that.
I can't play the video at all in firefox desktop because the video is encoded as h265 which firefox won't play unless specific extensions are installed.

h264 is the better choice for short progressive download clips on websites if compatibility matters.

H265 plays fine in firefox for me! No special extensions, just linux
I'm on Windoze 10, integrated graphics on this particular PC, it doesn't play in FF.
huh. plays fine for me in firefox stable on linux, and with no extensions in firefox. Do you mean OS extensions?
I'm on Windows 10, integrated graphics. Firefox needs OS codec. I can play h265 fine in Potplayer but that uses its own built-in decoder.
Your system is broken, FF has supported h265 on every OS for a long time now:

>Firefox enables HEVC on:

>Windows from Firefox 134 using either hardware (on devices that support it, where the range is the same as Edge) or software (on Windows the user must pay for and install an extension)

>macOS from Firefox 136 using either hardware or software.

>Linux from Firefox 137 using either hardware or software (via the system ffmpeg).

>Android from Firefox 137 using hardware only.

https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Fo...

...and even if this wasn't the case, FF has 2.5% market share. Using a 20 year old codec for 2.5% would be insane. If anything, he should be using a newer codec like AV1 that's also widely supported.

> Using a 20 year old codec for 2.5% would be insane.

Surprisingly, in my experience h264 produces higher quality (better VMAF) for the same bitrate.

My theory is all the codec-optimisation attention went to h264 because of the crazy licensing situation of h265

The crazy licensing situation is only relevant to nerds, pretty much any chip you care about has hardware h265 decode.

You probably used the wrong settings. Netflix said "AV1 streaming sessions achieve VMAF scores that are 4.3 points higher than AVC and 0.9 points higher than HEVC sessions" 9 months ago: https://netflixtechblog.com/av1-now-powering-30-of-netflix-s...

> The crazy licensing situation is only relevant to nerds,

Allow me to rephrase: "I can understand why an open source developer, when considering what codec to contribute their time to optimising, might not choose the one that has four required rival patent pools waiting to get rich from their unpaid work"

Cloudflare reports 3.7% FWIW. JS based trackers tend to be skewed down by tracking protection so google analytics will consistently underreport.

Wikimedia reports 6.2% so clearly it's also about audience. Since that's a tech blog with a more savvy audience, my guess is it'd be even higher on the linked story. Nonetheless they are still wrong about the firefox support.

> Your system is broken

No it isn't. I am running Windoze 10 which doesn't have the h265 codec Firefox needs.

I can play h265 fine in PotPlayer which uses its own decoder. Firefox depends on the OS.

You have the choice to use highly compatible video formats on the web, or shrug and put a single h265 file in your video tag like OP did.

I quoted the FF docs. You don't need any w10 codec if you have hardware decode, which almost everyone does:

HEVC Main 10 decode

NVIDIA Jan 2015 — GTX 960

AMD 2016 — Stoney Ridge APU / Polaris RX 400

Intel 2016 — Kaby Lake (7th-gen Core)

Apple 2015 — A9, enabled in 2017

You're missing a key piece of the puzzle:

* "Windows 10 does not include a built-in HEVC decoder by default (Microsoft removed it years ago, largely because of patent licensing costs)."

* "Even with hardware support, Windows 10 needs the HEVC Video Extensions to play HEVC files. Without the extension installed, Windows has no HEVC decoder to hand to apps, so Firefox can’t play H.265 files even if your hardware has the capability."

I have never been to the "Microsoft Store" to buy a one dollar HEVC video extension, and never will. I've never needed to install system-wide codec packs. VLC, PotPlayer, and many other apps handle h265 themselves without needing the extension.

> If anything, he should be using a newer codec like AV1 that's also widely supported.

I don't think that's accurate, since the first Apple processors with AV1 support only came out in late 2023 (A17 Pro, M3).

I'm including software decoding under "widely supported". Youtube pushes AV1 on pretty much all devices, even older iphones
Now I wonder whether buying a new phone with hardware AV1 decoder materially increases battery life for watching YouTube.
Plays fine for me in Firefox on Windows.
God.. Nice write-up, horrible video.. "oh let's go from portrait to landscape in the middle of the recording!".

It's a one minute video, would it have been so hard to redo it.

Edit: raining downvotes, well fuck me, I guess you all prefer sloppy shit.

you would do yourself some good to learn to differentiate constructive criticism from this sort of mean vitriol. I have no doubt that this is the explanation for the downvotes. there is truly no need to be so abrasive. it only serves to detract from whatever good-faith intentions you had, if any.

  “Thanks for the nice write-up. Gotta admit the video still irks me. Like, portrait to landscape mid-recording… Since it was only a minute, think re-recording would be well worth it.”
-anti-sloppy non-downvote-magnet comment potential
Your description of the video describes the quality of your post very well, which is why you are being downvoted.