Forum Discussion

aliofwind's avatar
aliofwind
Brass Contributor
Jan 20, 2021

HEVC video decoding broken with B-frames

When Edge Chromium playing HEVC video, sometimes video will be similar to stuttering but audio is normal.

 

To find out the cause of the problem, I test to playback many HEVC video, include videos with and without B-frames. Finally found that only the video with B-frames had problems.

 

Play HEVC video with B-frames frame by frame, after decoding and outputting a B-frame, the next frame will return to the referenced I-frame or P-frame.

 

It is puzzling that in Edge Legacy, HEVC video with B-frames plays normally.

 

So what happened in Edge Chromium?

  • That's correct, I experience the same thing on all Edge channels, I thought it was related to the HEVC extension available in Windows store but the same video plays fine in movies & TV app or Windows media player
  • GrandDynamo's avatar
    GrandDynamo
    Brass Contributor

    I have the same issue om my machine. Even when using the Edge Chromium Dev build Version 89.0.767.0 (Official build) dev (64-bit). 

    • Wittycat's avatar
      Wittycat
      Steel Contributor
      does you have the link of a video who do that (for reproducing purpose, if you report it by the browser don't forget this)
      • HotCakeX's avatar
        HotCakeX
        MVP
        There are example videos online, a quick web search would reveal them
  • jesseinsf's avatar
    jesseinsf
    Brass Contributor
    I don't think it's HEVC, I think it is PlayReady DRM. Both Netflix and HBO Max use PlayReady DRM, and Widevine DRM when PlayReady isn't available.

    For me, this issue has been happening since the first release of the Nvidia 30 series drivers. Now it only happens for the first ten seconds with each Mouse hover preview on Netflix and some HBO Max content. At the time of my Video, HBO Max didn't use HEVC. Anyway, it only lasts about 10 seconds on both Netflix and HBO Max. And yes, this only seems to happen with 4K displays. It affects each version of HDCP differently. My older 4K monitor had HDCP 2.0 and my new monitor has HDCP 2.2.
    https://www.youtube.com/watch?v=flTsBxdNu6g&t=4s



    Note: HBO Max kept Jittering for 10 seconds with HEVC uninstalled. I had to disable PlayReady DRM for the jitters to go away. For netflix, it only happens with 4k and ATMOS content (Excluding most Anime). BTW, disabling Playready (or uninstalling HEVC) is not an option because doing so will not allow the viewing of any Netflix 4K/ATOMOS content.
    • aliofwind's avatar
      aliofwind
      Brass Contributor

      jesseinsfThis problem happened when I played the local HEVC codec mp4 video, I don’t think it is related to PlayReady DRM

      • abdelfattah's avatar
        abdelfattah
        Iron Contributor
        No issues whatsoever here with 1080p HEVC Main10 (x265, bframes=12), or a 2160p HDR HEVC Main10 file in Movies & TV.

        The same 1080p file is a weird stuttery mess if I remux it to MP4 and drag and drop it on Edge Dev.

        HEVC Extensions from Device Manufacturer 1.0.41023.0 with an AMD GPU on 21H1.
  • AmineI's avatar
    AmineI
    Brass Contributor

    Hi josh_bodner !
    Do you have any insights, plans, or updates you could share about HEVC support on Windows ? The fact that it seems to work with older versions of the Windows Store HEVC extension, as found in the last few comments, is quite curious.

    • josh_bodner's avatar
      josh_bodner
      Icon for Microsoft rankMicrosoft

      AmineI I passed it onto our video team, and they thought it was quite weird too, since at least on the Edge side, we didn't make any changes to this in the time since it stopped working, so apparently the bug was always there, and the new version of the extension just happened to start triggering it!  

  • LegendT's avatar
    LegendT
    Copper Contributor

    Can confirm it works now on Edge beta v99 + HEVC extension 1.0.50631. Just wait a few more days for the Stable release v99.

Resources