VLC with Hardware Acceleration

12 19496
Post Last Edited by LX85 at 2014-7-5 13:10

Hi all,
can someone help me to install the vlc player with hardware acceleration
on Banana Pi with Raspbian v3.0?

I use this Tutorial:

At the (step 6: compile) i have to execute the following command:
# make clean all
But i get a error message:
make: *** No rule to make target `clean'. Stop.
I cannot continue please help.

There is also a compiled version for download on this Site: ... -with-hardware.html

But after i use the command in root/terminal:
# sudo make install
i get a error message:

root@lemaker:/home/pi/vlc_hw_raspberry/vlc# make install
make  install-recursive
make[1]: Entering directory `/home/pi/vlc_hw_raspberry/vlc'
Making install in compat
make[2]: Entering directory `/home/pi/vlc_hw_raspberry/vlc/compat'
make  install-am
make[3]: Entering directory `/home/pi/vlc_hw_raspberry/vlc/compat'
make[4]: Entering directory `/home/pi/vlc_hw_raspberry/vlc/compat'
/bin/mkdir -p '/usr/local/lib/vlc'
../doltlibtool   --mode=install /usr/bin/install -c '/usr/local/lib/vlc'
/bin/bash: line 10: ../doltlibtool: Permission denied
make[4]: *** [install-pkglibLTLIBRARIES] Error 126
make[4]: Leaving directory `/home/pi/vlc_hw_raspberry/vlc/compat'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/pi/vlc_hw_raspberry/vlc/compat'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/pi/vlc_hw_raspberry/vlc/compat'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/pi/vlc_hw_raspberry/vlc'
make: *** [install] Error 2

I stuck at this point please help.
Permission denied

You need sudo

Post Last Edited by mazsola at 2014-8-17 10:59

Post Last Edited by mazsola at 2014-8-17 08:30

Dear All banana pi mates:

Finally I could realise hardware accelerated video under VLC player, it is only command line version (cvlc), but as a result VLC player is playing all formats: mp4, avi, wmv (old version).

I found out that the Raspian 3.1 image is the best, because mali driver is also included and Xorg is using. Good base.


-Install the required packages and dev headers/libs:
preparation based up on this manual, VLC source get and compile will be next step from the sunxi manual:

-Compile and install libcedarx

-Activate sunxi_cedar_mod
"modprobe sunxi_cedar_mod"
add "sunxi_cedar_mod" to the /etc/modules

-Compile and install VLC

chmod 777 /dev/disp
chmod 777 /dev/cedar_dev
chmod 777 /dev/audio

during the process may occur that the compiler is not founding the libcedarx, cedar header because of impoper using of --prefix. Not a problem:  you have to copy the necessary libs and header to the necessary location. ex. /usr/libs ... etc

Reply 3# mazsola


Very well, now we need to bring this to the Banana masses. The process is too complicated for each user to recreate, so can you share your image or can Tony include a pre-modded vlc into the next release?

Reply 5# thatsbanana

No problem!

When will be the image with the premoded vlc available ?


I woiuld like any of the distros, preferably raspbian to come with a working vlc and the usb otg enabled. can anyone make this happen, and make it happen fast. I have no idea how to achieve this and nnn2 distro didnt even play mplayer when i installed it, in fact all it did was take a long time to get a file that was avi to download to where i could try and play it and then when i had a file to play it did not open clicking it in mplayer, nor did it work when i tried to mplayer it on the command line with mplayer filename

Hello all
First off you guys rock! Open sorce ftw.
Quick question anyone help me with mazsola's guide? I'm on bananian and I got all the way to
./configure --host=arm-linux-gnueabihf --prefix=<your installation path> --enable-cedar
for my installation path I just put /home/bob/vlc
it fails with this
checking for libcrystalhd/libcrystalhd_if.h... no
checking for libcedarx/libcedarx.h... no
configure: error: "Could not find Cedar development headers"
I know that mazsola said that I should copy and paste the headers to "usr/libs ... etc" I copied everying I could find to usr/libs and I have spent more than a couple hours moving things around and trying to be dumb lots of diffret ways. pleas advice thanks for help.

orcaorcadia replied at Mon Oct 13, 2014 12:44

I woiuld like any of the distros, preferably raspbian to come with a working vlc and the usb otg ...

Lol ever find anything or am I wasting time?

You have to log in before you can reply Login | Sign Up

Points Rules