LinuxQuestions.org
Visit Jeremy's Blog.
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 12-28-2002, 04:31 AM   #1
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
MPlayer problems


When I try and open a .vob file with MPlayer on RedHat 8.0 it gives an error that says "Sorry this file format is not recognized/supported".

I read the manual and it says that MPlayer supports .vob files. I've heard that RHat 8.0 has some issues with dvd players. Is there something I'm missing?
 
Old 12-28-2002, 04:47 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
why are you playing a vob directly? if you are playing a DVD then play it properly "mplayer -dvd track_no" . I really auggest you read the manpage asap.
 
Old 12-28-2002, 08:31 AM   #3
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
Okay so I type in mplayer -dvd /mnt/cdrom/video_ts/* and it starts up and gives the same errors "Sorry this file format is not recognized" for every vob file. There is nothing in the man pages that says how to deal with this.
 
Old 12-28-2002, 09:05 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
you're really not paying attention are you? sorry, but manpages are there for a reason. please read it *properly*. LinuxQuestions is a no-rtfm site but sometimes....
Quote:
-dvd <title id>
Tell MPlayer which movies (specified by title id) to play. For example sometimes '1' is a trailer, and '2' is the real movie.
How does that not tell you how to deal with it???
 
Old 12-28-2002, 12:34 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
An example would be:
mplayer -vo xv -dvd 1

This starts alot of DVD's that I have. A few have to use 2.
You will have to have your DVD drive have the symlink to /dev/dvd from the actual device, and if you don't you'll know after running that command and posting an error message if you get one. Alot of distro's make this symlink for you by default, but if your's didn't, no worries it's a piece of cake.

Mplayer is an excellent program, as you may already know. But to learn how great of a program it is, you can read the Documentation from the Mplayer's Website and also read the man page: man mplayer; this will help to recognize some of the awesome abilities you can utilize.

I also go through now and then and read the mailing lists, these have alot of "tips" that you would otherwise not know about too easily.

HTH

Cool
 
Old 12-28-2002, 02:56 PM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
Thank you MasterC.
 
Old 12-28-2002, 03:02 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
You're welcome, but Chris is the one who gave you the better answer, I just clarified it.

Cool
 
Old 12-28-2002, 03:49 PM   #8
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
Okay I made the symlink and now I get other errors:

libdvdread: Couldn't find device name.
Reading disc structure, please wait...
libdvdread: Can't open file VIDEO_TS.IFO.
Can't open VMG info!

This is such a pain in the butt. No wonder Microsoft is the OS leader. I like linux and the power of it but it is just so hard to do the most trivial things.
 
Old 12-28-2002, 04:34 PM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Nah, it's just that this program is so powerful that it doesn't try to "assume" a lot of things.

What is symlink you made? Mine is:
Code:
masterc@masterc:~$ ls -l /dev/dvd
lrwxrwxrwx    1 root     root            9 Dec 18 06:49 /dev/dvd -> /dev/scd0
masterc@masterc:~$
Because I use SCSI emulation on my drives.

Cool
 
Old 12-28-2002, 04:48 PM   #10
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
I didn't have a /dev/dvd entry so I:

mkdir /dev/dvd

ln -s /mnt/cdrom /dev/dvd

Is this correct? Probably not I assume since it is not working.
 
Old 12-28-2002, 04:57 PM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Yeah, no that's probably not going to work.

You want to find out what your DVD device is first:
Primary Master = /dev/hda
Primary Slave = /dev/hdb
Secondary Master = /dev/hdc
Secondary Slave = /dev/hdd

And if you use scsi emulation:
dmesg | grep scsi

Or, my favorite:
cdrecord -scanbus

Basically find out what is your DVD device. THEN:
ln -sf /dev/<whatever it ends up as> /dev/dvd

SO let's say it's /dev/hdc THEN:
ln -sf /dev/hdc /dev/dvd

You will probably first have to remove the symlink you created earlier, along with the directory you created.

Cool
 
Old 12-28-2002, 09:10 PM   #12
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
cdrecord -scanbus says something about "/dev/sg0" as the location of the dvd drive. So I did:

ln -sf /dev/sg0 /dev/dvd

and it still doesn't work. How do I know what is my DVD device?
 
Old 12-28-2002, 11:18 PM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Yeah, that's not it either. What distro are you running? You probably will use the /dev/hdc You can also look at your /etc/fstab file and see what it's using. If you have questions, go ahead and post your /etc/fstab here and someone can probably help you out.

Cool
 
Old 12-28-2002, 11:29 PM   #14
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
MasterC you are the definetly the Master. It turns out it was /dev/cdrom. It was so obvious that I over looked it. Thanks for all your help. I really appreciate it.
 
Old 12-28-2002, 11:49 PM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Cool, I am not the Master by far though Oh, and /dev/cdrom is only a symlink itself. It'll work, and shouldn't cause problems, but usually it's suggested that you run a symlink to the actual device. To find out what /dev/cdrom is symlinked to:
ls -l /dev/cdrom

This will show what it's symlinked to. Then you can symlink to that device. However, if you don't want to, you should be fine doing a symlink to a symlink, just for this situation. But in practice it's usually better to link to an actual device.

Cool
 
  


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
Mplayer/Mplayer-plugin problems Buffbannana049 Fedora 3 07-12-2005 11:22 PM
problems with mplayer vatti Linux - Software 12 03-29-2005 03:18 PM
mplayer problems Dro Linux - Software 2 05-21-2004 03:51 PM
MPlayer problems... rcarr Linux - Newbie 3 09-24-2003 08:25 AM
having certain problems with mplayer saturn_vk Linux - Software 3 02-14-2003 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:37 AM.

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