LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-22-2005, 09:58 PM   #1
gdiv
LQ Newbie
 
Registered: Jun 2004
Posts: 29

Rep: Reputation: 15
mplayer dvd help


I downloaded and compiled mplayer so that I could watch dvd movies, but I can't figure out how to play them! I am not sure what the commands is. For every other player (audio only, so far), /dev/cdrom is the right place but it doesn't work for mplayer.

I have a combo cd/dvd player, if that helps. Does anyone have any suggestions?

I am feeling kind of stupid and stumped right now. My distro is slack 10.0.

TIA!
 
Old 01-22-2005, 10:17 PM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
lol.. its on the 7th line of the manual page "man mplayer"
did you compile mplayer with the Graphical user interface option ?

if so, use gmplayer, and select play dvd froom the menu, otherwise, follow the man page example..

Quote:
mplayer dvd://[title | [start_title]-end_title ] [options]
 
Old 01-22-2005, 10:48 PM   #3
gdiv
LQ Newbie
 
Registered: Jun 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by qwijibow
its on the 7th line of the manual page "man mplayer"
Yes, I saw that, but I don't know what my particular options should be.

Quote:
did you compile mplayer with the Graphical user interface option ?
No, I just did this

./configure
make
make install

with no options. and I get a command line interface, which would be fine, if I knew
the specific requirements for each dvd, but I don't know what they are.

Quote:
follow the man page example.

mplayer dvd://[title | [start_title]-end_title ] [options]
How do I find out what these are for my DVDs?

title
start_title
end_title

Thanks!
 
Old 01-23-2005, 06:55 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
just try dvd://1 to start with... that's normally the money shot.

if you want to just plain see what's on a DVD, i maintain a c program to do just that. http://untrepid.com/acidrip/lsdvd.html
 
Old 01-23-2005, 09:12 AM   #5
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
im always wiry to say thins incase you already know.. but ill recomend a differend dvd player.. Xine.

same capabilites than Mplayer, but much nicer GUI. (in my opinion)
and it has a "dvd" button
 
Old 01-23-2005, 09:43 AM   #6
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380

Rep: Reputation: 31
I'm also using slack10.
To play mplayer: mplayer dvd://1
to play gmplayer (which I prefer, better than xine for some things) :
gmplayer -vo xv -skin Blue dvd://1 depending on which skin you have installed in the /default dir.
To use gmplayer you must also have compiled mplayer with --enable-gui.
Use this README: http://www.mplayerhq.hu/DOCS/README

Missing from the readme,
It is necessary to make a symbolic link like so:
ln -sf /dev/cdrom /dev/dvd depending on what your dvd drive is named. This one is supposed to work for most.
And hdparm -d1 /dev/hdx is a good idea, where x is whatever drive, I've forgotten which I used.

Xine is an easier install, and works better for some things.

Last edited by WilliamS; 01-23-2005 at 10:00 AM.
 
Old 01-23-2005, 03:51 PM   #7
gdiv
LQ Newbie
 
Registered: Jun 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Ok, I made the symbolic link, and it started to play. I had to specify the ao driver for sound.

-ao alsa,oss,

worked.

But, not all disks will play.

One stopped suddenly:


Playing dvd://1.
Reading disc structure, please wait...
There are 61 titles on this DVD.
There are 1 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
MPEG-PS file format detected.

Too many video packets in the buffer: (4096 in 8284054 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
MPEG: No audio stream found -> no sound.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 7800.0 kbps (975.0 kbyte/s)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
V: 26.7 799/1599 19% 4% 0.0% 0 0

Exiting... (End of file)

It's a French movie with subtities.

Last edited by gdiv; 01-23-2005 at 04:06 PM.
 
Old 01-24-2005, 03:09 PM   #8
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Why don't you try both, Xine and mplayer. Maybe ogle also.
In xine you may need to download libdvdcss to play encrypted dvd ( i think in us this is illigal).
In greece Sunday newspapers offer dvd's. So I've got about 40 movies.
Some movies may play well with a program and not play with another.
In my case dogville played well with mplayer and refused to play with xine.
But in your case as far as i see it's a subtittle problem.

did you download a fonts package?
go to mplayers page http://www4.mplayerhq.hu/homepage/design7/dload.html
download a font, for english you need the first one ISO 8859-1, extract it, take one of the 4 sizes ( 14) without the folder(only the files inside) and place it in /usr/local/share/mplayer/fonts i think.

[edit]
You probably haven't noticed the codec packages also.
If you want to add codecs you have to compile it again. with the codecs package, mplayer will play wma,wmv,mov,avi,asf...almost everything.
Here is a guide of how to compile mplayer, it's for fedora but most of the stuff will work for slackware

http://www.mjmwired.net/resources/mplayer-fedora.shtml

Last edited by perfect_circle; 01-24-2005 at 03:16 PM.
 
  


Reply



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
DVD and Mplayer n17man Linux - Hardware 1 02-20-2005 03:51 PM
MPlayer + DVD Rom Raptor Mandriva 6 03-29-2004 12:09 PM
DVD and MPlayer JC404 Linux - Newbie 6 08-04-2003 10:13 AM
Mplayer doesn't see my DVD Umbrella Linux - Hardware 11 08-01-2003 11:24 PM
Getting MPlayer to see my DVD prodigycm Linux - Hardware 1 07-06-2003 03:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:06 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration