[MPlayer-users] Video Output to OpenGL Texture Memory

Joey Parrish joey.parrish at gmail.com
Sun May 27 19:19:34 CEST 2007


On 5/24/07, Bill Dwyer <themadcreator at gmail.com> wrote:
> I've been digging through the -vo options for the last couple days trying to
> find the answer to this:
>
> Is it possible to have mplayer output video directly to opengl texture
> memory for use in another process? Every -vo option creates visible output,
> but what I really want is to use mplayer in slave mode as a backend to an
> opengl gui.
>
> Other ways to achieve this is to use shared memory like "mlpayer -vo
> shm:key=123456 movie.avi" if such a driver existed. I could also finagle
> something where i copy the data from an X window using the -wid option, but
> that would probably be really slow.

I suggest -wid, as that's what it's for.  It won't give you output on
a texture of your choosing, but it will give you output on the correct
windows.  Use -geometry to set the size and position within the
window.

--Joey



More information about the MPlayer-users mailing list