Quote:
Originally Posted by qlue
Well, trying to play a file directly from the DVD is not likely to work on a commercial product. You would need to open the disk as a DVD. I haven't used totem in years, so I'll have to get back to you on that one.
Ok, to mount the DVD, we'll need to make a directory to use as a mount point.
Open a terminal and type;
Code:
sudo mkdir /media/testdvd/
Then try mounting the optical drive to that directory by typing;
Code:
sudo mount /dev/sr0/ /media/testdvd/
You should get a warning message about the device being write protected. like this;
Code:
mount: block device /dev/sr0 is write-protected, mounting read-only
Now try running totem from the command line with /media/testdvd/ as an argument.
Code:
totem /media/testdvd/
note: you can try this with vlc instead of totem if you prefer.
I'm not sure if totem accepts arguments on the command line, but most media players do and should be able to play the dvd when invoked this way.
See if that works, then come back here and give us feedback so we can see how we might make this less arduous.
P.S: When you're finished testing, you should eject the DVD and remove the dir as this is only for testing purposes.
Code:
sudo eject /dev/sr0/
sudo rmdir /media/testdvd/
|
hi glue,
Following your commands I was able to get the dvd to play, just as you thought it might.
Here is what I got in the terminal window:
fred@fred-CAUS:~$ sudo mkdir /media/testdvd/
sudo: unable to resolve host fred-CAUS
[sudo] password for fred:
fred@fred-CAUS:~$ sudo mount /dev/sr0/ /media/testdvd/
sudo: unable to resolve host fred-CAUS
mount: block device /dev/sr0 is write-protected, mounting read-only
fred@fred-CAUS:~$ totem /media/testdvd/
libdvdread: Attempting to use device /dev/sr0 mounted on /media/testdvd for CSS authentication
libdvdnav: Using dvdnav version 4.2.1
libdvdread: Attempting to use device /dev/sr0 mounted on /media/testdvd for CSS authentication
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/home/fred/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1
libdvdnav: Suspected RCE Region Protection!!!
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: ��
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: ��
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: ��
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001de
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000105d9
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
I ejected the disc using the command line but was unable to remove the folder:
rmdir: failed to remove ‘/media/testdvd/’: Device or resource busy
I need to try and run the dvd again without remaking the directory...that didn't work because the CD tray is locked, I can't run it a second time. Editing your command to point to /dev/sr1 didn't work it still points to /sr0.
Thanks as always, should I re-install vlc or keep using totem since the results seem to be the same?