[MPlayer-users] Trouble with dvd device name
Pepe
rvm3000 at ya.com
Sun Sep 9 00:40:48 CEST 2007
Today I tried to play a dvd in windows with this command:
mplayer.exe -dvd-device E: dvd://1
But it failed:
MPlayer CCCP-SVN-r23855-3.4.5 (C) 2000-2007 MPlayer Team
CPU: AMD Turion(tm) 64 Mobile Technology MK-36 (Family: 15, Model: 76,
Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Setting process priority: abovenormal
113 audio & 236 video codecs
C:/windows/fonts/arialbd.ttf doesn't look like a bitmap font description,
ignoring.
Cannot load bitmap font: C:/windows/fonts/arialbd.ttf
Playing dvd://1.
libdvdread: Could not open E: with libdvdcss.
libdvdread: Can't open E: for reading
Couldn't open DVD device: E:
No stream found to handle url dvd://1
Exiting... (End of file)
But if I use -dvd-device E:/ instead of -dvd-device E: then it plays.
This dvd was created by my dvd-recorder. I tried then with another disc also
created by dvd-recorder a few days ago. The strange thing is that this disc
plays with both E: and E:/. Tried also with a commercial dvd and plays too
with E: and E:/
So why doesn't the first disc play with E:? What's the difference between
using E: or E:/?
Tried on linux, and this time the disc plays with -dvd-device /dev/dvd but not
when using -dvd-device /dev/dvd/
I also realized that when trying to play in Windows a dvd from a folder in
hard disc (passing the directory where VIDEO_TS is), it works if the path
doesn't end in "/" but fails if it does.
mplayer.exe -dvd-device C:/Documents and Settings/Pepe/My Documents/My
Videos/DVD/ dvd://1
MPlayer CCCP-SVN-r23855-3.4.5 (C) 2000-2007 MPlayer Team
CPU: AMD Turion(tm) 64 Mobile Technology MK-36 (Family: 15, Model: 76,
Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Setting process priority: abovenormal
113 audio & 236 video codecs
C:/windows/fonts/arialbd.ttf doesn't look like a bitmap font description,
ignoring.
Cannot load bitmap font: C:/windows/fonts/arialbd.ttf
Playing dvd://1.
No such file or directory
libdvdread: Can't stat C:/Documents and Settings/Pepe/My Documents/My
Videos/DVD/
Couldn't open DVD device: C:/Documents and Settings/Pepe/My Documents/My
Videos/DVD/
No stream found to handle url dvd://1
Exiting... (End of file)
Under linux it works no matter if the path ends with "/" or not.
mplayer dvd://1 -dvd-device ../Videos/prueba_dvd/
MPlayer dev-SVN-r24250-3.3.4 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3400+ (Family: 15, Model: 4, Stepping: 10)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
mplayer: could not connect to socket
mplayer: Permission denied
Failed to open LIRC support. You will not be able to use your remote control.
Playing dvd://1.
There are 2 titles on this DVD.
There are 1 chapters in this DVD title.
There are 1 angles in this DVD title.
...
I'm developing a mplayer front-end (smplayer) so I really need to know how I
must pass the dvd device to mplayer (currently I was removing the trailing
"/" to avoid user's mistakes).
--
Pepe
More information about the MPlayer-users
mailing list