[mythtv] MythDVD Widescreen Ripping Bug

Tim tim at gibberish.me.uk
Mon Jan 16 09:37:52 UTC 2006


www. <http://www.bbc.co.uk/rd/pubs/brochures/opendays1999/afds.pdf>
bbc.co.uk/rd/pubs/brochures/opendays1999/afds.pdf 
 
Should explain all.

-----Original Message-----
From: mythtv-dev-bounces at mythtv.org
[mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of Matt Schulkind
Sent: 16 January 2006 03:01
To: Development of mythtv
Subject: [mythtv] MythDVD Widescreen Ripping Bug


Hi,

First off, I'm not on the dev list, so please CC me on any replies.

MythDVD seems to incorrectly identify widescreen/letter boxed DVDs.
There seem to be 4 types of DVDs that can be detected, 16:9 or 4:3 and
letterboxed or not for each. I don't really understand what 16:19
non-letterboxed is or what 4:3 letterboxed would be, but that's not
necessarily the base of this problem.

The big problem here is that MythDVD checks the letterboxed variable on
the video_attributes struct to see if the DVD is LB or not, but
libdvdread no longer/never did actually set a value other than a 0 in
that variable. A quick grep through the libdvdread sources shows that it
is not used. The following appears to fix things on my end. It also
seems that the 16:9 vs. 4:3 check should be sufficient, but if it's not
then the following should definitely fix it anyway:

Index: mtd/dvdprobe.cpp
============================== 
=====================================
--- mtd/dvdprobe.cpp    (revision 8587)
+++ mtd/dvdprobe.cpp    (working copy)
@@ -703,7 +703,7 @@
                                 cerr << "dvdprobe.o: Could not get
video format for a title" << endl;
                         }
                         
-                        if(video_attributes->letterboxed)
+                        if(video_attributes->permitted_df == 2)
                         {
                             new_title->setLBox(true);
                         }


I'd appreciate it if anyone who knows what 16:9 non-LB or 4:3 LB is
would let me know.

Thanks,
Matt Schulkind

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20060116/2f6109d3/attachment.htm


More information about the mythtv-dev mailing list