Opened 13 years ago

Closed 13 years ago

#2117 closed defect (fixed)

Internal DVD player crashes on DVD created by MythArchive

Reported by: mythtv babysimon co uk Owned by: skamithi
Priority: minor Milestone: unknown
Component: mythdvd Version:
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The internal player plays my commercial DVDs fine but crashes when playing a DVD created by MythArchive?. The MythArchive? DVDs seem to work OK on other machines (tested on Totem and a PlayStation? 2). The crash happens as soon as the DVD spins up - before the first menu appears.

I'm really not sure whether to assign this to MythArchive? or MythDVD so I guessed MythDVD - let me know if that's wrong.

I've attached a backtrace which I hope contains meaningful information (it's the first time I've created one). I'm using r10662 (I hope this isn't too old; it takes me a while to update and build). I've also attached logs created with -v all,nodatabase although they don't appear to show much.

Attachments (4)

gdb.txt (20.6 KB) - added by anonymous 13 years ago.
myth.log (49.2 KB) - added by anonymous 13 years ago.
myth.err (961 bytes) - added by anonymous 13 years ago.
ticket_2117_attempt_2.diff (1.7 KB) - added by skamithi 13 years ago.
current patch that i'm testing. so far it fixes the crash, but not sure if its work on other dvds i have that have input changes.

Download all attachments as: .zip

Change History (19)

Changed 13 years ago by anonymous

Attachment: gdb.txt added

Changed 13 years ago by anonymous

Attachment: myth.log added

Changed 13 years ago by anonymous

Attachment: myth.err added

comment:1 Changed 13 years ago by skamithi

Status: newassigned

comment:2 Changed 13 years ago by skamithi

Crash occurred during a DVD resolution change. i use mytharchive too. i use SP and LP format only using the Compact design. Please describe exactly how you created the mytharchive dvd so i can attempt to duplicate it.

comment:3 Changed 13 years ago by skamithi

also try the libmpeg2 decoder instead of the standard(ffmpeg) decoder and inform me of the results.

comment:4 Changed 13 years ago by mythtv babysimon co uk

I tried libmpeg2 and the DVD played the intro and the menu, but then lost sound one second after starting to play the first chapter (video worked fine though). Sound worked using libmpeg2 and TV or a commercial DVD.

I have been creating DVDs using the compact theme. Programs are from a DVB-T source, using the "Don't transcode" format (but with the "always run through MythTranscode?" preference checked), burned straight onto DVD+R. I've been creating DVDs from programs that have already been run through the lossless MPEG2 transcoder to cut commercials before they see MythArchive?.

I'm currently burning a DVD using the G.A.N.T theme and LP transcoding (trying to change as many things as I can). I'll comment again when it's done.

I have the nasty feeling I'm not being much help here; if there's any more information I can provide please let me know.

comment:5 Changed 13 years ago by skamithi

if patch fails, please attach gdb.txt output.

comment:6 Changed 13 years ago by mythtv babysimon co uk

The patch did fail I'm afraid, but I've been able to work out that it's related to the compact theme - the discs I burnt with G.A.N.T. worked. I assume something in pal_mythlogo_intro.mpg is the problem.

I'm about to go out for the day but will attach a backtrace tomorrow.

comment:7 Changed 13 years ago by skamithi

i burned one of my shows using PAL / LP/ Compact theme/ Save iso to disk instead of burning to a dvd. works fine for me.

i upgraded to the latest svn revision before creating the iso.

comment:8 Changed 13 years ago by skamithi

if upgrading to the latest svn fails. please create a 1 minute iso file and post it on some website. i can download it and investigate the issue further. basically its crashing on ffmpeg functions that i'm not familiar with, as it tries to decode the frame to find the codecs within the frame.

comment:9 Changed 13 years ago by mythtv babysimon co uk

I'm afraid it's still not working at r10686.

I've put a small ISO (15MB compressed) at http://www.babysimon.co.uk/misc/news24.iso.bz2.

comment:10 Changed 13 years ago by skamithi

iso works fine for me. when u upgraded did you do a distclean before compiling ?

comment:11 Changed 13 years ago by skamithi

got it crash now. needed to run it in fullscreen mode.

Changed 13 years ago by skamithi

Attachment: ticket_2117_attempt_2.diff added

current patch that i'm testing. so far it fixes the crash, but not sure if its work on other dvds i have that have input changes.

comment:12 Changed 13 years ago by skamithi

so far patch works on all my home dvds with resolution changes and simon's iso. please test the latest patch.

comment:13 Changed 13 years ago by mythtv babysimon co uk

The new patch fixes the problem for me. Thanks!

comment:14 Changed 13 years ago by skamithi

great, i'll commit it this wknd.

comment:15 Changed 13 years ago by skamithi

Resolution: fixed
Status: assignedclosed

(In [10748]) Closes #2117. internal dvd player: use thread safe avformatdecoder::closecodecs() to reset av codecs when a resolution change is detected.

Note: See TracTickets for help on using tickets.