DVD playback - Not all DVD's will play

Announce/Discuss projects you are working on for MiniMyth

Moderator: Pablo

Post Reply
tpind
Member
Posts: 18
Joined: Thu Mar 10, 2005 1:23 am

DVD playback - Not all DVD's will play

Post by tpind » Sun Dec 18, 2005 10:09 pm

I have just updated the bios on my VIA EPIA M, and now I can see DVD's again on my MiniMyth 0.18.1.10.

But for some reason I can not see all DVD's. For some DVD's it tries to start the DVD, and then just returns to the MythTv menu. Do anybody know is what I might be missing?

The DVD is a standard purchased DVD (Shrek).

I use Xine as viewer and I have the command:
xine -pfhq --no-splash dvd://

I does give me any info og messages in the Mythbackend.log and I have also tried to set mm_debug=yes but that does not generate any output either.

By the way - often when I go into any settings on the front end - like DVD settings - the front end crashes. Has anybody experienced this and have a solution for it ?
(I don't get anything in the Mythbackend.log)

Thanks in advance for the help.

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo » Mon Dec 19, 2005 5:06 am

If you telnet into the frontend and type your xine command, then you can see the error messages.

One possible problem is that the DVD may have CSS encryption. If it does, then you will need the libdvdcss.so.2 library, which is not included in the MiniMyth image.

tpind
Member
Posts: 18
Joined: Thu Mar 10, 2005 1:23 am

Post by tpind » Mon Dec 19, 2005 2:50 pm

Hi Pablo - Thanks for the help.

This is the message that i get:

Code: Select all

# xine -pfhq --no-splash dvd://
This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdread: Encrypted DVD support unavailable.

*** libdvdread: CHECK_VALUE failed in ifo_read.c:928 ***
*** for vts_ptt_srpt->nr_of_srpts < 100 ***

Segmentation fault
Does that mean that I need the css encryption lib ?
Can that be installed as an extention or should i unpack the root fs, and install it ?

Thanks again for the help.

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo » Mon Dec 19, 2005 4:01 pm

Yes, I believe that it does. There is no need to unpack the rootfs. It can be installed after the fact. Just put a copy of libdvdcss.so.2 in your conf directory on the TFTP server and add the following lines to your minimyth.script file

Code: Select all

. /etc/rc.d/functions
mm_conf_get libdvdcss.so.2 /usr/local/lib/libdvdcss.so.2
ldconfig

tpind
Member
Posts: 18
Joined: Thu Mar 10, 2005 1:23 am

Post by tpind » Wed Dec 21, 2005 12:42 am

I can not get it to work - what might i be duing wrong ?

I have tried to put in the script that you wrote in a new file that i created called minimyth.script and placed that file in the same directory as the minimyth.conf on my backed server. In the same place I have placed a copy of the libdvdcss.so.2.

I have tried to telnet into the minimyth and i can see that it has not loaded the lib directory.

I have also tried to add the files to the extras-minimyth.... file - but that did not help either.

Finally I have tried to unpack the minimyth and boot the minimyth directly from the server - root=/dev/nfs. Then I can play all the DVD's but I then for some other reason do not get any sound on it, and I have sound on all other elements of the myth.

I am a bit stuck now - any ideas ?

jeroen
Member
Posts: 27
Joined: Mon Aug 29, 2005 12:48 pm

Post by jeroen » Thu Dec 22, 2005 5:43 pm

Hi,

put the lines :

Code: Select all

MM_EXTRAS_URL=default
ldconfig
in your /tftproot/PXEClient/conf/minimyth-0.18.1.8.conf

en put the file http://hoc.xs4all.nl/extras-minimyth-0.18.1.8.tar.bz2

in your /tftproot/PXEClient directory.

If you use an other version you have to rename the file accordingly

Jeroen

tpind
Member
Posts: 18
Joined: Thu Mar 10, 2005 1:23 am

Post by tpind » Thu Dec 22, 2005 6:52 pm

Thanks - that worked. I can now play all the dvd's.

But for some reason I don't get any sound on my dvd's.

When I try to launch xine from the promt i get the following messages:

Code: Select all

libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Attempting to use device rootfs mounted on / for CSS authentication
libdvdread: Could not open rootfs with libdvdcss.
libdvdread: Can't open rootfs for reading
libdvdread: Device rootfs inaccessible, CSS authentication not available.
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdread: Using libdvdcss version 1.2.8 for DVD access

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 0x0000036a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000405
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0006cab3
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x002af762
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x002af767
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x003224b3
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x003224b8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0032f6df
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0032f6e4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0033aa0c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0033aa11
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x0033c466
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x0033c46b
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x0033c608
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x0033c60d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x00357d5c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x00357d61
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x00357e9c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x00357ea1
libdvdread: Elapsed time 0
libdvdread: Found 9 VTS's
libdvdread: Elapsed time 2
[/code]

jeroen
Member
Posts: 27
Joined: Mon Aug 29, 2005 12:48 pm

Post by jeroen » Thu Dec 22, 2005 8:09 pm

Do you use Analog sound ?

http://linpvr.org/forum/viewtopic.php?t ... ht=mmsound

I fixed the problem by unpacking the rootfs :

Code: Select all

cramfsck rootfs-minimyth-0.18.1.8 -x temp
And patched the file temp/rootfs-ro/etc/minimyth.d/audio.script (http://hoc.xs4all.nl/audio.script)

then use mkcramfs to repack the rootfs and it's fixed.

Good luck,

Jeroen

tpind
Member
Posts: 18
Joined: Thu Mar 10, 2005 1:23 am

Post by tpind » Fri Dec 23, 2005 9:15 am

Hi again,

Thanks for the help. Yes I have analog sound, and saw the other posting yesterday.

I have tried to update the script as you linked to, but I still do not have any sound. I could not see what the difference to the standard audio.script is. Did I miss anything or is there another work around ?

I have also tried to use 0.18.1.10 - but for some reason I can not get that release to load the libdvdcss files.

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo » Fri Dec 23, 2005 10:23 am

tpind wrote:I have also tried to use 0.18.1.10 - but for some reason I can not get that release to load the libdvdcss files.
This is a bug in .9 and .10, which causes ldconfig to fail to run after the extras directory is mounted. As as result libdvdcss cannot be found. You should be able to work around this by commenting out the MM_EXTRAS_URL in your minimyth.conf file and adding the following to your minimyth.script file:

Code: Select all

. /etc/rc.d/functions
mm_url_mount "tftp://${MM_TFTP_SERVER}/${MM_TFTP_ROOTDIR}/extras-minimyth-0.18.1.10.cmg" "/usr/local"
ldconfig

tpind
Member
Posts: 18
Joined: Thu Mar 10, 2005 1:23 am

Post by tpind » Sat Dec 31, 2005 3:11 pm

Just for the record.

I finally got it to work by packing out the cramfs image, adding the needed files and repackaging the image again.

That worked.

diskless1
Member
Posts: 24
Joined: Fri Apr 13, 2007 5:38 am
Location: Toronto, Canada

Post by diskless1 » Sun Jan 20, 2008 8:32 am

Pablo wrote:Yes, I believe that it does. There is no need to unpack the rootfs. It can be installed after the fact. Just put a copy of libdvdcss.so.2 in your conf directory on the TFTP server and add the following lines to your minimyth.script file

Code: Select all

. /etc/rc.d/functions
mm_conf_get libdvdcss.so.2 /usr/local/lib/libdvdcss.so.2
ldconfig
For those of you who were using this the function has been changed so you must use

Code: Select all

mm_confro_get libdvdcss.so.2 /usr/local/lib/libdvdcss.so.2
FE: Tranquil T2 Case, ASUS AT3IONT-I 2Gb Ram HDMI out, SPDIF out
BE: Dell Dimension 3100 HVR-1600 ...working process
SAN: MyBookworld 1 TB (hacked to provide nfs)

Post Reply