Hi, I’m using the opengl plugin to upload video to a
texture but I’m having problems rendering it from my application’s
main thread. I have an existing opengl application to which I want to add a
video to texture a 3d elements but the plugin seems to render to its own
context in its own thread. I want to be able to render the texture from my own
main thread. How would I go about doing that with this plugin, is it possible?
I tried playing with the callbacks in the glimagesink element but since the
callbacks are called from a gstreamer thread, I cannot use the texture in my
thread’s context. Thanks Denis CONFIDENTIALITY NOTICE: The contents of this email are confidential and for the exclusive use of the intended recipient. If you receive this email in error, please delete it from your system immediately and notify us either by email, telephone or fax. You should not copy, forward, or otherwise disclose the content of the email. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
This is possible. (you will need the head of git/gst-gl) You have to share the contexts together. Take a look at the 3 examples: gst-plugins-gl/tests/examples/qt/qglwtextureshare/ gst-plugins-gl/tests/examples/clutter/cluttershare.c gst-plugins-gl/tests/examples/sdlshare.c Julien 2010/3/4 Babineau, Denis <[hidden email]>
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hello,
Have you got advices on how to improve the frame rate, though ? (see my recent post "v4l2src & glupload at only 12 FPS?") a Julien Isorce wrote: > Hi, > > This is possible. (you will need the head of git/gst-gl) > You have to share the contexts together. > > Take a look at the 3 examples: > > gst-plugins-gl/tests/examples/qt/qglwtextureshare/ > gst-plugins-gl/tests/examples/clutter/cluttershare.c > gst-plugins-gl/tests/examples/sdlshare.c > > Julien > > > 2010/3/4 Babineau, Denis <[hidden email]> > >> Hi, I’m using the opengl plugin to upload video to a texture but I’m >> having problems rendering it from my application’s main thread. I have an >> existing opengl application to which I want to add a video to texture a 3d >> elements but the plugin seems to render to its own context in its own >> thread. I want to be able to render the texture from my own main thread. How >> would I go about doing that with this plugin, is it possible? I tried >> playing with the callbacks in the glimagesink element but since the >> callbacks are called from a gstreamer thread, I cannot use the texture in my >> thread’s context. >> >> >> >> Thanks >> >> Denis >> >> CONFIDENTIALITY NOTICE: The contents of this email are confidential >> and for the exclusive use of the intended recipient. If you receive this >> email in error, please delete it from your system immediately and >> notify us either by email, telephone or fax. You should not copy, >> forward, or otherwise disclose the content of the email. >> >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> >> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > ------------------------------------------------------------------------ > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |