[MPlayer-dev-eng] ok to add new vf?

D Richard Felker III dalias at aerifal.cx
Fri Jul 26 22:24:19 CEST 2002


On Wed, Jul 26, 2000 at 11:19:54PM +0200, Arpi wrote:
> Hi,
> 
> > The normal solution would be to use the sw scaler to scale down. But
> > suppose you have to scale a 640x480 movie down to 640x240. Assuming
> > your codec outputs a planar colorspace such as yv12, the vertical
> > chroma resolution after scalind down will be 120. You've thrown away
> > half your chroma samples for no reason, since 240 lines of chroma
> > would still fit perfectly fine.
> 
> ah and i forgot to say that swscaler can do yv12 -> yuy2 scaling,
> so chroma won't lost...

How? It's not listed in the supported conversions, and the following
just says the colorspace is unsupported, then segfaults, at least for
me:

mplayer -vop format=yuy2,scale ...

Are you sure swscaler does yuy2 output?

Rich




More information about the MPlayer-dev-eng mailing list