[MPlayer-users] opengl pipeline modification

Bruce Mills ecurbian at gmail.com
Wed Jun 30 13:18:42 CEST 2010


Hi Carl,

> I thought there is an OpenGL extension doing this, or was I misinformed?

I can write straight OpenGL for a stereo context, and view the result
in 3D using shutter glasses and, yes, Nvidia Quadro. I wrote a quick
test one at kick-off to make sure the 3D environment itself was
working.

> ( it would be nice if you could explain how it could be done.)

If I know anything useful, I am happy to make comment. Is the above
what you are asking for? That means setting the mode to sterero, and
then setting up left and right buffers. Most of my previous OpenGL
code was all about solid modeling -- meshes, lighting, baking,
rendering etc, I have only recently been working with movies, where
the speed of getting essentially 2D info out was the most important
thing -- including the use of fragment programs.

>> I need to create two frames for each one frame in the movie.
> You do know that there are video filters in MPlayer that do exactly this

If it is already done -- let me know. I don't have any desire to
reinvent the horse. But, I would still need to set the mode to stereo,
which means I am still looking for the spot in mplayer where the
OpenGL stuff starts.

My understanding of video filters is that they are called on each
frame -- so you can modify a frame, or even, by storing something,
perhaps modify several in a row in a non trivial manner, but inserting
an entirely new frame (as in, there are now more frames than there
where before) it is not clear to me how this would be done.

Bruce.


More information about the MPlayer-users mailing list