Vlc

From Linuxintro
Revision as of 03:34, 5 November 2011 by imported>ThorstenStaerk (→‎Compile from source)

VLC is a video player for Linux that plays "everything", including DVDs with menues.

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 libmad-devel liba52-devel fribidi-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

Sound problems

See troubleshooting sound.

See also