Trying to get vlc for RPi4 to use hardware decoding

*nix specific usage questions
graysky
Blank Cone
Blank Cone
Posts: 21
Joined: 19 Nov 2008 22:42

Trying to get vlc for RPi4 to use hardware decoding

Postby graysky » 22 Aug 2022 22:10

I am compiling VLC on Arch ARM aarch64 using a slightly modified recipe from the current distro default to include the following configure options:

Code: Select all

--enable-omxil --enable-omxil-vout --enable-rpi-omxil
. I managed to get the build to work but the resulting binary is not able to playback an x265 test cllip with hardware decoding whereas if I boot to RPiOS, and use their vlc package, the same file plays just fine.
Last edited by graysky on 22 Aug 2022 22:50, edited 1 time in total.

graysky
Blank Cone
Blank Cone
Posts: 21
Joined: 19 Nov 2008 22:42

Re: Trying to get vlc for RPi4 to use hardware decoding

Postby graysky » 22 Aug 2022 22:13


Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Trying to get vlc for RPi4 to use hardware decoding

Postby Rémi Denis-Courmont » 23 Aug 2022 08:28

I don't know what you've done but your VLC installation is badly broken. There shouldn't be any plugin load failure normally.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

graysky
Blank Cone
Blank Cone
Posts: 21
Joined: 19 Nov 2008 22:42

Re: Trying to get vlc for RPi4 to use hardware decoding

Postby graysky » 23 Aug 2022 14:11

Thank you for the reply. I booted into RPiOS 11 and as you said, not a single error. Verbose log on RPiOS11 there.

However, I do not believe that the warnings are causing this. If I run the same command on my Arch Linux x86_64 box, the file plays back just fine and the verbose log contains a number of warnings about cannot load modules Verbose log on x86_64.

What do you think?

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Trying to get vlc for RPi4 to use hardware decoding

Postby Rémi Denis-Courmont » 24 Aug 2022 20:48

I don't know if that's the problem, but your installation is badly broken either way. It could very well be another symptom of the same root cause...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

graysky
Blank Cone
Blank Cone
Posts: 21
Joined: 19 Nov 2008 22:42

Re: Trying to get vlc for RPi4 to use hardware decoding

Postby graysky » 25 Aug 2022 11:46

Thanks for the feedback. I was finally able to get hardware decoding to work on Arch ARM. Doing so required a patched ffmpeg and modified vlc. My draft PKGBUILDs are here in case others happen upon this thread: https://github.com/graysky2/PKGBUILDs/commits/vlc-rpi


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests