Forum Discussion
aliofwind
Jan 20, 2021Brass Contributor
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 ...
HotCakeX
MVP
I just drag and dropped this onto an Edge tab and i get extremely laggy playback
https://s3.amazonaws.com/x265.org/video/Tears_400_x265.mp4
700KB H.265 clip with HEVC extension installed on Windows (.MP4)
https://s3.amazonaws.com/x265.org/video/Tears_400_x265.mp4
700KB H.265 clip with HEVC extension installed on Windows (.MP4)
GrandDynamo
Jan 24, 2021Brass Contributor
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.
- HotCakeXJan 24, 2021MVPGood info,
also since Edge supports both .mp4 and x265, why does my browser download the file instead of playing it right in the browser when I paste that link in the address bar?- GrandDynamoJan 24, 2021Brass Contributor
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.- HotCakeXJan 24, 2021MVPThanks that was useful!
what's the correct value of content-disposition in order to be played in the browser?
- WittycatJan 24, 2021Steel Contributori confirm this problem as well (and b-frames=0 too).
- DeletedJan 25, 2021https://x265.com/hevc-video-files/,
Just to add this example and I do see this issue on Edge stable and have sent feedback.- HotCakeXJan 25, 2021MVPI've read that Edge uses software decoding instead of hardware for HEVC so it all comes to the way the software is implemented