Raspberry Pi Hardware Accelerated Video Playback

1,155 views
Skip to first unread message

Matt Oakes

unread,
Feb 27, 2024, 2:53:04 PM2/27/24
to media-dev
Hello,

Currently the version of Chromium that is distributed on Raspberry Pi OS includes a patch to enable hardware accelerated video playback. Without this patch only software playback is supported and the performance is noticably worse.

For most Raspberry Pi users this is fine, however as Electron applications include their own Chromium copy they do not have this patch. Therefore do not get hardware accelerated video playback.

Understandably, the Electron maintainers are not interested in adopting and maintining the Raspberry Pi specific patch and have asked about the posibility of upstreaming the change.

What would be involved in upstreaming the changes into Chromium itself so hardware acceleration works on the Raspberry Pi?

I have opened a Github issue asking the same question to the Raspberry Pi maintainers here: https://github.com/RPi-Distro/chromium-browser/issues/43

The current version of the Chromium patch is here, however, it appears to be patching more than just what is reqired for video playback: https://github.com/RPi-Distro/chromium-browser/blob/9fb0f0053829a65ea72a5bd64494d071f2f01cf4/debian/patches/v119.0.6045.171_rpi_2.62.patch

I am not involved as a maintainer of any of these projects, but I am a user of all of them. Please let me know if you need more information or if there is something I can do to help with this.

Thanks,
Matt Oakes

Dale Curtis

unread,
Feb 27, 2024, 4:03:32 PM2/27/24
to Matt Oakes, Ted (Chromium) Meyer, media-dev

--
You received this message because you are subscribed to the Google Groups "media-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to media-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/media-dev/513a3e7a-e640-4f92-9d3d-52b44e0f9f12n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages