[MPlayer-dev-eng] vf scale and yuv vs. rgb

D Richard Felker III dalias at aerifal.cx
Fri Apr 23 16:43:44 CEST 2004


On Fri, Apr 23, 2004 at 04:20:56PM +0200, Sascha Sommer wrote:
> Some people still have problems with mplayers performance on windows. Most
> of the time
> this is caused by video cards without yv12 support. In this case vf scale
> will jump in and
> convert to bgr32 instead of yuy2. The problem is caused by the fact that
> scale goes through
> its output format list and queries the vo for these video formats. In the
> outfmt list rgb/bgr comes
> before yuv so it will always select rgb/bgr before yuv when both have hw
> support (VFCAP_CSP_SUPPORTED_BY_HW). What bould be the best solution to fix
> this?
> I propose to move the yuv formats before the bgr formats in the outfmt list.
> Better ideas?
> Michael?

I agree.

Rich




More information about the MPlayer-dev-eng mailing list