I haven't been able to get it working, I also have the Orange Pi Zero 3 using the Debian 12 (Bookworm) [Build Date: Oct 14, 2024] image with the Minimal/IOT option.
I tried using mpv with the instructions at the beginning of the post on the Gnome and XFCE desktops, but both have the same negative result (sometimes the screen is black or shows a frame of the video, it can never be put into play and I can move through the time scroll to see other frames, but it is unusable).
The worst of all is that I do get the message "Using hardware decoding (drm)".
The only configurations I do after installing the image are:
sudo apt update && sudo apt upgrade -y
sudo apt-get install armbian-config mesa-utils chromium
# Install a Desktop
sudo armbian-config
# After rebooting and entering the desktop
sudo wget http://apt.undo.it:7241/apt.undo.it.asc -O /etc/apt/trusted.gpg.d/apt.undo.it.asc
echo "deb http://apt.undo.it:7241/debian bookworm main" | sudo tee /etc/apt/sources.list.d/apt.undo.it.list
sudo apt update
sudo apt install ffmpeg-v4l2request mpv
sudo mkdir -p /etc/mpv
echo -e "hwdec=drm\ndrm-drmprime-video-plane=primary\ndrm-draw-plane=overlay" | sudo tee /etc/mpv/mpv.conf
mpv video.mp4
This is the output on the XFCE desktop (but with the same negative result):
hiperdoo@orangepizero3:~/Downloads$ mpv --ao=pulse video.mp4
(+) Video --vid=1 (*) (h264 1920x1080 60.000fps)
(+) Audio --aid=1 (*) (aac 2ch 44100Hz)
File tags:
Artist: LG Global
Title: 2021 LG OLED l Ink Art 4K HDR 60fps
Using hardware decoding (drm).
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 1920x1080 drm_prime[nv12]
AV: 00:00:00 / 00:00:45 (1%) A-V: 0.006 Dropped: 7
I would be very grateful if someone could enlighten me on what other steps are required.