[Mplayer-dvb] ANNOUNCEMENT: mplayer.sh 0.0.4 ready
Tilo Renkl
tilo at diredare.de
Tue May 7 21:16:46 CEST 2002
Hi Arpi,
tested your latest chages to the scale filter. And I must say
it is looking very fine.
Only two things:
First of all, when I replay a 512x256 video, it is not automatically
rescaled to full width by the DVB-s card.
If I use : -vop lavc,expand=-1:576:-1:-1:1,scale=480:0,dvbscale
for example it works fine.
The second, and that really bad is this:
If I replay a 480x384 video, your filter calculates a new height
of 614 (!) and the mplayer say: Cannot initialize video driver !
Tilo
>
> Hi,
>
> > so things are even simpler:
> >
> > SCALED_Y=ORIG_Y*(576*4)/(ORIG_X*3)=768*ORIG_Y/ORIG_X
> > and -vop lavc,expand=ORIG_X:576:-1:-1:1,scale=ORIG_X:SCALED_Y
>
> ok, i've put together a very simple vop plugin for this, get
> CVS and try:
>
> -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale
>
> 'dvbscale' will do the above calculation to d_height, so
> scale=-1:0 will use the original width (-1) and d_height (0)
>
>
> A'rpi / Astral & ESP-team
>
> --
> Developer of MPlayer, the Movie Player for Linux -
http://www.MPlayerHQ.hu
_______________________________________________
Mplayer-dvb mailing list
Mplayer-dvb at mplayerhq.hu
http://mplayerhq.hu/mailman/listinfo/mplayer-dvb
More information about the MPlayer-dvb
mailing list