(11-29-2023, 07:34 PM)diederik Wrote: Using mpv made the difference, not Trixie.
It seems MPlayer has been brought back from the dead some time ago, but it's still got a few years of catching up to do. It's a mystery to me why you would want to use it (instead of mpv).
VLC (or gnome's video player) for some reason can't handle 720p or 'even' 1080p. I have a vague recollection that VLC hasn't moved to ffmpeg 5 yet (let alone 6 as used in Trixie).
And I'm quite sure that hardware acceleration is NOT working (unless you patched several things for that).
You'll likely see CPU usage on all cores of 80-100% as it does all things on the CPU, which means it's indeed not using HW-accel.
You mean also with mpv CPU acceleration is high? If it works better, then obviously it does something better, making some use of a supported/accelerated API, not sure. I see now that all those players are compiled against FFmpeg libraries. Also VLC, which means it uses FFmpeg v6 on Trixie: https://packages.debian.org/trixie/vlc-p...deo-output
Could you test/compare playback just with ffplay?
(11-30-2023, 04:02 AM)diederik Wrote: VLC is (normally) an excellent player. I don't use it much, but I know many people do (and prefer it over others). The situation on amd64 might be different, but I guess you normally use more powerful hardware and therefor don't notice it's (now) using the CPU for playing? It could also be that it's actually using HW-accell on amd64 as that uses different APIs.
Hmm, it could be that I only tested it on Trixie (on my PineTab2 which has the same SoC), but I tried various Desktop Environments and while mpv worked fine*, VLC and gnome player couldn't play x264 videos I tried it with.
*) Max 1080p and full CPU usage, but it worked
Probably the reason is that VLC displays playback through X while mpv (as CLI player) uses DRM? Does it make a difference when playing a video outside of any X/desktop session with vlc (CLI command) from bare shell session?
Both pull FFmpeg codec libraries, so I guess for video decoding, all those tools (vlc, mpv, ffplay), should perform similar. So I guess the difference comes from displaying it. But not sure, also I lack some knowledge about the different stages of video playback and at which stages the GPU can kick in, and which library/driver influences this.
I checked a little further about which codecs are actually expected to be supported by this SoC/GPU/VPU. Not sure whether it is current: https://wiki.pine64.org/wiki/Mainline_Hardware_Decoding
So H.264 up to 1080p should be supported.
Did someone check other threads here or at LibreELEC regarding this, how others got it working (if at all)?