Video codec h265 playback stops at first frame
Acknowledgements
-
[X] I have checked that there is no other issue describing the same or similar problem that I currently have, regardless if it has been closed or open.
-
[ ] This bug affects Discord website.
-
[ ] This issue is confirmed to be reproducible when WebCord is packaged on at least all three latest supported Electron major releases.
-
[ ] This issue is reproducible in Chrome, Chromium or any Chromium-based browser, e.g Brave or Edge (please write in Additional Context which browser you have used if it is neither Chrome nor unmodified Chromium).
-
[ ] There are no fixes done to
masterwhich resolves this issue. -
[ ] My issue describes one of the unstable and/or not fully implemented features.
-
[ ] I have found a workaround to mitigate or temporarily fix this issue in affected releases (please write it in Additional context section below).
Operating System / Platform
🐧️ Linux
Operating system architecture
aarch64 (64-bit ARM)
Electron version
30.0.3
Application version
4.9.2
Bug description
Playback of video container mp4 is problematic with h265 (but works ok with h264). With h265 playback stops at first frame.
Additional context
Notice: This issue was automatically generated by WebCord.
try launching with these options
--enable-features=CanvasOopRasterization,VaapiVideoDecoder,UseChromeOSDirectVideoDecoder,VaapiIgnoreDriverChecks,PlatformHEVCDecoderSupport,Vulkan,DefaultANGLEVulkan,VulkanFromANGLE --use-cmd-decoder=passthrough --use-gl=angle --use-angle=vulkan --use-vulkan=native --ignore-gpu-blocklist --enable-zero-copy --enable-gpu-rasterization --enable-native-gpu-memory-buffers --enable-gpu-memory-buffer-video-frames
@BJET67 I can confirm this is still an issue, even when adding the launch options.
Arch Hyprland, AMD x86_64 Electron / Chromiun / Node 36.2.1 / 163.0.7103.93 / 22.15.0
Definitely an upstream thing, testing this in Chromium also doesn't decode.
Should say H265 support might greatly depend on hardware acceleration, I don't know if H265 has software impl in Chromium. It definitely has in Firefox tho.
Edit: The previous link actually didn't decode in Firefox as well, I think MKV containers aren't supported by it. Although MP4 works fine in Firefox but still doesn't in Chrome/Chromium, just to prove my point.