2009-08-01, 07:42
clackerdacker Wrote:Not really, 2.35 has black bars top and bottom whilst 1.78 fills the screen entirely etc. It's then complicated further with anamorphic and non anamorphic DVDs.
If we follow the above then all NTSC DVDs are exactly the same AR which is wrong.
Bah, yes, you're right... dvds... I am thinking general video. Hmmm... don't think there's anything we can do about it. I can get the internal aspect as stored in the ifo (4:3 or 16:9) and whether dvd is letterboxed or not.... but I don't think that would help much. Maybe do something like if aspect = 1.78 and DVD is marked letterboxed then assume 2.35 (or 1.85)?
EDIT: Something like this:
Code:
If ParsedIFOFile.VideoAtt_VTS_VOBS.Aspect_Ratio = 3 AndAlso ParsedIFOFile.VideoAtt_VTS_VOBS.LetterBoxed Then
ReturnArray(2) = "1.85"
ElseIf ParsedIFOFile.VideoAtt_VTS_VOBS.Aspect_Ratio = 3 OrElse ParsedIFOFile.VideoAtt_VTS_VOBS.LetterBoxed Then
ReturnArray(2) = "1.78"
ElseIf ReturnArray(1).Contains("x") Then
Dim strAspect() As String = ReturnArray(1).Split(New Char() {"x"})
Dim strReturn As String = Master.ConvertToSingle(FormatNumber(Master.ConvertToSingle(strAspect(0)) / Master.ConvertToSingle(strAspect(1)), 2, TriState.False))
If strReturn.EndsWith("0") Then
ReturnArray(2) = strReturn.Substring(0, strReturn.Length - 1)
Else
ReturnArray(2) = strReturn
End If
Else
ReturnArray(2) = String.Empty
End If
EDIT Again: Committed to SVN to test if it makes any difference (the test rip i have is standard format :/)