Difference between revisions of "Vlc"
From Linuxintro
imported>ThorstenStaerk |
|||
Line 9: | Line 9: | ||
= Compile from source = | = Compile from source = | ||
+ | This shows how to compile vlc from source using version 1.1.12 and SUSE 11.4 as an example. | ||
+ | * install some [[dependencies]], in this case for SUSE Linux 11.4: | ||
+ | # [[yast]] -i lua-devel | ||
+ | * download the code | ||
# wget http://downloads.sourceforge.net/project/vlc/1.1.12/vlc-1.1.12.tar.xz | # wget http://downloads.sourceforge.net/project/vlc/1.1.12/vlc-1.1.12.tar.xz | ||
+ | * extract it | ||
# xz -d vlc-1.1.12.tar.xz | # xz -d vlc-1.1.12.tar.xz | ||
# tar xvf vlc-1.1.12.tar | # tar xvf vlc-1.1.12.tar | ||
+ | * compile it | ||
+ | # cd vlc-1.1.12/ | ||
# ./configure && make -j8 && make install | # ./configure && make -j8 && make install | ||
Revision as of 03:30, 5 November 2011
VLC is a video player for Linux that plays "everything", including DVDs with menues.
Contents
Get it
SUSE Linux 11.4
- yast2 -> Software -> Software Repositories -> Add -> Community Repositories -> Packman Repositories
- open a console, issue
yast -i vlc
Compile from source
This shows how to compile vlc from source using version 1.1.12 and SUSE 11.4 as an example.
- install some dependencies, in this case for SUSE Linux 11.4:
# yast -i lua-devel
- download the code
# wget http://downloads.sourceforge.net/project/vlc/1.1.12/vlc-1.1.12.tar.xz
- extract it
# xz -d vlc-1.1.12.tar.xz # tar xvf vlc-1.1.12.tar
- compile it
# cd vlc-1.1.12/ # ./configure && make -j8 && make install
TroubleShooting
Can not open DVD
Symptom
If you get a message like
DVDRead could not open the disc "/dev/dvd".
Solution 1
Do the following as root
chmod 777 /dev/dvd /dev/sr0
Solution 2
Add the user you want to play DVDs with to the group cdrom (yes, for /dev/dvd). To do this, edit /etc/group. The group name may differ, to find out the correct one do a
ll /dev/dvd
or
ll /dev/sr0