LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-19-2002, 02:00 PM   #1
gerardo069872
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Rep: Reputation: 0
Exclamation can't play DVD's


I'm unable to play a dvd on last (and any) version of MPlayer on Mandrake
Linux 9.
Each time I get the error:
Libdvdread: can't seek to block 256
Libdvdread: can't open file VIDEO_TS.IFO
Can't open VMG info!

The DVD-drive is correctly mapped :
# ls -l /dev/dvd
lr-xr-xr-x 1 root root 30 dec 18 19:27 /dev/dvd ->
ide/host0/bus1/target0/lun0/cd

Here's the output I get from MPlayer :

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer CVS-021219-00:13-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Intel (Family: 8, Stepping: 4)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
directory
Reading config file /root/.mplayer/config
[cfg] read config file: /root/.mplayer/gui.conf
Reading config file /root/.mplayer/gui.conf
vf_lavc
[cfg] config file read error ...
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local
display)
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf':
No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 49 audio & 123 video codecs
init_freetype
Using Linux hardware RTC timing (1024Hz)
Can't open input config file /root/.mplayer/input.conf : No such file or
directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such
file or directory
Falling back on default (hardcoded) input config
SKIN dir 1: '/root/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.

Playing /dev/dvd
Reading disc structure, please wait...
libdvdread: Can't seek to block 256
libdvdread: Can't open file VIDEO_TS.IFO.
Can't open VMG info!


The DVD-drive is Panasonic (Matshita SR-8587) with DMA on :
# hdparm -iI /dev/dvd

/dev/dvd:

Model=MATSHITADVD-ROM SR-8587, FwRev=5Z37, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
AdvancedPM=no
Drive conforms to: device does not report version: 2 3 4 5


ATAPI CD-ROM, with removable media
Model Number: MATSHITADVD-ROM SR-8587
Serial Number:
Firmware Revision: 5Z37
Standards:
Likely used CD-ROM ATAPI-1
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(can be disabled)
DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 *udma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns

By the way, I tried the same thing with Ogle, but I have the same result., using the directions on http://www.trylinuxsd.com/dvd/

What is wrong ???
Can you help me ???

Thanks,

Gerardo069872 at hotmail dot com
 
Old 12-19-2002, 02:32 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
well that's an error coming from libdvdread, written by the Ogle people and used in mplayer, so naturally the situation will affect both pieces of software.

can you mount the dvd? can you copy the video/video_ts.ifo file off of the dvd? Maybe it's a region issue, but I don't actually know if regions even affect dvd rom drives and open source software or not.
 
Old 12-19-2002, 04:08 PM   #3
gerardo069872
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Original Poster
Rep: Reputation: 0
I can mount it :
this is what I get when I play directly the VIDEO_TS.IFO :
Playing /mnt/dvd/video_ts/video_ts.ifo
Bad magic in IFO header
Reading disc structure, please wait...
libdvdread: Can't seek to block 256
libdvdread: Can't open file VIDEO_TS.IFO.
Can't open VMG info!

But when I play the VOB, it doesn't decode the image and I get very cracky sound. Also I have the error :
Encrypted VOB file (not compiled with libcss support)! Read DOCS/cd-dvd.html.

However, the patched libcss should be built in by default. Should I recompile using the 'old' libcss ?

I don't think it has something to do with region settings, because both DVD and player are region 2.
In the help I get something that perhaps I should upgrade firmware to RPC-1 (region free), but I don't like messing around with this. (warranty voids...)

I tried copying some files from dvd to harddisk. When I play video_ts.ifo I get the error Bad magic in IFO header (I didn't copy audio - is this the reason ?)

When I play /home/gerardo/dvd/vts_01_0.vob, I get "Sorry, this file format is not recognized/supported" "If this file is an AVI, ASF or MPEG stream, please contact the author!"
Apparently it doesn't recognize the dvd-format...


Any suggestions ?

Thanks,

G
 
Old 12-19-2002, 05:04 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
well this seems to be 100% a hardware / driver problem, and nothing at all to do with the playing software. like I said, try just plain copying the ifo file from the dvd (you can't play it, it's just an information file). The other thing that might cause this is if you have ide-scsi emulation enabled for the drive. check this is not set in your lilo.conf or grub files.
 
Old 12-20-2002, 01:23 PM   #5
gerardo069872
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Original Poster
Rep: Reputation: 0
This is my lilo.conf (DVD-drive is HDC !)

[gerardo@localhost etc]$ cat lilo.conf
boot=/dev/hda
map=/boot/map
vga=normal
default=Windows_XP
keytable=/boot/be2-latin1.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
ignore-table
image=/boot/vmlinuz
label=linux
root=/dev/hda3
initrd=/boot/initrd.img
append="quiet devfs=mount hdd=ide-scsi"
vga=788
read-only
image=/boot/vmlinuz
label=linux-nonfb
root=/dev/hda3
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi"
read-only
image=/boot/vmlinuz
label=failsafe
root=/dev/hda3
initrd=/boot/initrd.img
append="failsafe devfs=nomount hdd=ide-scsi"
read-only
other=/dev/hda1
label=Windows_XP
table=/dev/hda
other=/dev/fd0
label=floppy
unsafe
 
Old 12-31-2002, 04:12 AM   #6
edoope
LQ Newbie
 
Registered: Dec 2002
Location: Amsterdam, The Netherlands
Distribution: Gentoo, SuSE 9.1Pro
Posts: 18

Rep: Reputation: 0
Hi,

I had a similar problem when using my brand spanking new Pioneer DVD-106S drive. At first, I could mount the DVDs and CDROM's ok - but when I tried to read the data, it would give me input/output errors, and dmesg is full of

SCSI cdrom error : host 0 channel 0 id 0 lun 0 return code = 28000000
Current sd0b:00: sense key Hardware Error
Additional sense indicates Logical unit communication CRC error (Ultra-DMA/32)
I/O error: dev 0b:00, sector 1100

I have ide-scsi turned on for this drive, to be able to use it as a read device in xcdroast. It turns out this drive is a UDMA-66 drive, and I have to fiddle around with hdparm. The following did the trick for me:

hdparm -d1 -X66 /dev/dvd

Hope this helps,

Erik
 
Old 12-31-2002, 04:59 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
oh ... hang on... you're just using mplayer wrong aren't you? I can't believe i didn't see that...

mplayer -dvd 1

*PLEASE* read the manpage!
 
Old 12-31-2002, 05:27 AM   #8
edoope
LQ Newbie
 
Registered: Dec 2002
Location: Amsterdam, The Netherlands
Distribution: Gentoo, SuSE 9.1Pro
Posts: 18

Rep: Reputation: 0
Hi acid_kewpie,

I believe Gerardo069872 is using mplayer correctly, I had similar output, and I know I was using mplayer with the right options. To me it still sounds very much like the problems I had as well, which I fixed with the hdparm command.

But maybe you're right - hopefully it's that simple

cheers,

Erik
 
Old 12-31-2002, 05:36 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
Quote:
this is what I get when I play directly the VIDEO_TS.IFO
well that's what i'm going on here...

Last edited by acid_kewpie; 12-31-2002 at 05:40 AM.
 
Old 01-05-2003, 12:58 PM   #10
gerardo069872
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Original Poster
Rep: Reputation: 0
Hello,

I'm afraid that setting hdparm -d1 -X66 /dev/DVD didn't solve my problem.
I was using mplayer -dvd 1.
I even tried copying a part of the DVD to my harddisk and playing the file. In this case I stil have the same error.

Gerardo
 
Old 01-05-2003, 03:20 PM   #11
edoope
LQ Newbie
 
Registered: Dec 2002
Location: Amsterdam, The Netherlands
Distribution: Gentoo, SuSE 9.1Pro
Posts: 18

Rep: Reputation: 0
Too bad that didn't work. But when you're able to copy data off the disk you weren't having my problem anyway, which is good.

BTW, you're not supposed to be able to just copy VOB files and play them from your hd. They're encrypted, and you need to use special utilities to copy them to your harddisk.

Good luck,

Erik
 
Old 11-09-2005, 03:58 PM   #12
demoncrawler
LQ Newbie
 
Registered: Nov 2003
Posts: 9

Rep: Reputation: 0
dvd playin probs

Hello to everyone here and many tanks for all ur help
i would like to help a little in return
in relation to your problem i have had the same till 5mins agao
it would always give me the VMG info problem
i have slackware 10.2 installed
my problem was that my dvd drive was bad
i was usin the mounted point and not the actual dvd player
i checked my /etc/fstab and found that i needed to use /dev/cdrom in my case
i dont know if this helps
please forgive me if this is an error
 
  


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
how to play dvd's rakesh_em Slackware 6 10-06-2004 01:33 PM
Is there a way to play DVD's from your hd? mrd Linux - Software 1 04-30-2004 05:37 AM
Play DVD's equinox Mandriva 34 04-17-2004 02:30 AM
How to play DVD's? Braveheart1980 Linux - General 6 01-25-2004 07:00 PM
cant play dvd's CRego3D Linux - Laptop and Netbook 11 10-01-2003 09:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:42 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