Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#2542 closed defect (fixed)

Internal DVD player bugs with DVDs from dvdauthor

Reported by: thomas@… Owned by: skamithi
Priority: minor Milestone: 0.21
Component: mythtv Version: 0.20
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I am authoring DVDs with KMediaFactory 0.5.2, which uses dvdauthor 0.6.11. The resulting DVDs play fine in xine and in normal DVD players, but there are 3 problems with Myth's internal DVD player.

I have a sample uploaded, where I deleted title 2-5 and crippled title 1, so that it's only 7 MB, but it still shows the problems: http://www.boerkel.de/dvd.tar.bz2

Problem 1: In the main menu, move the cursor to "Play" of the 3rd title. The arrow is being drawn doubled.

Problem 2: Play title 1 and exit to main menu with the OSD after a few seconds. Then the menu screen is all black except the green marking rectangle.

Problem 3: "Main menu" in the OSD does not exit to the root menu, but to the title menu, I believe. It's like key F1 in xine, but it should be like key F2 in xine. In this sample DVD, "Main menu" brings you to the chapter menu. So, in Myth's internal DVD player, you cannot go to the real main menu. You have to exit the DVD player and reenter it to do so.

Attachments (5)

dvd_osd_menu_fix.diff (1.8 KB) - added by skamithi 13 years ago.
fix for problem 3. add new osd menu option for chapter menu (no key action created..i can do it if folks want to). make root menu match the title menu option.
ticket_2542_prob2_fix.diff (1.7 KB) - added by skamithi 13 years ago.
problem 2 fix. with libmpeg2 or ffmpeg, but discovered a new problem. problem 4: player crashes on displaydvdbutton when in the chapter menu and u select the back option. only crashes when you go from the main title to the chapter menu. going from the main menu -> chapter menu doesn't seem to cause a problem.
madagascar_menu.diff (608 bytes) - added by skamithi 13 years ago.
potential fix for madagascar dvd menu problem.
madagascar_fix_attempt_2.diff (4.5 KB) - added by skamithi 13 years ago.
2nd attempt to detect if the title menu doesn't exist. should fix madagscar issue.
problem1_fix.diff (2.2 KB) - added by skamithi 13 years ago.
problem 1 is an issue where the size of the bitmap is different then the video dimensions. the first commit only took care of the width..need to also take care of the height as well.

Download all attachments as: .zip

Change History (18)

comment:1 Changed 13 years ago by thomas@…

Summary: Interndal DVD player bugsInternal DVD player bugs with DVDs from dvdauthor

comment:2 Changed 13 years ago by skamithi

Owner: changed from Isaac Richards to skamithi

Changed 13 years ago by skamithi

Attachment: dvd_osd_menu_fix.diff added

fix for problem 3. add new osd menu option for chapter menu (no key action created..i can do it if folks want to). make root menu match the title menu option.

comment:3 Changed 13 years ago by skamithi

workaround for problem 2 is to use libmpeg2. its another resolution change problem that ffmpeg can't handle. will try and resolve it.

i'm stumped by problem one, but i'll look into it.

Changed 13 years ago by skamithi

Attachment: ticket_2542_prob2_fix.diff added

problem 2 fix. with libmpeg2 or ffmpeg, but discovered a new problem. problem 4: player crashes on displaydvdbutton when in the chapter menu and u select the back option. only crashes when you go from the main title to the chapter menu. going from the main menu -> chapter menu doesn't seem to cause a problem.

comment:4 Changed 13 years ago by skamithi

Status: newassigned

comment:5 Changed 13 years ago by skamithi

Milestone: unknown0.21

comment:6 Changed 13 years ago by skamithi

(In [11467]) Refs #2542. fix title menu selection. add chapter menu to osd menu when watching dvd. if folks want me to add an action key for selecting a chapter menu, let me know.

comment:7 Changed 13 years ago by skamithi

(In [11511]) Refs #2542. internal dvd player. handle transition from main title to still frame and a resolution change when using the standard decoder. problem doesn't occur using libmpeg2.

comment:8 Changed 13 years ago by bhuffman@…

The "add chapter menu" seems to cause problems on certain DVDs. In Madagasgar for example, if you hit "root menu" now it exits completely. Whereas "chapter menu" takes you to what I would consider a "root menu"

Changed 13 years ago by skamithi

Attachment: madagascar_menu.diff added

potential fix for madagascar dvd menu problem.

comment:9 Changed 13 years ago by bhuffman@…

Unfortunately the patch for madagascar did not fix the problem. When hitting "DVD Root Menu" it still exits out of the player completely.

Changed 13 years ago by skamithi

2nd attempt to detect if the title menu doesn't exist. should fix madagscar issue.

comment:10 Changed 13 years ago by bhuffman@…

BAM! Another bug squashed! Your patch works great for Madagascar. Thanks for all your work! -b

comment:11 Changed 13 years ago by skamithi

Resolution: fixed
Status: assignedclosed

(In [12209]) Closes #2542. this should fix the madagascar dvd menu selection issue. basically check if the title menu exists, if not, then don't use it. i'm closing #2542 even though problem (1), the "double" button issue, of the ticket is unresolved. I don't know how to fix it, so if someone has a patch for it, please reopen the ticket and submit the patch.

comment:12 Changed 13 years ago by skamithi

(In [12227]) Refs #2542. this should resolve problem(1) of this ticket.

Changed 13 years ago by skamithi

Attachment: problem1_fix.diff added

problem 1 is an issue where the size of the bitmap is different then the video dimensions. the first commit only took care of the width..need to also take care of the height as well.

comment:13 Changed 13 years ago by skamithi

(In [12228]) Refs #2542. problem 1 is an issue where the size of the bitmap is different then the video dimensions. the first commit only took care of the width..need to also take care of the height as well.

Note: See TracTickets for help on using tickets.