[MPlayer-dev-eng] Re: gl & distorted fisheye for dome projection

Robert Henney robh at rut.org
Wed Jun 28 04:14:38 CEST 2006


On Tue, Jun 27, 2006 at 09:52:22PM -0400, Robert Henney wrote:
> So, rather than implement this within a gl* vo, couldn't the spherical
> texture be created by an external program and the handle for that
> texture then get passed to the gl vo (via mplayer command line) to use
> in place of the one the gl vo would create on its own?  that seems like
> a much more general approach to using/extending the functionality of the
> gl vo that could accomplish what you're looking for.

another thought on a different approach, assuming that in GL one can't
define textures before the initialization done by the vo.

after the gl vo has finished the initialization, an optional external
program (eg. -vo gl:extnprog=myprogram) is called from within mplayer
to further define/modify the vo created texture and then exit.

this is all assuming that the spherical modification of the texture
can't simply be done in some gl-script (if such a thing exists) file
which the vo can be passed in a parameter and get loaded into the GL,
making any need to execute another program unnecessary.  for all I
know the gl vo may already have some function to do this.



More information about the MPlayer-dev-eng mailing list