Opened 13 years ago

Closed 13 years ago

#2029 closed patch (fixed)

mytharchive enhancement: correct aspect ratio output

Reported by: rd.mora@… Owned by: paulh
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Some dumb DVD players (like mine) need to be explicitly told what the aspect ratio of the video is and (in the cast of 16:9) how to handle it (nopanscan|noletterbox). Additionally all video within a title must have the same aspect ratio. Attached is a diff that encodes the chapter menu and details pages so that they are the same aspect ratio as the title (the main menu is assumed to be 4:3 - is this a reasonable default?). It then inserts the appropriate XML tags into the dvdauthor.xml file to go with each video segment.

Further, my DVD player showed its stupidity even further by completely screwing up 16:9 menus (background and mask were misaligned), even though I believe these should work (especially with my previous patch to include DPI information). As such I have hard-coded the chapter menu to be 4:3 - this is OK because this video is in the menu of the titleset and thus has its own video attribute in the XML separate from the title's. Please remove the hard-coding or make optional if you find that this works on other players.

Finally you may notice that I do not know python at all, I only hack it - please feel free to improve :-)

Attachments (1)

aspect.diff (6.2 KB) - added by rd.mora@… 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by rd.mora@…

Attachment: aspect.diff added

comment:1 Changed 13 years ago by paulh

Owner: changed from Isaac Richards to paulh

comment:2 Changed 13 years ago by paulh

Resolution: fixed
Status: newclosed

(In [10587]) Apply a modified version of the patch in ticket #2029. Allows you to specify what aspect ratio should be used when creating the DVD main menu and the chapter menu.

Fixes #2029

Note: See TracTickets for help on using tickets.