[opensuse] No stream found to handle url dvd://1 opensuse 11.1 mplayer
I get the message "No stream found to handle url dvd://1" in a dialog when trying to play a DVD in the graphic interface of mplayer (gmplayer). I can play the DVD without problem using the command line interface mplayer. (But before it would work I had to do this: sudo chmod u+s /usr/bin/mplayer) gmplayer's preferences have the video device /dev/dvd which is symbolically linked to /dev/sr0. All permissions are the same on 11.1 as on a working opensuse 10.2. gmplayer plays .avi and .mp3 without incident. ftw, both xine and kaffeine will not play the DVD. -- I have seen the future and I'm not in it! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Mon, 27 Jul 2009, Dog Walker wrote:
I get the message "No stream found to handle url dvd://1" in a dialog when trying to play a DVD in the graphic interface of mplayer (gmplayer).
I can play the DVD without problem using the command line interface mplayer. (But before it would work I had to do this: sudo chmod u+s /usr/bin/mplayer)
You have (not) set the dvd-device (correctly). Start gmplayer, right click on the (empty) Video window, goto Preferences -> Misc and fill out 'DVD device' and 'CD-ROM device' as appropriate. Or simply edit ~/.mplayer/gui.conf while gmplayer is not running. $ grep device ~/.mplayer/gui.conf dvd_device = "/dev/dvd" cdrom_device = "/dev/cdrom" Systemwide configuration can be put into /etc/MPlayer/gui.conf (AFAI[RK]). The non-gui mplayer uses 'mplayer.conf' and some others. Also, you can give the device on the command-line, as needed: gmplayer -dvd-device /dev/dvd dvd://1 gmplayer -dvd-device /mnt/loop dvd://1 gmplayer -dvd-device /path/to/foo.iso dvd://1 BTW: I prefer mplayer over gmplayer, just about everything can be done via keys. And you don't get blinked with dialogs for every error. And also: e.g. I just tried playing an a couple of .iso, gmplayer barfs with CRC-Errors, mplayer just plays, without any errors in the xterm it was started from ... HTH, -dnh -- "Grove giveth and Gates taketh away." - Bob Metcalfe (inventor of Ethernet) on the trend of hardware speedups not being able to keep up with software demands -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, Jul 27, 2009 at 10:11 PM, David Haller
Hello,
On Mon, 27 Jul 2009, Dog Walker wrote:
I get the message "No stream found to handle url dvd://1" in a dialog when trying to play a DVD in the graphic interface of mplayer (gmplayer).
I can play the DVD without problem using the command line interface mplayer. (But before it would work I had to do this: sudo chmod u+s /usr/bin/mplayer)
You have (not) set the dvd-device (correctly). Start gmplayer, right
It was set correctly to /dev/dvd which is a symbolic link to /dev/sr0 [...] The dvd device, /dev/sr0, did not have read permission for others! -- I have seen the future and I'm not in it! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Dog Walker
It was set correctly to /dev/dvd which is a symbolic link to /dev/sr0
[...]
The dvd device, /dev/sr0, did not have read permission for others!
Remove the suid bit that you have set for mplayer. Put yourself in the disk group, relogin and try again. Charles -- The nice thing about Windows is - It does not just crash, it displays a dialog box and lets you press 'OK' first. (Arno Schaefer's .sig)
On Tuesday 28 July 2009 10:56:14 am Charles Philip Chan wrote:
Dog Walker
writes: It was set correctly to /dev/dvd which is a symbolic link to /dev/sr0
[...]
The dvd device, /dev/sr0, did not have read permission for others!
Remove the suid bit that you have set for mplayer. Put yourself in the disk group, relogin and try again.
Hi Charles, the "disk" group is one for all disk devices in the system, including hard disks. Adding user to disk group, user gives himself unlimited access to anything that is disk. When someone takes over user account trough, for instance browser vulnerability, it has all disks at will, and can do anything that root can do, bypassing all security measures that Linux is so proud to have in place. Also, any user error, sending something to hard disk, will result in a file system corruption. -- Regards, Rajko http://news.opensuse.org/category/people-of-opensuse/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
"Rajko M."
the "disk" group is one for all disk devices in the system, including hard disks. Adding user to disk group, user gives himself unlimited access to anything that is disk.
You are right. Better to change the group of all dvd and cdrom devices to the cdrom group and add allowed users to it. In fact, IMHO, I think all /dev/srx devices should default to the cdrom group. Charles -- "Oh, I've seen copies [of Linux Journal] around the terminal room at The Labs." (By Dennis Ritchie)
On Tuesday 28 July 2009 08:34:47 pm Charles Philip Chan wrote:
I think all /dev/srx devices should default to the cdrom group.
I agree on that, but with hal that is not as easy as once was :-) -- Regards, Rajko http://news.opensuse.org/category/people-of-opensuse/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
"Rajko M."
but with hal that is not as easy as once was :-)
And don't forget policykit. I really miss the elegant simplicity of resmgr. :-( -- "Oh, I've seen copies [of Linux Journal] around the terminal room at The Labs." (By Dennis Ritchie)
participants (4)
-
Charles Philip Chan
-
David Haller
-
Dog Walker
-
Rajko M.