hdb/cdrom1 mounted? debian lenny VLC player
Brand new to linux, just installed debian lenny (first ever install), vlc for my media player (1.0.5). Insert a dvd into dvd rom and system sees the dvd but i cannot play/access it on/from VLC
when i insert the dvd, "Totem (def player) errors - cannot read source -(I dont use totem) I open VLC and can see the file but cant open I tried to manually mount dev/hdb/media/cdrom1 but it fails and says "does not exist" I have a cd player on dev/hda and it is recognized but not my dvd tried "mount -t iso9660/dec/hdb/media/cdrom1" also mkdir hdb (sucessfully created) confusing that the system sees the drive and reads that there is media in the drive but i cannot get vlc to play the dvd ps - is a Sony dvd I favor VLC and would like help getting it to play Also - i do not know commands to see hardware and if/which drives are mounted (1 hard drive, 1 cd and 1 dvd) the fstab contains line /dev/hdb/media/cdrom1, udf, iso9660 user, auto 0 0 Is not the VLC software becuase i can load music in cd drive and play from VLC so assuming it is hardware or possible software configuration of the hardware device Thanks |
vlc has separate device settings for cd and dvd. Chances are it's default settings are set to something like /dev/cdrom and /dev/dvd, respectively, which means dvds would fail if you don't have a /dev/dvd symlink. You can alter them in the preferences by switching to the advanced settings mode, then going to the input/codecs tab.
BTW, disc playback in programs like this usually accesses the device directly, so their mounted status has no bearing on it. |
To play a commercial movie DVD, you also need the tools to decrypt it. This is most likely what is happening to you. Read:
http://www.debuntu.org/how-to-play-d...r-ubuntu-linux However, there are anomalies in what you have reported which may also contribute (or be typos): Quote:
dev/hdb/media/cdrom1 is actually /home/$USER/dev/hdb/media/cdrom1 ... which does not exist, as you discovered. That mount command should run like: mount -t iso9660 /dev/hdb /media/cdrom1 ... which is for a data CD - not a DVD. A DVD could be more like: mount -t udf /dev/hdb /media/cdrom1 ... unless it was burned from an iso. Quote:
Quote:
/dev/hdb /media/cdrom1 udf,iso9660 user,auto 0 0 But anyway, it should say "noauto" instead of "auto" unless there is always a disk in the drive at boot. - perhaps more like: /dev/hdb /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0 Considering the "cdrom1", this is the second optical drive? After all that - you do not mount audio or video disks to play them. What is expected to happen is that you insert the disk and the player starts. If this is a drive added since install, then it is unlikely that the players are looking at the right one. |
Quote:
I am still confused. I went to preferences, and the only place i found "advanced" was under "show all". After enterening advanced I found no where to adjust input/codecs tab. In the input/codecs tab, i could not find where to adjust / add the /dev/dvd symlink |
typo
Quote:
mount -t udf /dev/hdb /media/cdrom1 - you mention that this should exist in my fstab yet it doesnt i have 2 lines for cd players /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/hdb /media/cdrom1 udf,iso9660 user,noauto 0 0 One is my cd/rw I assumed the other is my dvd (hdb) cdrom1 is 2nd optical drive I think that alternate advie from David the H is closer to the problem but your comment on having the proper data in my fstab seems logical. I am unsure as i am so new to this but will try all to resolve The VLC program works if I place a music disk in the cd drive but i cannot get the dvd to play so your advice is appreciated. How would I add the proper data to my file and what should it be Thanks |
1 Attachment(s)
Quote:
|
ok, now what
Quote:
DVD device = dev/hdb vca & cd = dev/hba dev/dvd symlink? please provide details on how/what to do |
Quote:
Quote:
I take it you have optical drives as primary master and slave on IDE (pata), and you are using the secondary IDE or sata for your HDD? It is important to report these things accurately since an inability to play DVDs could have been due to typos in fstab and other files. Quote:
Code:
$ dmesg | grep dvd Quote:
Note: many systems use generic-named symlinks as a quick way to let programs access the actual device file. So you'll find a /dev/modem is a link that points to whatever the modem device file may be. eg. /dev/ttySL0 or /dev/ttyS3 or something non-obvious. Similarly, there may have been a /dev/dvd which needs to point at your dvd drive, which we presume is /dev/hdb ls /dev/dvd* but your report of the configuration options in VLC seem to be telling us that VLC is pointed at /dev/hdb directly. Can you read data dvds from this drive? |
cat /proc/sys/dev/cdrom/info will show cd/dvd drive info.
Code:
cat /proc/sys/dev/cdrom/info |
cd rom info
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: 1 0 Can write MRW: 1 0 Can write RAM: 1 0 new news 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 -now plays the dvd but quality / volume is very low, hard to hear even at top volume, prefer VLC soundjuicer plays the audio with sound nicely (loud) this leads me to think that i missed something in the download for 1.0.5 i thought i caught all the recommends and performed them but maybe i am missing something |
Quote:
Isn't this for Lenny? Surely VLC is in the repos? |
yes, as i wrote
Quote:
none of this helps me get it working |
Quote:
Problems with DVD volume are usually solved by adjusting the global sound mixer settings. In gnome, rt-clicking the volume control applet allows you to change the preferences. It also helps to know what sort of output you are using. You can usually figure out what has happened when adjusting your global sound preferences - sliders for some outputs may be very low for eg. DVD may be using surround sound but the extra channels are mute... stuff like that. VLC is still usually preferred due to having pretty complete support for menus, where totem tends to play the first title. Quote:
All you can do is check the recommends lines against the deb packages (check the versions) you have, then try updating them to make sure they are all installed and in the right order. A possible gotcha is if a recommend specifies a lib version much lower than the one you have installed: the lib may have obsoleted part of its syntax in the meantime. Quote:
Choosing to install a third-party package opens the range of possibilities to consider in troubleshooting. Thus, when considering how to advise you, your reasons for choosing to do this is quite important. You installed the latest because the default did not work for you, but you have not said how you had reason to believe the latest would do any better. It follows that removing the new package and reinstalling from synaptic would help restore confidence. This may help: http://www.howtoforge.com/forums/showthread.php?t=40958 ... or someone who browses to here in future. Look at the perfect debian lenny desktop setup. That + libdvdcss allows dvd playback. I notice you have yet to describe the symptoms of the failure of VLC to play DVDs. David and I have just been working on common practise which tells us the most likely culprits are encryption and settings. How are you trying to play the DVD in VLC? What did you expect to happen? What happened? (Start from when you insert a DVD.) Did you got any messages or errors? Can you access data DVDs? Have you tried video dvds which are not encrypted? Have you tried playing from the commandline? |
I guess its harder than i thought. Having ovr 20yrs ms experiece didnt help. I even tried re-installing deb linux fresh since i had corrupted rpos and went with vlc imbedded in lenny, same issue. checked global audio and access to dvd and they worked. got totem to work except totems volume isnt that good, soundjuic plays audio cd's. gave up and went bak and installed xp home and vlc and got it wrking in about 1 hr
I will try a ubuntu install as i have heard it is an easier o/s to deal with for 1st timers thanks for all the help, all of you |
Quote:
Quote:
Quote:
Quote:
Quote:
The Ubuntu install will have different defaults to the Debian, so it may not need the fiddle to get the sound balance right. An interesting thing to try is to reverse the order of the optical drives on the ide - explicitly selecting the dvd as master. While you are in there - does the dvd have an audio cable like the CD has? To configure Karmic for your needs, please see: http://ubuntuguide.org/wiki/Ubuntu:Karmic Get back to us with your results. |
All times are GMT -5. The time now is 12:59 AM. |