[MPlayer-dev-eng] Question regarding MPlayer's OpenGL output

Laurent Aimar fenrir at elivagar.org
Wed Oct 19 21:26:56 CEST 2011


Hi,

On Wed, Oct 19, 2011 at 11:32:40AM -0400, Mostapha El-Shafey wrote:
> Anyone can explain to me how mplayer's OpenGL output is this fast? What
> exactly is it doing in terms of OpenGL? I've read through the vo_gl.c file
> and while I understand some of what's happening, I don't get the big
> picture. I've compared it to vlc OpenGL output, and on my machine mplayer
> with OpenGL takes less than 5% CPU, while vlc playing the same stream with
> OpenGL output will take anywhere from 15 to 20%. I'm using the "gl" option
> for mplayer.
 Which version of VLC are you using? VLC <= 1.1 does not use shader for
YUV -> RGB conversion while current git master does. On my hardware, using
VLC 1.2 is about the same speed than xvideo for example (but still a little
bit slower).

Regards,

-- 
fenrir


More information about the MPlayer-dev-eng mailing list