[Mplayer-dev-eng] Matrox dualhead and syncfb.

Felix Buenemann atmosfear at users.sourceforge.net
Tue May 1 22:53:31 CEST 2001


On Dienstag,  1. Mai 2001 22:07 you wrote:
> On Dienstag,  1. Mai 2001 21:59 you wrote:
> > On Tue, 1 May 2001, Felix Buenemann wrote:
> >
> > .....
> >
> > > I work the other way around, I lower picture height instead of
> > > stretching image width, so on 16:9 you will have 720x405 (dunno how you
> > > come onto 960x576 fo me the other way around it's 1024x576).
> > > But most anamorphic dvds seems to need -aspect 1,85, ie. 6th Sense DVD
> > > I own is 1,85:1 and fully streched onto height of 576 and The Matrix is
> > > 2,35:1 but has Black Bars so 1,85:1 is also correct setting.
> > > Of course in windowed mode it may look wrong if your res is not 4:3 (ie
> > > 1280x1024) currently at least SDL driver doesn't care about that in
> > > windowed mode but does in fullscreen (-vm), anyway fullscreen function
> > > of sdl needs rewrite to correctly cope with -zoom -vm and -fs mode,
> > > maybe I'll change aspect awareness for non 4:3 res for windowed, too.
> >
> > 	Well, 960 = 16/9 / (4/3) * 720, that is I was considering aspect
> > ratio of my screen (1600x1200). But anyway, how can I get wider
> > images? That is if I have 1600x1200 resolution when I want to play a DVD
> > that is 16:9 I should make it follow a 4:3 ratio, because my screen
> > change it to 4:3*4:3 = 16:9, I'm right? I'm really puzzled now ...
>
> -aspect switch should only care for video size not for screen res (that's
> done by vo plugin), so I calculate aspect by 9:16 = 0.5625 * 720 = 405
> (->720x405) or the other way around 16:9 = 1.7777777777 * 576 = 1024
> (1024x576), if you devide 720/16 and 405/9 you both get 45 and for 1024/16
> and 576/9 you get both 64. I think this is correct, but maybe I'm mistaken
> :) (I repeat screen sapect should be taken care of by output plugin as it
> decides target resolution).

Just did some calculation using your math and think it comes out to the same 
result: 1.85/1 / (1280/1024) * 720 = 1066 now split it up so screen 
resolution calc can be done by libvo: 1.85/1 * 720 = 1332 second step is 
1024/1280 = 0.8 * 1333 = 1066 voila. Now as I do it the other way around 
that's 720/1066 = 0.6756 * 576 = 389. Now if I look at what mplayer -aspect 
1.85:1 does: "VO: [sdl] 720x576 => 720x389  YV12".
So do you see something incorrect in this? Or have I missed calculating for 
proper screen res in second way? (looking at it 720x389 looks very ok -> very 
round flashlight in the matrix [no egg])
(I'm getting slightly confused =)
>
> > 	- german

-- 
Best Regards,
   Felix

_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list