LinuxQuestions.org
Review your favorite Linux distribution.
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 01-27-2003, 06:30 AM   #1
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Rep: Reputation: 30
mplayer help


I can mount my cdrom like so:

mount -t iso9960 /dev/cdrom /mnt/cdrom

When I try to play a dvd, mplayer searches in /dev/dvd, yet RH won't let me mount /dev/dvd, it only allows /dev/cdrom. Does anyone know how I can get my dvd working with mplayer, under these conditions?
 
Old 01-27-2003, 06:41 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
If you are just playing a DVD, you don't need to mount it. However, you will need the /dev/dvd entry. First, find the actual device with:
ls -l /dev/cdrom

Then whatever device that is pointing to (let's assume /dev/hdc) symlink that to /dev/dvd like this:
ln -sf /dev/hdc /dev/dvd

Then to play the DVD DON'T mount it and just type:
mplayer -vo xv -dvd 1

Cool
 
Old 01-27-2003, 06:50 AM   #3
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Original Poster
Rep: Reputation: 30
That worked. I was clueless about the smybolic link and how to find where the /dev/cdrom device was located. Thanks.

I suppose the only problem is that the dvd movie was playing the commentary. I'll see if I can get it to play without the commentary. Thanks.
 
Old 01-27-2003, 06:55 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Try things like -dvd 2 or -slang en

This was a problem with me on only 2 DVD's out of a good 20 that I've watched, so don't spend too much time worrying about it if it's not a big deal for ya.

Cool
 
Old 01-27-2003, 07:07 AM   #5
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Original Poster
Rep: Reputation: 30
The dvd playback is choppy, and I compiled and installed mplayer from source code. I ran mplayer on linux about half a year ago and it ran smoothly on this same hardware.
 
Old 01-27-2003, 07:13 AM   #6
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Original Poster
Rep: Reputation: 30
I wouldn't call this an emergency or anything, I mean I have a nice 32" flatscreen digital telelision and a dvd player for that. I just wanted to test mplayer. Here is what I did.

1) downloaded MPlayer-0.90rc3.tar.bz2
2) tar -jxvf MPlayer-0.90rc3.tar.bz2
3) cd MPlayer-0.90rc3
4) ./configure
5) make
6) make install

Than I had to create the smbolic link as shown above in this post. It all worked, just that the dvd playback is choppy on my hardware AMD 1 ghz processor (I think it's a K6 or K7) and I forget the name of my video card but it's 32 bit.
 
Old 01-27-2003, 07:17 AM   #7
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Original Poster
Rep: Reputation: 30
My video card is ATI Rage 128 Magnum
 
Old 01-27-2003, 07:19 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You can try things like frame dropping, different video outputs, and cacheing. Also, look into turning on dma on your DVD Rom drive using hdparm -d1 /dev/cdrom

Cool
 
Old 01-27-2003, 07:20 AM   #9
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Yeah, DMA on the hard drive is normally required for smooth DVD playback. Redhat ship with it off for good reason, but unfortunately don't provide a gui to switch it back on.
 
Old 01-27-2003, 07:30 AM   #10
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Original Poster
Rep: Reputation: 30
What shell supports the hdparm command? It's not available for bash.
 
Old 01-27-2003, 07:34 AM   #11
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Original Poster
Rep: Reputation: 30
There's a manpage for hdparm but in bash it says:
bash: hdparm: command not found

When executed on the command line.
 
Old 01-27-2003, 07:36 AM   #12
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
More than likely it's probably not installed then (or you aren't running root). Locate the RPM and get it installed if that's what the problem is.

Cool
 
Old 01-27-2003, 08:03 AM   #13
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Original Poster
Rep: Reputation: 30
I found it here: http://www.ibiblio.org/pub/Linux/system/hardware/

However I don't know how to install it. There is no ./configure
 
Old 01-27-2003, 08:10 AM   #14
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
It's probably on your disc(s) in RPM form. I am at work though, so I cannot open up a tarball. Is there a makefile? If so, run make then make install. Also, look at the make first to season it to your needs.

Cool
 
Old 01-27-2003, 08:16 AM   #15
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Original Poster
Rep: Reputation: 30
Code:
-rw-r--r--    1 dean     dean         6233 Nov 24 15:53 Changelog
drwxr-xr-x    2 dean     dean         4096 May 16  2002 contrib
-rw-r--r--    1 dean     dean        17956 Nov 24 15:54 hdparm.8
-rw-r--r--    1 dean     dean        48306 Nov 24 15:52 hdparm.c
-rw-r--r--    1 dean     dean         1005 May  9  2002 hdparm.h
-rw-r--r--    1 dean     dean         1945 Nov 24 15:56 hdparm.lsm
-rw-r--r--    1 dean     dean         1329 Nov 19  2001 hdparm-sysconfig
-rw-r--r--    1 dean     dean        34605 May 22  2002 identify.c
-rw-r--r--    1 dean     dean         1295 Oct 21 15:37 Makefile
-rw-r--r--    1 dean     dean         1893 Apr 24  2002 README.acoustic
I searched for the rpm on the RH package list system utility, however it does not provide enough detail to select individual items like hdparm.
 
  


Reply


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
using mplayer with .asx without -playlist? Would be useful for mplayer plug-in pierrethibault Linux - Software 1 02-18-2005 09:12 AM
No sound in mplayer or mplayer firefox plugin case1984 Linux - Newbie 1 01-21-2005 01:58 AM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 11:44 AM
More mplayer issues...no /.mplayer folder?! lt1derful Linux - Software 3 08-03-2003 10:09 PM
mplayer is cool ... mplayer plug-in is even cooler..! linuxlah Linux - General 4 07-16-2003 11:55 PM


All times are GMT -5. The time now is 04:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration