Youtube and VP9 CPU decoder

%3CLINGO-SUB%20id%3D%22lingo-sub-475374%22%20slang%3D%22en-US%22%3EYoutube%20and%20VP9%20CPU%20decoder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-475374%22%20slang%3D%22en-US%22%3E%3CP%3EPlaying%20youtube%20videos%20by%20default%20will%20use%20VP9%20video%20decoder%2C%20however%20most%20computers%20do%20not%20have%20hardware%20support%20for%20VP9%2C%20so%20CPU%20decoding%20is%20used%20instead.%20This%20leads%20to%20high%20CPU%2FRAM%20usage%2C%20low%20battery%20life%2C%20and%20on%20many%20CPUs%3A%20choppy%20video%20playback.%20In%20%22old%22%20Edge%20this%20issue%20was%20resolved%20as%20VP9%20is%20disabled%20by%20default%20when%20hardware%20acceleration%20is%20not%20present%2C%20this%20is%20ideal%20behaviour%20which%20you%20can%20test%20and%20verify%20yourselves.%20A%20potential%20problem%20though%20is%20that%20access%20to%204k%20youtube%20video%20(on%20devices%20without%20hardware%20VP9%20support)%20is%20removed%20which%20massively%20contributes%20to%20the%20perception%20of%20%22Chrome%20is%20better%20than%20Edge%22%20therefore%20I%20suggest%20implimenting%20a%20flag%20to%20optionally%20disable%20VP9%20decoding%2C%20but%20leaving%20the%20default%20functionality%20in%20parity%20with%20Chrome.%20For%20context%3A%20the%20Chrome%20extension%20%22enhanced-h264ify%22%20offers%20the%20desired%20functionality%20I%20feel%20should%20be%20present%20in%20flags%3B%20The%20older%20%22h264ify%22%20extension%20is%20similar%20but%20mistakenly%20disables%20the%20opus%20audio%20codec%20and%20you%20should%20avoid%20replicating%20this%20issue.%20The%20h264%20codec%20is%20hardware%20accelerated%20on%20most%20computers.%20Ideally%20this%20flag%20should%20be%20implimented%20directly%20into%20Chromium%20as%20it%20would%20also%20benefit%20non-Edge%20users.%20Thank%20you%20very%20much%20for%20reading%20this%20feedback!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-700505%22%20slang%3D%22en-US%22%3ERe%3A%20Youtube%20and%20VP9%20CPU%20decoder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-700505%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20may%20be%20able%20to%20use%20the%20%3CA%20href%3D%22edge%3A%2F%2Fflags%2F%23disable-accelerated-video-decode%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eedge%3A%2F%2Fflags%2F%23disable-accelerated-video-decode%3C%2FA%3E%20Experimental%20Flag%20in%20Microsoft%20Edge%20Insider%20Builds%20to%20disable%20the%20hardware%20acceleration.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGabriel%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-827311%22%20slang%3D%22en-US%22%3ERe%3A%20Youtube%20and%20VP9%20CPU%20decoder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-827311%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20going%20to%20put%20this%20feature%20request%20on%20our%20backlog%20to%20consider%20as%20we%20go%20forward.%26nbsp%3B%20Our%20development%20team%20consider%20this%20a%20fairly%20complex%20issue%2C%20and%20want%20to%20ensure%20that%20if%20hardware%20offloading%20is%20unavailable%20that%20we%20shouldn't%20disable%20VP9%20decoding%20as%20it%20risks%20the%20significant%20degradation%20of%20the%20YouTube%204K%20experience.%26nbsp%3B%20For%20those%20following%2C%20this%20seems%20like%20an%20optimization%20for%20savvy%20users%2C%20how%20would%20you%20want%20it%20surfaced%3F%26nbsp%3B%20Would%20you%20want%20a%20setting%20that%20you%20could%20control%20or%20a%20flag%20that%20you%20can%20enable%20%2F%20disable%3F%26nbsp%3B%20We%20are%20a%20little%20worried%20that%20too%20many%20people%20who%20didn't%20understand%20might%20find%20it%20and%20cause%20their%20browsing%20experience%20harm.%26nbsp%3B%20Please%20let%20us%20know%20below%20-%20Elliot%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-828504%22%20slang%3D%22en-US%22%3ERe%3A%20Youtube%20and%20VP9%20CPU%20decoder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-828504%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F239638%22%20target%3D%22_blank%22%3E%40Elliot%20Kirk%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EWith%20regards%20to%20your%20question%2C%20%22Would%20you%20want%20a%20setting%20that%20you%20could%20control%20or%20a%20flag%20that%20you%20can%20enable%20%2F%20disable%3F%20We%20are%20a%20little%20worried%20that%20too%20many%20people%20who%20didn't%20understand%20might%20find%20it%20and%20cause%20their%20browsing%20experience%20harm.%22%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20my%20view%20flags%20are%20describe%20as%20%22Experiments%22%20at%20the%20top%20of%20the%20edge%3A%2F%2Fflags%20page.%20To%20me%20this%20implies%20that%20they%20may%20have%20bugs%20or%20may%20even%20be%20removed%20in%20the%20future.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOnce%20something%20becomes%20a%20feature%2C%20it%20seems%20to%20me%20that%20the%20feature%20needs%20a%20setting%20instead%20of%20a%20flag.%26nbsp%3BIf%20the%20concern%20is%20that%20some%20users%20might%20encounter%20issues%2C%20then%20the%20setting%20could%20be%20moved%20behind%20an%20Advanced%20Settings%20selection.%20This%20seems%20to%20be%20an%20approach%20that%20is%20used%20in%20Windows%20and%20Edge%20Legacy.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1118149%22%20slang%3D%22en-US%22%3ERe%3A%20Youtube%20and%20VP9%20CPU%20decoder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1118149%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%20Sorry%20to%20bump%20an%20old%20issue.%3C%2FP%3E%3CP%3EI%20have%20been%20using%20internet%20explorer%20and%20then%20edge%20for%20mostly%20video%20playback.%20Both%20of%20them%20played%20youtube%20video%20very%20fine.%20However%2C%20the%20new%20edge%20is%20using%20a%20lot%20of%20cpu%20usage%20on%20a%20core-i5%206200u.%20Yes%20the%20chrome%20also%20use%20similar%20cpu%20usage.%20Let%20me%20give%20a%20simple%20scenario%20for%20a%201080p%2060fps%20youtube%20video.%3C%2FP%3E%3CP%3EEdge%20(1-3%25)%3C%2FP%3E%3CP%3EChome%20(15-18%25)%3C%2FP%3E%3CP%3EEdge%20New%20(20-22%25)%3C%2FP%3E%3CP%3EFirefox%20(20-25%25)%3C%2FP%3E%3CP%3E..Core-i56200u%2C%208GB%20Ram%2C%20Windows%2010%201903.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20sure%20hope%20that%20edge%20will%20continue%20to%20add%20new%20features%20and%20provide%20the%20fallback%20video%20codec%20feature%20in%20settings%20like%20the%20old%20one.%26nbsp%3B%3C%2FP%3E%3CP%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Deleted
Not applicable

Playing youtube videos by default will use VP9 video decoder, however most computers do not have hardware support for VP9, so CPU decoding is used instead. This leads to high CPU/RAM usage, low battery life, and on many CPUs: choppy video playback. In "old" Edge this issue was resolved as VP9 is disabled by default when hardware acceleration is not present, this is ideal behaviour which you can test and verify yourselves. A potential problem though is that access to 4k youtube video (on devices without hardware VP9 support) is removed which massively contributes to the perception of "Chrome is better than Edge" therefore I suggest implimenting a flag to optionally disable VP9 decoding, but leaving the default functionality in parity with Chrome. For context: the Chrome extension "enhanced-h264ify" offers the desired functionality I feel should be present in flags; The older "h264ify" extension is similar but mistakenly disables the opus audio codec and you should avoid replicating this issue. The h264 codec is hardware accelerated on most computers. Ideally this flag should be implimented directly into Chromium as it would also benefit non-Edge users. Thank you very much for reading this feedback!

4 Replies
Highlighted

You may be able to use the edge://flags/#disable-accelerated-video-decode Experimental Flag in Microsoft Edge Insider Builds to disable the hardware acceleration.

 

Gabriel

 

Highlighted

We are going to put this feature request on our backlog to consider as we go forward.  Our development team consider this a fairly complex issue, and want to ensure that if hardware offloading is unavailable that we shouldn't disable VP9 decoding as it risks the significant degradation of the YouTube 4K experience.  For those following, this seems like an optimization for savvy users, how would you want it surfaced?  Would you want a setting that you could control or a flag that you can enable / disable?  We are a little worried that too many people who didn't understand might find it and cause their browsing experience harm.  Please let us know below - Elliot

Highlighted

@Elliot Kirk 

With regards to your question, "Would you want a setting that you could control or a flag that you can enable / disable? We are a little worried that too many people who didn't understand might find it and cause their browsing experience harm."

In my view flags are describe as "Experiments" at the top of the edge://flags page. To me this implies that they may have bugs or may even be removed in the future.

 

Once something becomes a feature, it seems to me that the feature needs a setting instead of a flag. If the concern is that some users might encounter issues, then the setting could be moved behind an Advanced Settings selection. This seems to be an approach that is used in Windows and Edge Legacy.

Highlighted

Hello, Sorry to bump an old issue.

I have been using internet explorer and then edge for mostly video playback. Both of them played youtube video very fine. However, the new edge is using a lot of cpu usage on a core-i5 6200u. Yes the chrome also use similar cpu usage. Let me give a simple scenario for a 1080p 60fps youtube video.

Edge (1-3%)

Chome (15-18%)

Edge New (20-22%)

Firefox (20-25%)

..Core-i56200u, 8GB Ram, Windows 10 1903.

 

I sure hope that edge will continue to add new features and provide the fallback video codec feature in settings like the old one. 

.