[Mplayer-advusers] Bug? Anomalous CPU usage when playing HDTV clips.

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Apr 3 11:36:45 CEST 2004


Hi,

> glxinfo:
> glx version 1.2
> OpenGL version 1.3 Mesa 5.0.2
> glu verion 1.3

Are you sure you have hardware acclerated OpenGL? Mesa usually means you 
are using a software-only implemetation (and I'm not sure if there 
actually is true OpenGL support for your graphics cards).

> This has been a good thought exerciser for me.  I just remembered
> that I have been purposely excluding scaling from my tests so
> as to narrow the variables.  I just re-ran several of the same
> tests, scaling to fullscreen.  When I do this, x11 gets dramatically
> slower, while XV stays about the same.
> 
> So, I think what I'm seeing could be one of 2 subtly different things.

Could you please give the output of xvinfo?

> 2. Mplayer does color conversion about 4 times faster than XV.

If xv does it in software (which would probably be without SSE support), 
certainly. Have you tried any of the vidix vos (especially the ATI card 
might be supported)? They work only as root.

> In either case, XV scales images essentially infinitely fast.
> 
> I don't see any options that would allow me to force color
> conversion in software by mplayer and still use XV for scaling output.

-vf format=BGR24 for example, but you should compare against e.g. -vf 
format=YV12, as when specifying like this, postprocessing isn't done 
(thus making it faster).

Greetings,
Reimar Döffinger




More information about the MPlayer-advusers mailing list