Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#3994 closed defect (invalid)

MythDVD Import Error (Possibly libdvdread3 or libdvdcss2 problem)

Reported by: Rob Frawley <robfrawley@…> Owned by: Anduin Withers
Priority: minor Milestone: unknown
Component: mythdvd Version: 0.20.2
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Summery

This issue is not a blanket issue as some DVDs import fine. This has happened to me with a few DVDs, most recently The Prestige. From the standpoint of MythDVD (the graphical interface), the time remaining continually increases to extremely high numbers, and subsequently never finishes.

This issue appears to be related to retrieving the table of contents from the DVD. It seems MTD thinks every chapter is 0 seconds long.

The below output occurs when I try to rip the DVD using the "Perfect" setting.

mtd output

2007-09-20 13:44:58.331 Using runtime prefix = /usr
2007-09-20 13:44:58.387 New DB connection, total: 1
2007-09-20 13:44:58.411 Connected to database 'mythconverg' at host: localhost
mtd started at Thu Sep 20 13:44:58 2007
mtd is running on a host called stw402-ds1
13:44:58: Waiting for connections/jobs
13:44:58: mtd is listening on port 2442
libdvdread: Using libdvdcss version 1.2.5 for DVD access
Please send bug report - no VTS_TMAPT ?? 
Please send bug report - no VTS_TMAPT ?? 
Please send bug report - no VTS_TMAPT ?? 
Please send bug report - no VTS_TMAPT ?? 
13:45:00: DVD inserted: PRE0NNW1       
13:45:00:             : Title 1 is of type 2 (dvdinput table)
13:45:00:             : Title 2 is of type 2 (dvdinput table)
13:45:00:             : Title 3 is of type 2 (dvdinput table)
13:45:00:             : Title 4 is of type 2 (dvdinput table)
13:45:00:             : Title 5 is of type 2 (dvdinput table)
13:45:00:             : Title 6 is of type 2 (dvdinput table)
13:45:00:             : Title 7 is of type 2 (dvdinput table)
13:45:00:             : Title 8 is of type 2 (dvdinput table)
13:45:00:             : Title 9 is of type 2 (dvdinput table)
13:45:00:             : Title 10 is of type 2 (dvdinput table)
13:45:00:             : Title 11 is of type 2 (dvdinput table)
13:45:00:             : Title 12 is of type 2 (dvdinput table)
13:45:00:             : Title 13 is of type 2 (dvdinput table)
13:45:00:             : Title 14 is of type 2 (dvdinput table)
13:45:00:             : Title 15 is of type 2 (dvdinput table)
13:45:00:             : Title 16 is of type 2 (dvdinput table)
13:45:00:             : Title 17 is of type 2 (dvdinput table)
13:45:00:             : Title 18 is of type 4 (dvdinput table)
13:45:00:             : Title 19 is of type 4 (dvdinput table)
13:45:00:             : Title 20 is of type 4 (dvdinput table)
13:45:00:             : Title 21 is of type 4 (dvdinput table)
13:45:00:             : Title 22 is of type 4 (dvdinput table)
13:45:00:             : Title 23 is of type 4 (dvdinput table)
13:45:00:             : Title 24 is of type 4 (dvdinput table)
13:45:00:             : Title 25 is of type 4 (dvdinput table)
13:45:00:             : Title 26 is of type 4 (dvdinput table)
13:45:00:             : Title 27 is of type 4 (dvdinput table)
13:45:00:             : Title 28 is of type 4 (dvdinput table)
13:45:00:             : Title 29 is of type 4 (dvdinput table)
13:45:00:             : Title 30 is of type 2 (dvdinput table)
13:45:00:             : Title 31 is of type 2 (dvdinput table)
13:45:00:             : Title 32 is of type 2 (dvdinput table)
13:45:00:             : Title 33 is of type 2 (dvdinput table)
13:45:00:             : Title 34 is of type 2 (dvdinput table)

Also, if you actually try to start the ripping process, mtd outputs the following:

09:00:24: job failed: job dvd 8 1 0 0 -1 /storage/0/mythtv/videos/The Prestige
09:00:49: launching job: job dvd 8 1 0 0 -1 /storage/0/mythtv/videos/PRE0NNW1
libdvdread: Using libdvdcss version 1.2.5 for DVD access
09:00:49: job thread beginning to rip dvd title

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 0x000002db
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000003da
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000495
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0004ba39
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0006758a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0037cb54
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0037cdb2
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0037cf68
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0037d023
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0037d136
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0037d1f1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x0037e4c6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x0037e581
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x0037e7c4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x0037e87f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x0037ebd9
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x0037ec94
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x003a47bb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x003a4876
libdvdread: Elapsed time 0
libdvdread: Found 9 VTS's
libdvdread: Elapsed time 1
2007-09-20 09:00:53.037 Ripfile wrote 0 bytes, but that's all it was asked to. Unlikely coincidence?
2007-09-20 09:00:53.037 Ripfile wrote 0 bytes, but that's all it was asked to. Unlikely coincidence?
[...this repeats until the mtd process is killed or stopped from the frontend...]

lsdvd -x -t 1 output

Disc Title: PRE0NNW1
Title: 01, Length: 00:19:30.100 Chapters: 07, Cells: 07, Audio streams: 01, Subpictures: 01
        VTS: 01, TTN: 01, FPS: 29.97, Format: NTSC, Aspect ratio: 16/9, Width: 720, Height: 480, DF: Letterbox
        Palette: 000000 d08754 108080 ea8080 415ba2 39847e e4807f ea8080 c79915 286df0 ea8080 ea8080 ea8080 ea8080 ea8080 ea8080 
        Number of Angles: 1
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x80
        Chapter: 01, Length: 00:03:45.120, Start Cell: 01
        Chapter: 02, Length: 00:05:09.186, Start Cell: 02
        Chapter: 03, Length: 00:03:28.100, Start Cell: 03
        Chapter: 04, Length: 00:03:25.253, Start Cell: 04
        Chapter: 05, Length: 00:02:36.210, Start Cell: 05
        Chapter: 06, Length: 00:01:03.143, Start Cell: 06
        Chapter: 07, Length: 00:00:00.176, Start Cell: 07
        Cell: 01, Length: 00:03:45.120
        Cell: 02, Length: 00:05:09.186
        Cell: 03, Length: 00:03:28.100
        Cell: 04, Length: 00:03:25.253
        Cell: 05, Length: 00:02:36.210
        Cell: 06, Length: 00:01:03.143
        Cell: 07, Length: 00:00:00.176
        Subtitle: 01, Language: en - English, Content: Undefined, Stream id: 0x20,

tcprobe -i /dev/dvd output

[tcprobe] DVD image/device
(dvd_reader.c) mpeg2 ntsc 16:9 only letterboxed U0 720x480 video
(dvd_reader.c) ac3 en drc 48kHz 2Ch 
(dvd_reader.c) subtitle 00=<en> 
(dvd_reader.c) DVD title 1/34: 7 chapter(s), 1 angle(s), title set 1
(dvd_reader.c) title playback time: 00:19:30.03  1171 sec
(dvd_reader.c) [Chapter 01] 00:00:00.000 , block from 0 to 63520
(dvd_reader.c) [Chapter 02] 00:03:45.767 , block from 63521 to 144114
(dvd_reader.c) [Chapter 03] 00:08:55.601 , block from 144115 to 199329
(dvd_reader.c) [Chapter 04] 00:12:23.701 , block from 199330 to 250908
(dvd_reader.c) [Chapter 05] 00:15:49.601 , block from 250909 to 294025
(dvd_reader.c) [Chapter 06] 00:18:26.134 , block from 294026 to 307251
(dvd_reader.c) [Chapter 07] 00:19:29.601 , block from 307252 to 307438
[tcprobe] summary for /dev/dvd, (*) = not default, 0 = not detected
import frame size: -g 720x480 [720x576] (*)
     aspect ratio: 16:9 (*)
       frame rate: -f 23.976 [25.000] frc=1 (*)
      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000] 
[tcprobe] V: 28076 frames, 1171 sec @ 23.976 fps
[tcprobe] A: 18.30 MB @ 128 kbps
[tcprobe] CD:  650 MB | V:  631.7 MB @ 4525.3 kbps
[tcprobe] CD:  700 MB | V:  681.7 MB @ 4883.5 kbps
[tcprobe] CD: 1300 MB | V: 1281.7 MB @ 9181.6 kbps
[tcprobe] CD: 1400 MB | V: 1381.7 MB @ 9898.0 kbps

Closing Notes

It is important to note that trying to rip an ISO image of this DVD results in a read/write error from mtd.

Change History (3)

comment:1 Changed 12 years ago by Rob Frawley <robfrawley@…>

I figure it might be important to know the versions of libdvd* packages installed:

dpkg -l | grep libdvd output

ii  libdvdcss2                                 1.2.5-1                              a portable abstraction library for DVD decry
ii  libdvdnav4                                 0.1.10-0.2                           The DVD navigation library
ii  libdvdread3                                0.9.7-3ubuntu1                       library for reading DVDs

comment:2 Changed 12 years ago by Anduin Withers

Resolution: invalid
Status: newclosed

mtd makes no attempt to bypass copy protection, it never will.

comment:3 Changed 12 years ago by anonymous

Try the patch attached to http://svn.mythtv.org/trac/ticket/3696

Note: See TracTickets for help on using tickets.