[Mplayer-dvb] Keeping aspect ration when rescaling

Martin Hoffmann ma.hoff at t-online.de
Thu Apr 11 19:33:17 CEST 2002


> Sure this works, but nearly every file of me has different
> size, e.g. 640x256 or 512x300 or 640x352 so I can not
> use a specific value, it must be computed every time.
>
> Like a "simple" fullscreen rescale.
You're right !

I'm going to write a somewhat smarter mplayer.sh script for the DVB output,  
once mplayer runs fine again ! This script will first trigger mplayer with 
-frames 0 and analyze the output to know the x and y resolution of the video 
! Then it resizes it accordingly !
The big advantage i see, is that it can treat non conform AVIs with DVB 
resolutions like 480x576 (made with mencoder and my vdr2divx script) correct 
! These should not be rescaled !

Martin.



More information about the MPlayer-dvb mailing list