[BUG] Hardware decoding for videos is not working - Pi5
Description
ffplay is not using GPU acceleration for video playback on the Raspberry Pi 5. I have five different Pi5 units that are affected by this. Each of these are running a fresh installation of the Bookworm based Raspberry Pi OS Lite (Legacy, 64-bit) with the only modification being the following command to install Anthias:
bash <(curl -sL https://install-anthias.srly.io)
May be related to 2450, but it affects all codecs.
Steps to Reproduce
Steps to reproduce the behavior:
- Inatall Raspberry Pi OS Lite (Legacy, 64-bit)
- Install Anthias
- Upload a video and observe it using the CPU for decoding
Expected Behavior
ffplay should use the GPU to accelerate decoding of videos
Environment
- Device: Raspberry Pi 5
- OS: Raspberry Pi OS Lite (Legacy, 64-bit) Bookworm
- Anthias Version: master@d4290e3
- Installation Method: Manual Installation
@NjlsShade, one workaround is to have the video to be played via VLC in the host OS (outside the Docker containers). It might not be an elegant solution, but it could work on Raspberry Pi 5 devices running Raspberry Pi OS Lite.
@NjlsShade, one workaround is to have the video to be played via VLC in the host OS (outside the Docker containers). It might not be an elegant solution, but it could work on Raspberry Pi 5 devices running Raspberry Pi OS Lite.
Is there an easy way to hook a call to VLC with the video data as part of the loop of media to be played? For my use case, it's important that the list of video and image files configured in Anthias are played in order.
As far as you're aware, is this a known issue when running with the Pi5? Does it also affect the Pi4?
@NjlsShade, based on my observations, the issue only affects Pi 5 devices.