vanilla vlc dapat diinstal di archlinux menggunakan
pacman -Sy vlc
Untuk mendapatkan akselerasi perangkat keras Anda mungkin ingin mengkompilasi sendiri vlc.
Ada tutorial tentang kompilasi vlc di:
yang merupakan dasar untuk jawaban gekod di atas. Saya mencoba membuat skrip untuk seluruh proses dan saat ini saya membiarkannya berjalan pada raspberry PI archlinux base:
#
# compile VLC from source to enable hardware acceleration
# WF 2013-12-25
# see http://intensecode.blogspot.de/2013/10/tutorial-vlc-with-hardware-acceleration.html
# for the original Raspbian version
# and http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=59814
# for more elaboration of the issue
# this version is for archlinux and not
# install development tools
# check whether already installed
echo "starting vlc compile"
date
echo "checking that development tools are installed"
which m4
if [ $? -ne 0 ]
then
echo "... not installed ... will do so now ..."
sudo pacman -Sy git libtool pkg-config autoconf base-devel
else
echo "... already installed"
fi
# check whether sources have been downloaded
if [ ! -d vlc ]
then
echo "vlc sources not available yet ... getting them ..."
git clone git://git.videolan.org/vlc.git
cd vlc
else
echo "vlc sources available - updating ..."
cd vlc
git pull
fi
# run the bootstrap process
./bootstrap
# install libraries
pacman -Sy libbluray libdvdread libkate libass fluidsynth libmtp libgoom2 twolame
#pacman -Sy liba52-0.7.4-dev libdirac-dev libdvdread-dev libkate-dev libass-dev libbluray-dev libcddb2-dev libdca-dev libfaad-dev libflac-dev libmad0-dev libmodplug-dev libmpcdec-dev libmpeg2-4-dev libogg-dev libopencv-dev libpostproc-dev libshout3-dev libspeex-dev libspeexdsp-dev libssh2-1-dev liblua5.1-0-dev libopus-dev libschroedinger-dev libsmbclient-dev libtwolame-dev libx264-dev libxcb-composite0-dev libxcb-randr0-dev libxcb-xv0-dev libzvbi-dev
# check missing libraries
./configure --enable-rpi-omxil
grep "WARNING: Library" config.log | wc
grep "WARNING: Library" config.log
for lib in `grep "WARNING: Library" config.log | cut -d: -f 4 | cut -d " " -f3 `
do
pacman -Sy $lib
done
# now start make
make clean
make