LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   DVD doesnt play in VLC (https://www.linuxquestions.org/questions/debian-26/dvd-doesnt-play-in-vlc-789962/)

mrb53 02-18-2010 10:45 AM

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

craigevil 02-18-2010 11:09 AM

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


mrb53 02-18-2010 11:39 AM

cant change fstab, says permission denied (belongs to root)

jim_p 02-18-2010 03:37 PM

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


evo2 02-18-2010 07:25 PM

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.

craigevil 02-18-2010 09:15 PM

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


mrb53 02-18-2010 11:34 PM

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

mrb53 02-20-2010 10:21 AM

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

craigevil 02-20-2010 03:21 PM

Quote:

Originally Posted by mrb53 (Post 3870571)
~$ 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

tripmix 02-25-2010 11:21 AM

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.

kujirasan 03-05-2010 03:47 AM

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


All times are GMT -5. The time now is 12:01 AM.