Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6352

Advanced users • Re: How to make mpv player use HW acceleration on Rasppberry pi 5

$
0
0
Raspberry Pi 5 can handle hardware decoding for HEVC video, but after I installed MPV, I couldn't get the HEVC hardware acceleration to work on MPV. I tried tweaking the config file, but no luck. So, I figure if I want MPV to use hardware decoding, I'll have no choice but to compile FFmpeg and MPV myself.
Or maybe there's some way I'm missing? Anybody got a solution for this?
And are there any easy guides for compiling FFmpeg and MPV on Raspberry Pi 5?
Also, if I want to use a frontend like Celluloid or Haruna Player, can I compile those the same way?
VLC is the player that we support.
Our FFmpeg fork has the relevant support for stateless decode for HEVC, but that hasn't hit mainline as yet. Also please note that it is an hwaccel plugin, not a codec.
AIUI MPV is also using FFmpeg for the decode libraries, so it may just work, but it's not one that we directly provide support for.
By the way, the raspberry pi version of VLC player that is pre-installed in Raspberry Pi OS can handle hardware acceleration fine. But because I use a HiDpi screen, I had to set the desktop environment to a 2x scale. Unfortunately, this version of VLC for Raspberry Pi crashes and is so buggy at 2x scale. Where can I report these issues with the Raspberry Pi version of VLC so that they might be addressed in future updates?
https://github.com/RPi-Distro/vlc/issues

Statistics: Posted by 6by9 — Sun Apr 28, 2024 8:22 pm



Viewing all articles
Browse latest Browse all 6352

Trending Articles