Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd September 2022, 11:04   #1  |  Link
contemporarymind
Registered User
 
Join Date: Aug 2021
Posts: 4
Chrome now supports HEVC adaptive streaming

Surprisingly, Chrome team added support for HEVC in adaptive streaming via MSE:

https://bitmovin.com/google-adds-hevc-support-chrome/
https://bugs.chromium.org/p/chromium...tail?id=460703

Ideas on what might have triggered the decision after oh so many years?
contemporarymind is offline   Reply With Quote
Old 22nd September 2022, 22:46   #2  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 433
I cannot outright tell you about Android, but on windows (that was also activated up to 1080p apparently works for 4k you need to wait, even though 4k drag and drop mp4 files works too) it was caused by very lazy programmers of microsoft that reacted poorely and slow to code review.

>adaptive streaming via MSE:

Via MFF, media foundation framework on windows. You already payed for SW decoding when you bought HW extension, or you payed for it when bying Nvidia or CPU, then windows 11 automcatically installs HW extension for manfacturer. For a long time HW extsntion was broken, it did not reorder B frames which meant the frame pattern was showing two future b-frames, then showing past frame, etc...

See my comment here https://forum.doom9.org/showthread.p...94#post1952394

Last edited by Balling; 26th September 2022 at 04:22.
Balling is offline   Reply With Quote
Old 23rd September 2022, 17:09   #3  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,225
I am delighted and amazed this actually, finally happened! Maybe Google saw the lack of industry momentum around AV1, and got tired of lack of HDR and 4K premium content availability on Chrome?
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 24th September 2022, 00:14   #4  |  Link
RanmaCanada
Registered User
 
Join Date: May 2009
Posts: 288
Quote:
Originally Posted by benwaggoner View Post
I am delighted and amazed this actually, finally happened! Maybe Google saw the lack of industry momentum around AV1, and got tired of lack of HDR and 4K premium content availability on Chrome?
With their push for another open standard to compete against DolbyVision, more than likely. They obvioulsy don't remember the xkcd comic about unifying standards.
RanmaCanada is offline   Reply With Quote
Old 24th September 2022, 00:20   #5  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,949
WOW This is incredibly good news!
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 24th September 2022, 00:39   #6  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,949
The dash.js test content works great on Windows (Both my underlying Core i9 and Nvidia GPU provide HEVC hardware decoding)!

https://reference.dashif.org/dash.js...yer/index.html

Go to Stream -> VOD (Static MPD) and you'll see a bunch of test vectors from Axinom (thanks guys) including some with H.265.

Unfortunately it doesn't seem to work on macOS.
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 24th September 2022, 02:16   #7  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 2,275
Quote:
Originally Posted by Blue_MiSfit View Post
Unfortunately it doesn't seem to work on macOS.
I picked the https://media.axprod.net/TestVectors...5/manifest.mpd as you suggested, but it plays as black on Linux. Is it the same behavior it has on OSX? (I can hear audio and see subtitles, but the video is black when decoding is set on my Intel i7 integrated GPU). I can't test NVIDIA 'cause my old linux laptop has a puny GTX 950M with no H.265 decoding and all my other desktop computers have Windows...

EDIT: Yep, double checked, it doesn't work on Fedora 36 x64 with Chrome Beta 106

Last edited by FranceBB; 24th September 2022 at 02:23.
FranceBB is offline   Reply With Quote
Old 26th September 2022, 04:23   #8  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 433
Quote:
Originally Posted by RanmaCanada View Post
With their push for another open standard to compete against DolbyVision, more than likely. They obvioulsy don't remember the xkcd comic about unifying standards.
AV1 supports Dolby Vision. Interesting that everytime someone remembers this comic, they are completly wrong. Like with USB-C, first they were complaing about micro USB, while literally it does not support USB 3.x speeds, then Power Delivery spec, every time it was updated to support: PPS that was not supported by Apple, then when apple get 240 W first... Then Thunderbolt 3, now they are going to cry about Thunderbolt 5 and USB4 Gen 2.0 on PCIe 4, they say oh, is not 40 gbit/s not enough? While they are so dumb as to not know that 40 gbit/s is data + video and data is only 25 gbit/s max.

Last edited by Balling; 26th September 2022 at 04:32.
Balling is offline   Reply With Quote
Old 26th September 2022, 04:23   #9  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 433
Quote:
Originally Posted by benwaggoner View Post
I am delighted and amazed this actually, finally happened! Maybe Google saw the lack of industry momentum around AV1, and got tired of lack of HDR and 4K premium content availability on Chrome?
No, that was as I said just lazy Microsoft programmers. In fact Dolby Vision from Netflix still does not work and play ready code is far from ready by them. I am literally subscribed to 50 different issues in chromium with Edge poor people trying to upstream stuff.

Last edited by Balling; 26th September 2022 at 04:34.
Balling is offline   Reply With Quote
Old 26th September 2022, 21:00   #10  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,225
Quote:
Originally Posted by FranceBB View Post
I picked the https://media.axprod.net/TestVectors...5/manifest.mpd as you suggested, but it plays as black on Linux. Is it the same behavior it has on OSX? (I can hear audio and see subtitles, but the video is black when decoding is set on my Intel i7 integrated GPU). I can't test NVIDIA 'cause my old linux laptop has a puny GTX 950M with no H.265 decoding and all my other desktop computers have Windows...

EDIT: Yep, double checked, it doesn't work on Fedora 36 x64 with Chrome Beta 106
At a minimum Linux will require an installed video driver that exposes HEVC HW decode in a way Chrome can detect. I wouldn't be surprised if some drivers don't do that the right way (at least yet).
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 27th September 2022, 14:03   #11  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 433
Quote:
Originally Posted by benwaggoner View Post
At a minimum Linux will require an installed video driver that exposes HEVC HW decode in a way Chrome can detect. I wouldn't be surprised if some drivers don't do that the right way (at least yet).
There is literally no media foundation framework on linux, it is windows only. No, Linux will never work. No plans at least for now. There is no even any plans to add HDCP 2.3 or even 2.2. It should still be stuck on 1.4. Even my dumb galaxy s22 supports HDCP 2.3.

https://i.imgur.com/tcnzjJx.png

Last edited by Balling; 27th September 2022 at 14:28.
Balling is offline   Reply With Quote
Old 28th September 2022, 08:26   #12  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,055
I wonder whether this is because of power consumption. There are currently problems with high electricity prices and possible power shortages, i'm wondering if this is being done to reduce that problem so that people don't have to software decode vp9/av1 if they have an hevc decoder but no vp9/av1 decoder.

Last edited by hajj_3; 28th September 2022 at 08:54.
hajj_3 is offline   Reply With Quote
Old 28th September 2022, 09:25   #13  |  Link
TEB
Registered User
 
Join Date: Feb 2003
Location: Palmcoast of Norway
Posts: 361
It works for me on chrome now, but i have no license bought via the app store.. Does this mean that chrome is using the nvidia hw block to decode?
TEB is offline   Reply With Quote
Old 28th September 2022, 09:27   #14  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,949
Quote:
Originally Posted by hajj_3 View Post
I wonder whether this is because of power consumption. There are currently problems with high electricity prices and possible power shortages, i'm wondering if this is being done to reduce that problem so that people don't have to software decode vp9/av1 if they have an hevc decoder but no vp9/av1 decoder.
That would require HEVC renditions to be encoded by YouTube / other Google services. Those don't exist for the most part, so... I doubt it
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 28th September 2022, 10:59   #15  |  Link
contemporarymind
Registered User
 
Join Date: Aug 2021
Posts: 4
maybe it is an effort to mitigate the backlash of this related news item:
https://www.reuters.com/technology/e...cy-2022-07-07/
contemporarymind is offline   Reply With Quote
Old 28th September 2022, 12:10   #16  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,055
Quote:
Originally Posted by Blue_MiSfit View Post
That would require HEVC renditions to be encoded by YouTube / other Google services. Those don't exist for the most part, so... I doubt it
netflix encodes some content in 4k and other companies could add support due to chrome's support, maybe bbc iplayer, not sure if amazon prime uses it.
hajj_3 is offline   Reply With Quote
Old 28th September 2022, 15:09   #17  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 433
Quote:
Originally Posted by hajj_3 View Post
I wonder whether this is because of power consumption. There are currently problems with high electricity prices and possible power shortages, i'm wondering if this is being done to reduce that problem so that people don't have to software decode vp9/av1 if they have an hevc decoder but no vp9/av1 decoder.
Not everyone is from California. HW decoders all take small amount of energy. In fact, if optimised correctly, Nvidia does not even switch to P2. There is like only Netflix that has all HEVC, AV1, VP9.. apple only has hevc and avc.
Yes, there are considerations on battery life and those were considered when we were turning on direct SW overlays. Nvidia has their own propriatery solution and so does Intel, but it is part of their oneAPI super SDK.

Last edited by Balling; 28th September 2022 at 15:12.
Balling is offline   Reply With Quote
Old 29th September 2022, 01:23   #18  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,225
Quote:
Originally Posted by hajj_3 View Post
I wonder whether this is because of power consumption. There are currently problems with high electricity prices and possible power shortages, i'm wondering if this is being done to reduce that problem so that people don't have to software decode vp9/av1 if they have an hevc decoder but no vp9/av1 decoder.
SW decoders can drive a substantial increase in power consumption. I've seen SW AV1 decode raise power draw more than 10 watts on some systems. I think there are some megawatts of steady state consumption going to decoding AV1 for YouTube alone.

SW decoders can also negatively impact battery life for mobile devices enough to make the difference between finishing a movie or not.

It's very rare I'd ever suggest using a SW decoder when a HW decoder is available for long-form content. Maybe if the bitrate savings are so much that the reduced battery life from decoding is offset by increased battery life by requiring less antenna power, storage read/writes, etc.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 29th September 2022, 01:24   #19  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,225
Quote:
Originally Posted by hajj_3 View Post
netflix encodes some content in 4k and other companies could add support due to chrome's support, maybe bbc iplayer, not sure if amazon prime uses it.
Prime Video certainly plays in Chrome, if that's what you're asking.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 29th September 2022, 01:25   #20  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,225
Quote:
Originally Posted by Blue_MiSfit View Post
That would require HEVC renditions to be encoded by YouTube / other Google services. Those don't exist for the most part, so... I doubt it
I think YouTube does stream HEVC for HDR content to devices that don't support AV1 decode. Netflix certainly does.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:10.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.