Dantes Posted June 2, 2023 Share Posted June 2, 2023 (edited) This is a HTML5 audio/video tester for web browsers: https://tools.woolyss.com/html5-audio-video-tester/ As you can see .webm is not enabled because frankly I have no idea which package I need to enable that. I have opus and av1 installed: ii libdav1d5:arm64 0.9.2-1 arm64 fast and small AV1 video stream decoder (shared library) ii libopus0:arm64 1.3.1-0.1build2 arm64 Opus codec runtime library I tried gstreamer1.0-ugly and gstreamer1.0-bad but to no avail. Any idea's which package I am missing? Edited June 2, 2023 by Dantes 0 Quote Link to comment Share on other sites More sharing options...
usual user Posted June 3, 2023 Share Posted June 3, 2023 8 hours ago, Dantes said: Any idea's which package I am missing? Not a missing package, it is the lack of basic support for V4L2-M2M hardware-accelerated video decode in the application in the first place. The next showstopper would be the lack of V4L2-M2M support in the ffmpeg framework. There are some hack patches in the wild, but no out-of-the-box solution. The next showstopper would be the lack of kernel support for the SOC video decoder IP. The lack of support in the application is a general problem for all devices that provide their decoders via V4L2-M2M. The lack of support in the ffmpeg framework is a problem for all applications that base on it. Gstreamer-based applications, on the other hand, offer out-of-the-box solutions, as the necessary support is already integrated into the mainline gstreamer framework. 1 Quote Link to comment Share on other sites More sharing options...
Dantes Posted June 3, 2023 Author Share Posted June 3, 2023 Not talking about hardware accelerated support Software rendering works just fine in mpv. I thought firefox maybe needed an extra package, but it seems the online videos I tested are broadcasts. That's the only thing that makes sense . Local rendering work just fine, just not accelerated. Thanks for your time though. 0 Quote Link to comment Share on other sites More sharing options...
Dantes Posted June 28, 2023 Author Share Posted June 28, 2023 I ran into this problem again today which I thought to be solved, but it seems to be related to the hardware acceleration. Afaict HWA does not play nice with Firefox/YouTube even if it is disabled. So I decided to boot into an sdcard WITHOUT hardware acceleration and YouTube videos play just fine in Firefox Then booted into an sdcard WITH hardware acceleration and disabled HWA in Firefox but YouTube videos are not working anymore Settings I changed: * settings > general > performance unchecked "Use recommended performance settings" unchecked "Use hardware acceleration when available" * about:config media.hardware-video-decoding.enabled false media.hardware-video-decoding.force-enabled false at this point I do not know if its me or driver related. 0 Quote Link to comment Share on other sites More sharing options...
Dantes Posted June 28, 2023 Author Share Posted June 28, 2023 (edited) I think that Firefox is still using the 3D-accelerated ffmpeg+libavcodec , so the only solution I see now is to remove the 3D acceleration and reinstall ffmpeg+libavcodec. (and it works but the tradeoff is no 3DA/HWA) So there is no easy switching Edited June 28, 2023 by Dantes 0 Quote Link to comment Share on other sites More sharing options...
Dantes Posted July 15, 2023 Author Share Posted July 15, 2023 Well I did another installation today, too many sdcards I guess. This seems to work just fine sudo add-apt-repository ppa:liujianfeng1994/panfork-mesa --yes sudo apt update --yes sudo apt upgrade --yes and it only installs these packages: Install: * mali-g610-firmware:arm64 (1.0.1 automatic) Upgrade: * libglx-mesa0:arm64 (22.2.5-0ubuntu0.1~22.04.3, 23.0~panfork~csf~git221210.120202c6757~j+3) * libgbm1:arm64 (22.2.5-0ubuntu0.1~22.04.3, 23.0~panfork~csf~git221210.120202c6757~j+3) * libgl1-mesa-dri:arm64 (22.2.5-0ubuntu0.1~22.04.3, 23.0~panfork~csf~git221210.120202c6757~j+3) * libglapi-mesa:arm64 (22.2.5-0ubuntu0.1~22.04.3, 23.0~panfork~csf~git221210.120202c6757~j+3) * libegl-mesa0:arm64 (22.2.5-0ubuntu0.1~22.04.3, 23.0~panfork~csf~git221210.120202c6757~j+3) I have no issues with Firefox or Kodi at this point. Feel free to test and comment, because I sometimes feel I'm talking to myself here too much 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.