LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-18-2010, 10:45 AM   #1
mrb53
LQ Newbie
 
Registered: Feb 2010
Posts: 14

Rep: Reputation: 0
DVD doesnt play in VLC


New to Linux (as green s they get). First timer, installed Debian Lenny, Installed VLC 1.0.5
My cds play fine (cd drive) but my dvds (dvd drive) do not play at all
i can see the data in them
fstab contains following 2 lines
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdb /media/cdrom1 udf,iso9660 user,noauto 0 0
I believe cdrom0 is my cd devie (eject opens cd drawer)
so cdrom1 should be dvd device (eject doesnt open any drawer)
Maybe a setting iside VLC, maybe my fstab is incorrect.
Help (detailed step by step)) is appreciated
 
Old 02-18-2010, 11:09 AM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Might try changing your fstab. or try changing VLC's setting under Tools>preferences>Input and Codecs
cdrom is /dev/sr1 and cdrom1 is /dev/sr0 here.

Mine looks like:
Code:
# automatically added, PHILIPS_DVD+-RW_DVD8801_VA155S61665391
/dev/cdrom	/media/cdrom	udf,iso9660	user,noauto	0	0

# automatically added, SONY_DVD-ROM_DDU1615
/dev/cdrom1	/media/cdrom1	udf,iso9660	user,noauto	0	0

Last edited by craigevil; 02-18-2010 at 09:16 PM.
 
0 members found this post helpful.
Old 02-18-2010, 11:39 AM   #3
mrb53
LQ Newbie
 
Registered: Feb 2010
Posts: 14

Original Poster
Rep: Reputation: 0
cant change fstab, says permission denied (belongs to root)
 
Old 02-18-2010, 03:37 PM   #4
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
How did you install vlc 1.0.5 on debian lenny, since its only available in sid at the moment?

Your fstab seems fine as it is, so... does the kernel see that it (the drive) can read dvds?
You will see that in "cat /proc/sys/dev/cdrom/info", eg mine
Code:
$ cat /proc/sys/dev/cdrom/info 
CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:		hdc
drive speed:		24
drive # of slots:	1
Can close tray:		1
Can open tray:		1
Can lock tray:		1
Can change speed:	1
Can select disk:	0
Can read multisession:	1
Can read MCN:		1
Reports media changed:	1
Can play audio:		1
Can write CD-R:		1
Can write CD-RW:	1
Can read DVD:		1
Can write DVD-R:	1
Can write DVD-RAM:	0
Can read MRW:		1
Can write MRW:		1
Can write RAM:		1
 
0 members found this post helpful.
Old 02-18-2010, 07:25 PM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
When you play a dvd (or cd for that matter) it should *not* be mounted. The player will talk to the device directly. What documentation or instructions have you been following?

Evo2.
 
Old 02-18-2010, 09:15 PM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Wonders why the debian kernel is still using hdx for anything. sdx has been the norm since the 2.6.18 kernel.

Code:
cat /proc/sys/dev/cdrom/info
CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:		sr1	sr0
drive speed:		48	48
drive # of slots:	1	1
Can close tray:		1	1
Can open tray:		1	1
Can lock tray:		1	1
Can change speed:	1	1
Can select disk:	0	0
Can read multisession:	1	1
Can read MCN:		1	1
Reports media changed:	1	1
Can play audio:		1	1
Can write CD-R:		1	0
Can write CD-RW:	1	0
Can read DVD:		1	1
Can write DVD-R:	1	0
Can write DVD-RAM:	0	0
Can read MRW:		1	1
Can write MRW:		1	1
Can write RAM:		1	1
 
0 members found this post helpful.
Old 02-18-2010, 11:34 PM   #7
mrb53
LQ Newbie
 
Registered: Feb 2010
Posts: 14

Original Poster
Rep: Reputation: 0
opened a web page and downloaded vlc 1.0.5 (debian download)
default with system was earlier version I uninstalled didnt work either which is why i went for newer version--
checked advanced input / codec in VLC
dvd = dev/hdb
cd = dev/hda

totem -plays the dvd but quality / volume is very low, hard to hear even at top volume, prefer VLC
detailed assistance desired as I am that green
soundjuicer plays the audio with sound nicely (loud)

Just would like VLC to do it all

CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name: hdb hda
drive speed: 48 48
drive # of slots: 1 1
Can close tray: 1 1
Can open tray: 1 1
Can lock tray: 1 1
Can change speed: 1 1
Can select disk: 0 0
Can read multisession: 1 1
Can read MCN: 1 1
Reports media changed: 1 1
Can play audio: 1 1
Can write CD-R: 1 1
Can write CD-RW: 1 1
Can read DVD: 1 0
Can write DVD-R: 1 0
Can write DVD-RAM: 0 0
Can read MRW: 0 1
Can write MRW: 0 1
Can write RAM: 1 1

don't know what else to say
 
Old 02-20-2010, 10:21 AM   #8
mrb53
LQ Newbie
 
Registered: Feb 2010
Posts: 14

Original Poster
Rep: Reputation: 0
vlc version

~$ apt-cache policy vlc
vlc:
Installed: (none)
Candidate: 0.8.6.h-4+lenny2
Version table:
0.8.6.h-4+lenny2 0
500 http://ftp.us.debian.org lenny/main Packages
500 http://security.debian.org lenny/updates/main Packages
100 /var/lib/dpkg/status
since i uninstalled 0.8.6 shouldnt my 1.0.5 be populating this
 
Old 02-20-2010, 03:21 PM   #9
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Quote:
Originally Posted by mrb53 View Post
~$ apt-cache policy vlc
vlc:
Installed: (none)
Candidate: 0.8.6.h-4+lenny2
Version table:
0.8.6.h-4+lenny2 0
500 http://ftp.us.debian.org lenny/main Packages
500 http://security.debian.org lenny/updates/main Packages
100 /var/lib/dpkg/status
since i uninstalled 0.8.6 shouldnt my 1.0.5 be populating this
If you installed it with dpkg/apt/aptitude/synaptic yes it should.

~$ apt-cache policy vlc
vlc:
Installed: 1.0.5-1
Candidate: 1.0.5-1
Version table:
*** 1.0.5-1 0
990 http://ftp.debian.org sid/main Packages
100 /var/lib/dpkg/status
~$ apt-cache policy vlc-nox
vlc-nox:
Installed: 1.0.5-1
Candidate: 1.0.5-1
Version table:
*** 1.0.5-1 0
990 http://ftp.debian.org sid/main Packages
100 /var/lib/dpkg/status
 
Old 02-25-2010, 11:21 AM   #10
tripmix
Member
 
Registered: Nov 2004
Location: Norway
Distribution: Debian mostly
Posts: 107

Rep: Reputation: 16
I would recommend you try out some other players, mplayer and xine are some good players for linux. With vlc everything is built inn so if something fails there is often little you can do about it other than to wait for a new version. Also debian versions of apps are often built without some features because of copyright issues and closed source and stuff. This is what I would do.

Open a terminal and type:
sudo nano /etc/apt/sources.list
Then add these lines:
deb http://www.debian-multimedia.org/ stable main non-free
deb-src http://www.debian-multimedia.org/ stable main non-free
Press ctlr+x to exit and answer yes when it asks you to save. Now type:
sudo apt-get update
sudo apt-get install debian-multimedia-keyring
and answer yes when it asks you if you are sure, then type:
sudo apt-get install mplayer xine-ui vlc ffmpeg w32codecs libdvdcss2 libdvdread4

Then just try them out, maybe check out some other players as well. You might just like one of them better than vlc in the end.

EDIT: oh and if this do not fix your vlc and you don't like the other players you can always reverse it by typing:
sudo apt-get remove mplayer xine-ui ffmpeg w32codecs libdvdcss2 libdvdread4
sudo apt-get autoremove
sudo apt-get clean

Note that ffmpeg w32codecs libdvdcss2 are codecs and w32codecs (windows codecs) and libdvdcss2 (encrypted dvd support) are closed source and not available from the ordinary debian archive, I think there is a updated vlc in the mutimedia archive also which is why I said to install vlc whit apt after updating you sources list as well. I don't know if you need libdvdread4 but I put it in just in case.

EDIT2: forgot sudo, I use su.

Last edited by tripmix; 02-25-2010 at 11:50 AM.
 
Old 03-05-2010, 03:47 AM   #11
kujirasan
Member
 
Registered: Mar 2007
Posts: 168

Rep: Reputation: 19
Hi there
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdb /media/cdrom1 udf,iso9660 user,noauto 0 0

Same thing happened to me , I just took the no out of noauto , and it worked, but may be my system is much different than yours,
I used vi editor to change the settings
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dvd's do not play in VLC, xine, mplayer, or movie play (Karmic) Nizzok Linux - Software 2 01-02-2010 06:12 AM
Cannot play DVD/CD in Gxine/pmusic - VLC for Puppy tigertim71 Puppy 3 09-06-2009 04:04 PM
VLC Fails To Play DVD - Freezes ! taurusx5 Linux - Software 2 09-22-2008 04:23 PM
How to play DVD+RW discs on Totem or VLC movie player. dharmamark Linux - Newbie 1 03-18-2008 08:19 PM
vlc doesnt start supersucker Linux - General 3 01-09-2006 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration