H.265/HEVC web browser support [closed]
Asked Answered
C

4

44

Are there any web browsers out there that can playback the H.265 / MPEG-4 HEVC codec in a html5 video element? On what platform or hardware?

I heard rumours about HEVC support in Edge when hardware decoding is available. With current GPUs and CPUs shipping with HEVC hardware decoding I wonder which other browser vendors are following. Firefox already works like this for H.264

Catalyst answered 3/4, 2016 at 7:6 Comment(4)
As this ranks #1 on Google: Any news here 3 1/2 years later ?Tsarina
@Tsarina Seems to work on Safari as caniuser claims, https://mcmap.net/q/375431/-get-safari-to-prefer-hevc-in-html-5-video-tag sums upon which devices.Tulle
@Tsarina Better bet on VP8/VP9 which is supported by all modern browsers, and fallback to H.264 for legacy ones.Histoid
For anyone coming after all these years, check this caniuse.Planospore
L
17

It works in IE and Edge but only if there is hardware support. It's also reported to work in Android browser and Chrome for Android on some devices that have hardware support.

Source: https://caniuse.com/#feat=hevc

n.b. If you strive to use h.265 to embed better quality video in your web content you should also consider transcoding and including webm: http://caniuse.com/webm/embed/. Support is flaky as well, but will absolutely improve rapidly as chip manufacturers are increasingly including hardware acceleration for both standards (HEVC and VP9)

Lozano answered 28/5, 2017 at 18:59 Comment(3)
HEVC will be supported in Safari 11 on both macOS and iOS. It should be noted that it will not be supported on macOS 10.12 or below (Safari will be backported). On iOS it will be limited to devices with A9 or newer CPU: iPhone 6s, "iPad" (5th Gen) and iPad Pro.Catalyst
webm doesnt allow x265 + opus, which the most bandwidth efficient. i were able to contain that pair only inside mkvRely
@Rely the point of using webm is to use VP9 instead of H.265Loaiasis
S
38

No, no browser supports H.265. And wide support is not likely to be added in the near future.

EDIT:

I updated the question because there are reports of it working in Edge when hardware decoding is available.

This is a good point.

In this case, the browser still does not support it. It is offloading decoding to the OS (Windows), and the OS is offloading to the hardware. But the result is the same as having browser support. This becomes cheaper, because the license was paid for by the chip company.

Background:

H.265 licensing has historically been extremely expensive. In some cases orders of magnitude more expensive than H.264. MPEG-LA and HEVC Advance patent pools expected companies like apple and Microsoft to pay for it. But they got too greedy (specifically HEVC Advance) by eliminating price caps, so Microsoft would have had to pay hundreds of millions of dollars for H.265, where H.264 caps out in the low millions. HEVC Advance has changed the licensing policy, but it may be too late, as google Microsoft, Amazon, Netflix, Cisco, Mozilla and others are developing a royalty free alternative (under the name Alliance for Open Media) so online video can never be held hostage again.

Stemma answered 3/4, 2016 at 20:9 Comment(4)
I updated the question because there are reports of it working in Edge when hardware decoding is available.Catalyst
This is an awesome answer, I was wondering what was "taking" so long, but the hostage situation makes sense. I hope the Alliance can create something better than webm was, though.Hanghangar
It looks like Apple resolved the licensing problem. HEVC support is coming to macOS 10.13 (High Sierra) and iOS 11.Catalyst
We'll see. It may be too little to late for HEVC. There was a third patent pool announced on March 31, 2017. So well see how that goes for companies that don't have a quarter trillion cash on hand. And encoding.com has reported that their demand for HEVC has fallen from 6%, to 3%. While apples support is interesting, My money is still on VP9/AV1Stemma
L
17

It works in IE and Edge but only if there is hardware support. It's also reported to work in Android browser and Chrome for Android on some devices that have hardware support.

Source: https://caniuse.com/#feat=hevc

n.b. If you strive to use h.265 to embed better quality video in your web content you should also consider transcoding and including webm: http://caniuse.com/webm/embed/. Support is flaky as well, but will absolutely improve rapidly as chip manufacturers are increasingly including hardware acceleration for both standards (HEVC and VP9)

Lozano answered 28/5, 2017 at 18:59 Comment(3)
HEVC will be supported in Safari 11 on both macOS and iOS. It should be noted that it will not be supported on macOS 10.12 or below (Safari will be backported). On iOS it will be limited to devices with A9 or newer CPU: iPhone 6s, "iPad" (5th Gen) and iPad Pro.Catalyst
webm doesnt allow x265 + opus, which the most bandwidth efficient. i were able to contain that pair only inside mkvRely
@Rely the point of using webm is to use VP9 instead of H.265Loaiasis
O
13

Chromium can support h.265 when compiled with the aforementioned codec enabled during compilation.

Check it out - https://github.com/henrypp/chromium/releases

Those are all 64 bit releases, so make sure you install them on 64 Bit Windows only.

Occipital answered 4/9, 2016 at 17:27 Comment(2)
Distributing the result of this compilation would be illegal unless the royalties are paid.Stemma
Uh... I need this under Linux not Windows...Adult

© 2022 - 2024 — McMap. All rights reserved.