4 ms·
Then that means Raspberry Pi's own OS images are not using the hardware decoders for in Browser streaming.
by techrat 5y ago
Then that means Raspberry Pi's own OS images are not using the hardware decoders for in Browser streaming.
- Const-me 5y agoV4L2’s h264 stateful video decoder is enabled in official OS images, and works great in practice on Pi4: https://github.com/Const-me/Vrmac/tree/master/VrmacVideo https://github.com/Const-me/Vrmac/tree/master/VrmacVideo VLC player shipped in these OS images uses that one as well. If it doesn’t work for you in Twitch, the likely issue is the web browser. Try to upgrade it to latest version, and/or configure it somehow.
- geerlingguy 5y agoChromium support for hardware decode on the Pi was only added very recently (in the last month or two, I think).
- HeyLaughingBoy 5y agohmmm. This could be root of the problem I described above. We were using the latest release of Chromium, but AFAIK the configuration screens claimed to be using the hardware decode. Good to know for the future. The project already shipped with an Intel PC for the video display.
- opan 5y agoTry it in a video player. They generally play video a lot better than a browser. mpv + youtube-dl can handle Twitch.
- rasz 5y agoFor twitch you can patch the worker javascript and intercept hls/.m3u8 links directly, no need for external parsers.
- ThatPlayer 5y agoYes, browser support for hardware decoding video on Linux is generally lacking even on x86. Firefox barely added support for it last year with Chrome having no support at all, requiring custom build flags and browser settings in Chromium. https://bugzilla.mozilla.org/show_bug.cgi?id=1619523 https://bugzilla.mozilla.org/show_bug.cgi?id=1619523