Discussion:
No stream found to handle url dvd://1 opensuse 11.1 mplayer
Dog Walker
2009-07-27 21:00:33 UTC
Permalink
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+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
David Haller
2009-07-28 05:11:47 UTC
Permalink
Hello,
Post by Dog Walker
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+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Dog Walker
2009-07-28 13:17:33 UTC
Permalink
Post by David Haller
Hello,
Post by Dog Walker
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+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Charles Philip Chan
2009-07-28 15:56:14 UTC
Permalink
Post by 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)
Rajko M.
2009-07-29 00:20:22 UTC
Permalink
Post by Charles Philip Chan
Post by 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.
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+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Charles Philip Chan
2009-07-29 01:34:47 UTC
Permalink
Post by 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)
Rajko M.
2009-07-29 04:08:15 UTC
Permalink
Post by Charles Philip Chan
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+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Charles Philip Chan
2009-07-29 04:34:26 UTC
Permalink
Post by 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)
Loading...