[MPlayer-users] Erroneous Aspect Ratio detection on DVDs with Pan&Scan Feature

Alexander Roalter alex at roalter.it
Thu Mar 29 18:14:27 CEST 2007


Alexander Roalter wrote:
> [a lot of blah blah...]

To add something to the long explanation, and from googling around a 
bit, I found that it should/could be a flag in the UOP (User Operations 
Prohibitions) (mis-)used for this task:

"Video presentation mode change"

Don't know which bit in the 32 bits of this field it is, but from what I 
read this flag allows a player to change the aspect ratio of the movie, 
which can only imply the pan&scan thing, otherwise I don't have any 
explanation for it.

And from http://msdn2.microsoft.com/en-us/library/ms787885.aspx
comes:
typedef enum {
     UOP_FLAG_Play_Title_Or_AtTime           = 0x00000001,
     UOP_FLAG_Play_Chapter                   = 0x00000002,
     UOP_FLAG_Play_Title                     = 0x00000004,
     UOP_FLAG_Stop                           = 0x00000008,
     UOP_FLAG_ReturnFromSubMenu              = 0x00000010,
     UOP_FLAG_Play_Chapter_Or_AtTime         = 0x00000020,
     UOP_FLAG_PlayPrev_Or_Replay_Chapter     = 0x00000040,
     UOP_FLAG_PlayNext_Chapter               = 0x00000080,
     UOP_FLAG_Play_Forwards                  = 0x00000100,
     UOP_FLAG_Play_Backwards                 = 0x00000200,
     UOP_FLAG_ShowMenu_Title                 = 0x00000400,
     UOP_FLAG_ShowMenu_Root                  = 0x00000800,
     UOP_FLAG_ShowMenu_SubPic                = 0x00001000,
     UOP_FLAG_ShowMenu_Audio                 = 0x00002000,
     UOP_FLAG_ShowMenu_Angle                 = 0x00004000,
     UOP_FLAG_ShowMenu_Chapter               = 0x00008000,
     UOP_FLAG_Resume                         = 0x00010000,
     UOP_FLAG_Select_Or_Activate_Button      = 0x00020000,
     UOP_FLAG_Still_Off                      = 0x00040000,
     UOP_FLAG_Pause_On                       = 0x00080000,
     UOP_FLAG_Select_Audio_Stream            = 0x00100000,
     UOP_FLAG_Select_SubPic_Stream           = 0x00200000,
     UOP_FLAG_Select_Angle                   = 0x00400000,
     UOP_FLAG_Select_Karaoke_Audio_Presentation_Mode = 0x00800000,
     UOP_FLAG_Select_Video_Mode_Preference   = 0x01000000  <--------+
} VALID_UOP_FLAG ;                                                 |
                                                                    |
                                           Is this the searched flag?


How can I read the UOPs for a given title set? There's no switch to 
print them out (though I remember earlier versions of dvdnav did display 
something of it, and they printed the Region Code, too, something I'd 
also like to have printed out (but printed out only, nothing has to be 
done for it to work, understood!! :)




More information about the MPlayer-users mailing list