View previous topic :: View next topic |
Author |
Message |
emjaybee n00b
Joined: 20 Feb 2005 Posts: 57
|
Posted: Sat Apr 07, 2007 6:33 pm Post subject: Can't Play Commercial DVDs With Xine or Mplayer [SOLVED] |
|
|
Averatec 2370 laptop - SATA hard drive, IDE DVD Writer.
I can play CDs, make copies of CDs, burn data DVDs, and play non-encrypted DVDs, but I cannot play or rip commercial DVDs with any user including root.
mplayer results
Code: |
MPlayer 1.0rc1-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (Family: 15, Model: 72, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Playing dvd://1.
There are 3 titles on this DVD.
There are 36 chapters in this DVD title.
There are 1 angles in this DVD title.
libdvdread: Invalid title IFO (VTS_01_0.IFO).
Cannot open the IFO file for DVD title 1.
File not found: '1'
Failed to open dvd://1.
Exiting... (End of file) |
The disc actually spins up and mplayer can tell the titles and chapters and such, but it won't play it.
xine
Code: |
This is xine (X11 gui) - a free video player v0.99.5.
(c) 2000-2004 The xine Team.
libdvdread: Using libdvdcss version 1.2.9 for DVD access
*** libdvdread: CHECK_VALUE failed in ifo_read.c:1608 ***
*** for pgcit->nr_of_pgci_srp < 10000 ***
*** libdvdread: CHECK_VALUE failed in ifo_read.c:1631 ***
*** for pgcit->pgci_srp[i].unknown1 == 0 ***
*** libdvdread: CHECK_VALUE failed in ifo_read.c:1631 ***
*** for pgcit->pgci_srp[i].unknown1 == 0 ***
*** libdvdread: CHECK_VALUE failed in ifo_read.c:1631 ***
*** for pgcit->pgci_srp[i].unknown1 == 0 ***
*** libdvdread: CHECK_VALUE failed in ifo_read.c:1631 ***
*** for pgcit->pgci_srp[i].unknown1 == 0 ***
*** libdvdread: CHECK_VALUE failed in ifo_read.c:1636 ***
*** for pgcit->pgci_srp[i].pgc_start_byte + PGC_SIZE <= pgcit->last_byte+1 ***
*** libdvdread: CHECK_VALUE failed in ifo_read.c:1636 ***
*** for pgcit->pgci_srp[i].pgc_start_byte + PGC_SIZE <= pgcit->last_byte+1 *** |
And a window pops up that says "The source can't be read. Maybe you don't have enough rights for this, or the source doesn't contain data (e.g: not disc in drive). (Encrypted or faulty DVD) The main xine window also shows the name of the DVD that's in the drive, but the movie just won't play.
Code: | [ebuild R ] media-video/mplayer-1.0_rc1-r2 USE="3dnow 3dnowext X aac alsa dvd encode gif gtk iconv jpeg mmx mmxext nas openal opengl oss png real samba sdl speex sse sse2 svga tga theora truetype unicode vorbis win32codecs xv xvid xvmc -3dfx -aalib (-altivec) -amr -arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc -dts -dv -dvb -dvdread -enca -esd -fbcon -ggi -ipv6 -jack -joystick -libcaca -lirc -live -livecd -lzo -mad -matrox -musepack -rtc -v4l -v4l2 -x264 -xanim -xinerama" LINGUAS="-bg -cs -da -de -el -en -es -fr -hu -ja -ko -mk -nl -no -pl -pt_BR -ro -ru -sk -tr -uk -zh_CN -zh_TW" 0 kB
[ebuild R ] media-libs/xine-lib-1.1.4-r2 USE="X a52 aac alsa dvd dxr3 flac gtk mng modplug nls opengl oss samba sdl speex theora truetype vcd vidix vorbis win32codecs xv xvmc -aalib (-altivec) -arts -debug -directfb -dts -esd -fbcon -gnome -imagemagick -ipv6 -libcaca -mad -mmap -musepack -pulseaudio -v4l -wavpack -xcb -xinerama" 0 kB
[ebuild R ] media-libs/libdvdread-0.9.7 0 kB
[ebuild R ] media-libs/libdvdcss-1.2.9-r1 USE="-doc" 0 kB |
What other information can I provide to help in this?
Last edited by emjaybee on Tue Apr 17, 2007 4:27 pm; edited 1 time in total |
|
Back to top |
|
|
GoldenMouse Tux's lil' helper
Joined: 29 Sep 2005 Posts: 112
|
Posted: Sat Apr 07, 2007 7:07 pm Post subject: |
|
|
Have you installed libdvdcss? It's necessary to decode the encryption on commercial DVDs, though it may or may not be legal to use depending on where you live. |
|
Back to top |
|
|
emjaybee n00b
Joined: 20 Feb 2005 Posts: 57
|
Posted: Sat Apr 07, 2007 7:14 pm Post subject: |
|
|
Code: | [ebuild R ] media-libs/libdvdcss-1.2.9-r1 USE="-doc" 0 kB |
|
|
Back to top |
|
|
pigeon768 l33t
Joined: 02 Jan 2006 Posts: 683
|
Posted: Sat Apr 07, 2007 9:09 pm Post subject: |
|
|
Enabling the 'dvdread' flag and remerging mplayer may help. Better than nothing anyway. |
|
Back to top |
|
|
AaronPPC Guru
Joined: 29 May 2005 Posts: 522 Location: Tucson, AZ
|
Posted: Sat Apr 07, 2007 9:22 pm Post subject: |
|
|
Also try revdep-rebuild. _________________ --Aaron |
|
Back to top |
|
|
emjaybee n00b
Joined: 20 Feb 2005 Posts: 57
|
Posted: Sun Apr 08, 2007 1:44 am Post subject: |
|
|
I enabled dvdread and recompiled mplayer... nothing.
I did a revdep-rebuild, and it did recompile four packages, but none of them were related to playing DVDs.
This is completely baffling since I can play DVDs with mplayer and xine on my other Gentoo laptop I have here. |
|
Back to top |
|
|
emjaybee n00b
Joined: 20 Feb 2005 Posts: 57
|
Posted: Sun Apr 08, 2007 2:07 am Post subject: |
|
|
I just thought of hooking up my external DVD writer to the laptop to see what happens. dmesg shows the external drive as /dev/sr0 so I redo the /dev/dvd symlink and both mplayer and xine work flawlessly.
So now I'm thinking something is up with the internal drive. Maybe a firmware upgrade of some sort? Maybe the DVD region has to be set in the hardware somehow? I don't have Windows on this laptop, but I do have the DVD region set in the xine configuration. Sounds like a trip to the Averatec forums would help on this one. |
|
Back to top |
|
|
emjaybee n00b
Joined: 20 Feb 2005 Posts: 57
|
Posted: Tue Apr 17, 2007 4:27 pm Post subject: |
|
|
You can emerge regionset from portage and when you put a DVD in the drive run regionset to set the DVD region to 1 for US. After I did that I was able to play my DVDs on the DVD writer that came with the drive. |
|
Back to top |
|
|
egoist n00b
Joined: 24 Nov 2005 Posts: 12 Location: Effin pink unicorns
|
Posted: Tue Apr 24, 2007 9:21 pm Post subject: |
|
|
That is right, this is not a Gentoo specific problem, rather it depends on the drive. My laptop had trouble playing but one commercial dvd and setting the region to 2 worked for me. And I was trying with both Fedora and Ubuntu (where I have to manually see that the required libs get installed). Regionset reports the drive is RPC-II. Apparently this means that for some such drives the region code must be set. See this part of the mplayer documentation for reference. |
|
Back to top |
|
|
|