Anthias icon indicating copy to clipboard operation
Anthias copied to clipboard

[BUG] Hardware decoding for videos is not working - Pi5

Open NjlsShade opened this issue 1 month ago • 3 comments

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:

  1. Inatall Raspberry Pi OS Lite (Legacy, 64-bit)
  2. Install Anthias
  3. 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 avatar Dec 16 '25 01:12 NjlsShade

@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.

nicomiguelino avatar Dec 16 '25 05:12 nicomiguelino

@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 avatar Dec 16 '25 05:12 NjlsShade

@NjlsShade, based on my observations, the issue only affects Pi 5 devices.

nicomiguelino avatar Dec 16 '25 13:12 nicomiguelino