Opened 10 years ago

Closed 10 years ago

#7021 closed defect (fixed)

MythDVD Internal player won't play some DVDs

Reported by: doug@… Owned by: skamithi
Priority: minor Milestone: unknown
Component: MythTV - DVD Playback Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Hi All,

MythDVD's internal will play most of my DVDs (e.g. Reservoir Dogs, The Matrix, etc), however I have one Baby Einstein DVD that it won't play. I end up getting 100s of these messages and no playback:

2009-09-09 08:44:40.290 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:40.465 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:40.713 NVP(7): Forcing decode extra audio option on (Video method requires it).

I'm using VDPAU if that helps.

Here's my MythFrontend version info: Please include all output in bug reports. MythTV Version : 21727M MythTV Branch : trunk Network Protocol : 48 Library API : 0.22.20090905-1 QT Version : 4.5.0 Options compiled in:

linux release using_oss using_alsa using_pulse using_backend using_directfb using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_opengl using_vdpau using_ffmpeg_threads using_libavc_5_3 using_live using_mheg

Here's the MythFrontend log:

2009-09-09 08:44:34.621 TV: Attempting to change from None to Watching DVD libdvdnav: Using dvdnav version svnR1169 libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdnav: DVD Title: B1M0NNW1 libdvdnav: DVD Serial Number: 38f700f1 libdvdnav: DVD Title (Alternative): libdvdnav: Unable to find map file '/home/doug/.dvdnav/B1M0NNW1.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 0x000001c0 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000002a3 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000025c0 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x000d0b97 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x000d0c52 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x000d0d1f libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x000d0dda libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x000d0ea7 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x000d0f62 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x000d102f libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x000d10ea libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x000d11b7 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x000d1376 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x000d152b libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x000d15e6 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x000d1af9 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x000d1bb4 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x000d2a2e libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x000d2ae9 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x000d495b libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x000d4a16 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_11_0.VOB at 0x000d4ae3 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x000d4b9e libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_12_0.VOB at 0x000d4c6b libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_12_1.VOB at 0x000d4d26 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_13_0.VOB at 0x000d4df3 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_13_1.VOB at 0x000d4eae libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_14_0.VOB at 0x000d4f7b libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_14_1.VOB at 0x000d5036 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_15_0.VOB at 0x000d5103 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_15_1.VOB at 0x000d51be libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_16_0.VOB at 0x000d5346 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_16_1.VOB at 0x000d5401 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_17_0.VOB at 0x000dc7be libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_17_1.VOB at 0x000dc879 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_18_0.VOB at 0x000dc946 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_18_1.VOB at 0x000dca01 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_19_0.VOB at 0x000dcace libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_19_1.VOB at 0x000dcb89 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_20_0.VOB at 0x000dcc56 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_20_1.VOB at 0x000dcd11 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_21_0.VOB at 0x000dcde2 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_21_1.VOB at 0x000dce9d libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_22_0.VOB at 0x000ddd6c libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_22_1.VOB at 0x000dde27 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_23_0.VOB at 0x000ded18 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_23_1.VOB at 0x000dedd3 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_24_0.VOB at 0x000dfcb1 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_24_1.VOB at 0x000dfd6c libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_25_0.VOB at 0x000dffcb libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_25_1.VOB at 0x000e0086 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_26_0.VOB at 0x000e02e5 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_26_1.VOB at 0x000e03a0 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_27_0.VOB at 0x000e05ff libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_27_1.VOB at 0x000e06ba libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_28_0.VOB at 0x000e0919 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_28_1.VOB at 0x000e09d4 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_29_0.VOB at 0x000e0c2b libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_29_1.VOB at 0x000e0ce6 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_30_0.VOB at 0x000e1420 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_30_1.VOB at 0x000e14db libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_31_0.VOB at 0x000ee366 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_31_1.VOB at 0x000ee421 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_32_0.VOB at 0x001195c2 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_32_1.VOB at 0x0011967d libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_33_0.VOB at 0x00141020 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_33_1.VOB at 0x001410db libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_34_0.VOB at 0x0017cc6f libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_34_1.VOB at 0x0017cc7f libdvdread: Elapsed time 0 libdvdread: Found 34 VTS's libdvdread: Elapsed time 0 2009-09-09 08:44:35.106 Opened DVD device at /dev/scd0 2009-09-09 08:44:35.316 There are 47 titles on the disk 2009-09-09 08:44:35.316 Title 0 has 0 parts. 2009-09-09 08:44:35.316 Title 1 has 8 parts. 2009-09-09 08:44:35.316 Title 2 has 1 parts. 2009-09-09 08:44:35.316 Title 3 has 1 parts. 2009-09-09 08:44:35.316 Title 4 has 1 parts. 2009-09-09 08:44:35.316 Title 5 has 1 parts. 2009-09-09 08:44:35.316 Title 6 has 1 parts. 2009-09-09 08:44:35.316 Title 7 has 3 parts. 2009-09-09 08:44:35.316 Title 8 has 8 parts. 2009-09-09 08:44:35.316 Title 9 has 2 parts. 2009-09-09 08:44:35.316 Title 10 has 1 parts. 2009-09-09 08:44:35.316 Title 11 has 7 parts. 2009-09-09 08:44:35.316 Title 12 has 1 parts. 2009-09-09 08:44:35.316 Title 13 has 1 parts. 2009-09-09 08:44:35.316 Title 14 has 1 parts. 2009-09-09 08:44:35.316 Title 15 has 1 parts. 2009-09-09 08:44:35.316 Title 16 has 1 parts. 2009-09-09 08:44:35.316 Title 17 has 1 parts. 2009-09-09 08:44:35.316 Title 18 has 1 parts. 2009-09-09 08:44:35.316 Title 19 has 2 parts. 2009-09-09 08:44:35.316 Title 20 has 1 parts. 2009-09-09 08:44:35.316 Title 21 has 1 parts. 2009-09-09 08:44:35.316 Title 22 has 1 parts. 2009-09-09 08:44:35.316 Title 23 has 1 parts. 2009-09-09 08:44:35.316 Title 24 has 35 parts. 2009-09-09 08:44:35.316 Title 25 has 35 parts. 2009-09-09 08:44:35.316 Title 26 has 35 parts. 2009-09-09 08:44:35.317 Title 27 has 3 parts. 2009-09-09 08:44:35.317 Title 28 has 3 parts. 2009-09-09 08:44:35.317 Title 29 has 3 parts. 2009-09-09 08:44:35.317 Title 30 has 3 parts. 2009-09-09 08:44:35.317 Title 31 has 3 parts. 2009-09-09 08:44:35.317 Title 32 has 52 parts. 2009-09-09 08:44:35.317 Title 33 has 4 parts. 2009-09-09 08:44:35.317 Title 34 has 2 parts. 2009-09-09 08:44:35.317 Title 35 has 2 parts. 2009-09-09 08:44:35.317 Title 36 has 2 parts. 2009-09-09 08:44:35.317 Title 37 has 1 parts. 2009-09-09 08:44:35.317 Title 38 has 1 parts. 2009-09-09 08:44:35.317 Title 39 has 1 parts. 2009-09-09 08:44:35.317 Title 40 has 1 parts. 2009-09-09 08:44:35.317 Title 41 has 1 parts. 2009-09-09 08:44:35.317 Title 42 has 1 parts. 2009-09-09 08:44:35.317 Title 43 has 2 parts. 2009-09-09 08:44:35.317 Title 44 has 2 parts. 2009-09-09 08:44:35.317 Title 45 has 2 parts. 2009-09-09 08:44:35.317 Title 46 has 2 parts. 2009-09-09 08:44:35.327 TV: StartPlayer?(0, Watching DVD, main) -- begin libdvdnav: admap not located libdvdnav: Error when seeking 2009-09-09 08:44:35.509 AFD Error: Could not find decoder for codec (Unknown Codec ID), ignoring. 2009-09-09 08:44:35.509 NVP(7): Disabling Audio, params(-1,-1,-1) 2009-09-09 08:44:35.673 OSD Theme Dimensions W: 640 H: 480 2009-09-09 08:44:35.855 TV: StartPlayer?(0, Watching DVD, main) -- end ok 2009-09-09 08:44:35.855 TV: Changing from None to Watching DVD 2009-09-09 08:44:35.858 OpenGLVideoSync() 2009-09-09 08:44:35.890 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:35.890 ScreenSaverX11Private: DPMS Deactivated 1 2009-09-09 08:44:35.890 ScreenSaverX11Private: DPMS Reactivated 1 2009-09-09 08:44:35.896 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:35.899 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:35.902 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:35.904 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:35.906 Video timing method: SGI OpenGL 2009-09-09 08:44:35.906 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:35.908 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:35.911 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:35.913 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:35.915 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:35.918 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:35.920 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:35.923 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:36.096 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:36.366 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:37.182 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:37.287 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:37.465 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:37.713 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:37.787 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:37.965 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:38.213 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:38.287 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:38.465 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:38.713 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:38.788 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:38.965 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:39.213 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:39.287 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:39.465 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:39.713 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:39.789 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:39.965 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:40.214 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:40.290 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:40.465 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:40.713 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:40.790 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:40.965 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:41.213 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:41.290 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:41.466 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:41.715 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:41.790 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:41.965 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:42.213 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:42.289 AFD: Opened codec 0x7f41a9eab9c0, id(MPEG2VIDEO) type(Video) 2009-09-09 08:44:42.467 NVP(7): Forcing decode extra audio option on (Video method requires it). 2009-09-09 08:44:42.784 NVP(7): Forcing decode extra audio option on (Video method requires it).

The last 3 lines will repeat forever.

Thanks for any help! Doug

Attachments (5)

playback01.txt (250.0 KB) - added by doug@… 10 years ago.
Updated log file with -v playback
xv.log.gz (56.0 KB) - added by doug@… 10 years ago.
Xvideo log with -v playback
ticket_7021_potential_fix.diff (579 bytes) - added by skamithi 10 years ago.
check that the next video width is valid before reinitializing dvd video.
xv2.log (14.4 KB) - added by doug@… 10 years ago.
seg fault log
ticket_7021_potential_fix_2nd_attempt.diff (899 bytes) - added by skamithi 10 years ago.
check if current_width > 0.. if it , go ahead and reset the codecs and rescan the streams. even if current_width is 0, still delete the pkt, prevent a segfault in the video decoding

Download all attachments as: .zip

Change History (15)

comment:1 Changed 10 years ago by anonymous

Doug - you'll need to add some extra logging; -v playback should probably be sufficient.

Changed 10 years ago by doug@…

Attachment: playback01.txt added

Updated log file with -v playback

comment:2 Changed 10 years ago by doug@…

Thanks for the quick response. Please see the attached file with -v playback turned on.

comment:3 Changed 10 years ago by skamithi

Status: newinfoneeded_new

try a different type of video renderer like Xvideo, to determine if this just a VDPAU issue. if the problem occurs with the Xvideo renderer, submit a "-v playback" output of that as well.

Changed 10 years ago by doug@…

Attachment: xv.log.gz added

Xvideo log with -v playback

comment:4 Changed 10 years ago by doug@…

Hi,

I get the same issue when I change the renderer to XV. Please see the attached log.

Thanks! Doug

comment:5 Changed 10 years ago by skamithi

Status: infoneeded_newnew

please test the attached patch.

comment:6 Changed 10 years ago by skamithi

Status: newaccepted

Changed 10 years ago by skamithi

check that the next video width is valid before reinitializing dvd video.

comment:7 Changed 10 years ago by doug@…

Thanks for the quick fix. Now I get a seg fault. The log is attached.

Changed 10 years ago by doug@…

Attachment: xv2.log added

seg fault log

Changed 10 years ago by skamithi

check if current_width > 0.. if it , go ahead and reset the codecs and rescan the streams. even if current_width is 0, still delete the pkt, prevent a segfault in the video decoding

comment:8 Changed 10 years ago by skamithi

if the next patch fails, please provide the "-v playback" output. thx.

comment:9 Changed 10 years ago by doug@…

I just tested this patch against 22050M and it worked like gangbusters!

Thanks! Doug

comment:10 Changed 10 years ago by skamithi

Resolution: fixed
Status: acceptedclosed

(In [22074]) Closes #7021. Internal DVD Player resolves mythtv looping on dvd cells with zero video width.

Note: See TracTickets for help on using tickets.