Difference between revisions of "Vlc"

From Linuxintro
Line 40: Line 40:
 
or
 
or
 
  ll /dev/sr0
 
  ll /dev/sr0
 +
 +
== No css library available ==
 +
 +
=== Symptom ===
 +
When trying to start the DVD, on [[console]] you see an error message
 +
No css library available.
 +
 +
=== Solution ===
 +
In this case, if it is legal in your country, compile libdvdcss from http://www.videolan.org/developers/libdvdcss.html.
  
 
== Sound problems ==
 
== Sound problems ==

Revision as of 18:28, 20 November 2011

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

Get it

SUSE Linux 11.4

yast -i libdvdread
  • 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 --disable-postproc && 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

No css library available

Symptom

When trying to start the DVD, on console you see an error message

No css library available.

Solution

In this case, if it is legal in your country, compile libdvdcss from http://www.videolan.org/developers/libdvdcss.html.

Sound problems

See troubleshooting sound.

See also