Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DVD playback problems with use variables [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
aschueler
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 119

PostPosted: Sun Apr 10, 2005 11:45 pm    Post subject: DVD playback problems with use variables [solved] Reply with quote

When trying to run a DVD wint xine I got the following:

Code:
bash-2.05b$ xine
This is xine (X11 gui) - a free video player v0.9.23.
(c) 2000-2003 The xine Team.
libdvdnav: Using dvdnav version 1.0 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdnav: DVD Title: ATTACK_OF_THE_CLONES_D2
libdvdnav: DVD Serial Number: 2D0F54CF
libdvdnav: DVD Title (Alternative): ATTACK_OF_THE_CLONES_D2
libdvdnav: Unable to find map file '/home/aschueler/.dvdnav/ATTACK_OF_THE_CLONES_D2.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x000005f4
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000804
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000892
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x000008d3
libdvdread: Elapsed time 5
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x001d679b
libdvdread: Elapsed time 2
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x001f0c8a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x001f2540
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0029077a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x002a99d9
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x00371484
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x003c1013
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x003c11f5
libdvdread: Elapsed time 0
libdvdread: Found 8 VTS's
libdvdread: Elapsed time 9
libdvdnav: Suspected RCE Region Protection!!!
xiTK received SIGSEGV signal, RIP.
Killed


This is a DVD I bought legally & freeking own. What did I do wrong? How can I play it?


Last edited by aschueler on Wed Apr 13, 2005 1:56 am; edited 1 time in total
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Mon Apr 11, 2005 12:05 am    Post subject: Reply with quote

Have you tried many more dvds and all plays fine?
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Mon Apr 11, 2005 12:07 am    Post subject: Reply with quote

It looks like there's a mismatch between the region you DVD drive is set to and the region the disc is set to. You can change the region of the drive, but I believe you're only allowed to do it four times, and you need to use a special program to do it. I really don't know how to find out which region the disc is set to. Does the drive play other DVDs correctly?
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
aschueler
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 119

PostPosted: Mon Apr 11, 2005 12:24 am    Post subject: Reply with quote

OK, no I haven't tried any other DVD's. It's a new player I just installed a few days ago. I am not sure I have all the right stuff installed -- but I did emerge win32 codecs as well as xine. I can't get xine to work, or kmplayer, or mplayer. Since I ran xine from a shell prompt I could at least get error messages.

Here's what I got when I tried Fellowship of the ring:

Code:
bash-2.05b# xine
This is xine (X11 gui) - a free video player v0.9.23.
(c) 2000-2003 The xine Team.
libdvdnav: Using dvdnav version 1.0 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdnav: DVD Title: FELLOWSHIP
libdvdnav: DVD Serial Number: 2cb011d2
libdvdnav: DVD Title (Alternative): FELLOWSHIP
libdvdnav: Unable to find map file '/root/.dvdnav/FELLOWSHIP.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000178
libdvdread: Elapsed time 2
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00001d91
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000284ec
libdvdread: Elapsed time 4
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 6
xiTK received SIGSEGV signal, RIP.
Killed
bash-2.05b#


In the distant past I had gentoo playing DVD movies, but that was with a different DVD ROM and a different install. Alas, I have forgotten what I did that time.

My DVD is also a cd/cdrw; I tried different fstab -- started with auto, then changed to udfs which resulted in the above. Working right now on google searches for region settings....
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Mon Apr 11, 2005 12:27 am    Post subject: Reply with quote

I had similar issues some time ago and fixed it removing scsi emulation from the kernel, and compiling it as a module, since I need it for a usb hd I own. The output from libdvdcss was similar, so I would check that, just in case.
Back to top
View user's profile Send private message
aschueler
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 119

PostPosted: Mon Apr 11, 2005 12:36 am    Post subject: Reply with quote

Sigh still not the solution -- don't have SCSI emulation on.

Let me ask this (bear with me): what would I need to emerge (not counting xine or mplayer of course) to get DVD movies to play? Maybe I missed something.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Mon Apr 11, 2005 12:40 am    Post subject: Reply with quote

You dont need any extra stuff to decode dvds and play them. Mplayer and xine uses libdvdcss to retrieve the keys and decode the vob files, but you output shows that it is up and running, so thats not the issue.

You should try any other dvd to see if it is a wrong disk or a defective drive.
Back to top
View user's profile Send private message
aschueler
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 119

PostPosted: Mon Apr 11, 2005 12:43 am    Post subject: Reply with quote

the above was an attempt at another disk (error#2)

I hate to say it, but I am about to try windows to test if it is a defective drive; this is the first test I have made with it since I installed it.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Mon Apr 11, 2005 12:49 am    Post subject: Reply with quote

You could also try mplayer, to see if that makes something.
Back to top
View user's profile Send private message
aschueler
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 119

PostPosted: Mon Apr 11, 2005 12:51 am    Post subject: Reply with quote

Nope, nothing on mplayer. Not even an error message (I am running it through kde is why I guess). Currently windows boot and it plays the DVD, so I guess its a configuration problem on my end.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Mon Apr 11, 2005 1:07 am    Post subject: Reply with quote

Can you post out of 'mplayer dvd://1' ??
Back to top
View user's profile Send private message
aschueler
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 119

PostPosted: Mon Apr 11, 2005 2:07 am    Post subject: Reply with quote

Here's a lot of intersting stuff ....

( sorry for the delay, I started playing half life 2 while in windows...he.he...)

Code:
bash-2.05b$ mplayer dvd://1
MPlayer 1.0pre5try2-3.3.5 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Foster 3102 MHz (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /home/aschueler/.mplayer/config
Reading /home/aschueler/.mplayer/codecs.conf: Can't open '/home/aschueler/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 73 audio & 180 video codecs
font: can't open file: /home/aschueler/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Can't open input config file /home/aschueler/.mplayer/input.conf: No such file or directory
Input config file /usr/share/mplayer/input.conf parsed: 53 binds

Playing dvd://1.
Option stream url: This URL doesn't have a hostname part.
[file] No filename
Failed to open dvd://1


Exiting... (End of file)
bash-2.05b$
Back to top
View user's profile Send private message
aschueler
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 119

PostPosted: Mon Apr 11, 2005 2:10 am    Post subject: Reply with quote

And before you ask, /etc/make.conf (yes I did recompile a while ago with the current use settings)

Code:
CFLAGS="-O3 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="mmx foomatic ppds X GTK KDE SSE OSS ALSA DVD CDR PDA CUPS QT QUICKTIME TRUETYPE SSL USB x86 OPENGL"
ALSA_CARDS="emu10k2"
bash-2.05b$                                   
Back to top
View user's profile Send private message
MrBrightside
n00b
n00b


Joined: 06 Jan 2005
Posts: 19
Location: Georgia

PostPosted: Mon Apr 11, 2005 2:21 am    Post subject: Reply with quote

I think you have all missed something important. If it is a brand new drive, the region has never been set. That is most likely the problem. You need to set the region on the DVD player before it will play any DVDs. I have no idea how to do this in Linux. I have done it in windows and remember it being really easy, so just boot into windows, set the region, and everything should be fine.
Back to top
View user's profile Send private message
aschueler
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 119

PostPosted: Mon Apr 11, 2005 2:37 am    Post subject: Reply with quote

Google provided the answer: regionset, which was in portage. It turns out the DVD is set in region 1 (the correct one) already.

Plus it works in windows.

I am missing something SOMEWHERE...and I can't find a helpful guide, really, anywhere...
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Mon Apr 11, 2005 2:47 am    Post subject: Reply with quote

I really dont think that this is a region setting issue.

As far as I know xine and mplayer engines do not care at all about that, so this is not a thing to look donw on it in any case. Of course if Im wrong feel free to correct me. I would look into the kernel settings or libdvdcss, since the program is not the issue (mplayer fails as well as xine do). If i think of anything more ill let you know.
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Mon Apr 11, 2005 3:03 am    Post subject: Reply with quote

Why are so many of your USE flags in caps? The only one that should be in caps is X. That's probably part of the problem. I don't know about mplayer, but xine-lib won't build with DVD support given your current USE flags.

Fix them then run
Code:
emerge -uD --newuse world

_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Mon Apr 11, 2005 8:06 pm    Post subject: Reply with quote

donjuan wrote:
Why are so many of your USE flags in caps? The only one that should be in caps is X. That's probably part of the problem. I don't know about mplayer, but xine-lib won't build with DVD support given your current USE flags.

Fix them then run
Code:
emerge -uD --newuse world

I did not see that! Donjuan may have had the point here, to make sure you can do
Code:
emerge -pv mplayer xine-lib mplayer

I did and got this
Code:

[ /usr/kde/3.3/share/config/kdm/sessions ]-[102]: USE="-dvd DVD" emerge -pv xine-lib

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-libs/xine-lib-1.0  +X -aac -aalib +alsa (-altivec) +arts +avi -cle266 -debug -directfb -dvd* -dxr3 -esd -fbcon +ffmpeg -gnome -i8x0 -ipv6-libcaca -mng +nls +nvidia +oggvorbis +opengl +png -samba -sdl -speex -theora -vidix +xv -xvmc 0 kB

As far as I know all the environment strings are read sequentially, so this shows up that USE flags are case sensitive also, because the support for dvd has been disabled. This is your problem, now sure 99.9%.
Back to top
View user's profile Send private message
aschueler
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 119

PostPosted: Mon Apr 11, 2005 9:16 pm    Post subject: Reply with quote

So weird...not sure why some where in caps, I can't recall now -- I seem to think I did that because my previous gentoo install had them all in caps...hate to admit it never even dreamed it was case sensitive...I have made them all lower case (hopefully that won't break something else...) and am recompiling...this will take a while, will let you guys know how it goes.
Back to top
View user's profile Send private message
yuckymucky
n00b
n00b


Joined: 20 May 2003
Posts: 17

PostPosted: Tue Apr 12, 2005 1:02 am    Post subject: Reply with quote

I had that exact same problem in Xine and Mplayer. I had recently done a emerge -uD world and that updated my ALSA-Lib package which caused same break in all my movie players.

Just make sure that you have alsa-lib 1.0.7 and see if that works.
Back to top
View user's profile Send private message
aschueler
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 119

PostPosted: Wed Apr 13, 2005 1:17 am    Post subject: Reply with quote

The fix was changing from all caps. Wish I could begin to explain what got into my head to put all the USE variables that way....obviously a warp somewhere in there.

Thanks, everyone, for your patience and help with dealing this. Now, next project is getting 5.1 sound to work...but let me work on that for a bit, no hints yet please :D
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Wed Apr 13, 2005 1:35 am    Post subject: Reply with quote

glad! Maybe shoudl you change the title to something like "Xine/DVD problem - USE flags" and mark as solved, so in case someone has a similar problem can benefit from this info.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum