LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-16-2010, 03:32 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,125

Rep: Reputation: 46
MPlayer: syntax for playing a DVD.


Kernel 2.6.21.5, GNU (slackware 12.0).
KDE 3.5.7.
MPlayer 1.0rc2-4.1.2.

Hi:
I'm trying to play a DVD-Video disc (that is, an out-of-the-shelf video, or those you rent in a video club) with gmplayer (the GUI version of mplayer). The syntax is specified thus in the man page:
Code:
      mplayer [dvd|dvdnav]://[title|[start_title]-end_title] [options]
I do, in KDE, Main Menu>Run Command and, in the dialog box, I type 'gmplayer dvd://1 -dvd-device /dev/hdd', where dvd-device is an option to select the dvd unit. Unfortunately, I get 'No stream found to handle url dvd://1. I don't get it. Am I not following the syntax? Thanks in advance.
 
Old 08-16-2010, 03:44 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,368

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
gmplayer is the gui fromtend. You usually don't need to mount or specify the device. Track 1 might not be correct, you may want track 2. I would do

mplayer dvd://1 or
gmplayer, and use the menus.
 
Old 08-16-2010, 04:20 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,125

Original Poster
Rep: Reputation: 46
The device is not mounted. I tried
(a) gmplayer dvd://2 ******** Same error.
(b) mplayer dvd://1 ********* Exits immediately.
(c) gmplayer **************** Here in Preferences>Misc I can set the dvd device and the cd-rom device. After this, all I can do is to click an icon that takes me to a window entitled Select File. But of course I don't want to select any files but a device. It's the media I want to select; not any particular file. mplayer seems not to understand this. Well, thanks for your reply and regards.

P.S: in said window, I can select /dev but among the subdirs of /dev I do not find any which seems appropriate for the case at hand.
 
Old 08-17-2010, 02:48 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,368

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
From memory.

gmplayer without filename, click or right click on the open disc symbol, select dvd from the menu. You could also put a symlink /dev/dvd pointing at the dvd device.
 
Old 08-17-2010, 02:59 AM   #5
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,245
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
Try to play the files directly. Mount the dvd somewhere then:
Code:
mplayer dvd:///mount/point
or
Code:
mplayer dvd:////mount/point
 
Old 08-17-2010, 12:20 PM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,125

Original Poster
Rep: Reputation: 46
Hi:

I think it's a problem inherent to the DVD unit. By ejecting and ("opposite action of eject", I do not know the verb) the tray several times, at last clicking the Play icon on the wheel, I make it start. I've also had problems in mounting DVDs in that unit. However, several times when mplayer would not play the DVD, I did 'cdrecord -media-info dev=1001,0,0' and cdrecord saw the DVD. I'll begin by throwing the unit to the trash can and buying a new one. Lite-on never more. Thanks anyway for all your help. Regards.

Last edited by stf92; 08-17-2010 at 12:22 PM.
 
  


Reply

Tags
mplayer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer playlist syntax shogun1234 Linux - Software 2 07-18-2009 10:12 AM
Problem with MPlayer when playing DVD Choucete Linux - Newbie 4 02-11-2008 06:00 PM
dvd-slideshow: when playing output video with mplayer width is too large kyroii Linux - Software 0 01-11-2008 02:22 AM
mplayer radio feed syntax penguinpages Fedora 1 05-28-2007 09:40 PM
Ac3 Codec For .vob Dvd Needed, Playing a DVD lagu2653 Linux - Software 2 10-27-2005 10:13 AM


All times are GMT -5. The time now is 05:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration