Jan 19 2021 06:24 PM - edited Jan 19 2021 06:25 PM
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?
Jan 19 2021 10:59 PM
Jan 23 2021 12:18 PM
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).
Jan 23 2021 12:33 PM
Jan 24 2021 03:45 AM
Jan 24 2021 04:14 AM
I encoded a video in the HEVC codec. I added the file to this message.
To test this, you can make a simple HTML file that plays this video in the Edge browser.
<body>
<video src="PathToVideo\BigBuckBunny.mp4" type="video/mp4" controls></video>
</body>
Jan 24 2021 04:54 AM
Jan 24 2021 05:07 AM - edited Jan 24 2021 05:08 AM
I can also reproduce it with your sample.
I can also confirm with certainty on my end that it has to do with the HEVC b-frames because when I encode a video with "b-frames=0" it plays fine without any stutter.
Jan 24 2021 05:14 AM
Jan 24 2021 05:25 AM - edited Jan 24 2021 05:26 AM
The reason it starts to download the file instead of playing it in the browser, is because the response header "Content-Disposition:" has the value "attachment". The browser sees that and it starts to download it.
Another interesting thing I found, is that for some reason when I click on my BigBunny video on this page it starts playing the video without issues.
Edit: I think the reason it plays fine here is because of shakaplayer. But I am not sure on that one.
Jan 24 2021 05:46 AM
Jan 24 2021 06:00 AM
Jan 24 2021 12:06 PM
Jan 25 2021 09:58 AM
Jan 25 2021 10:49 AM
Jan 25 2021 10:50 AM
Jan 25 2021 10:53 AM - edited Jan 25 2021 10:58 AM
Hmm I always thought that Edge offloads the decoding to the Operating System as I have read that Microsoft does not want to pay for the licensing of HEVC (complicated patent pools). I don't know a lot of Edge and the inner workings of it as I mainly use Edge for HEVC playback (intended to use) so that's interesting to hear.
Jan 25 2021 12:02 PM
Jan 25 2021 12:02 PM