Hi,<br><br>And if using gst-launch ? ( v4l2src ! ... ! glupload ! glfilterglass ! glimagesink )<br><br>Julien<br><br><div class="gmail_quote">2010/3/3 Alexandre Quessy <span dir="ltr"><<a href="mailto:alexandre@quessy.net">alexandre@quessy.net</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello everyone,<br>
I have worked on a prototype of a pipeline that uploads a live video<br>
feed to an OpenGL texture and shares it with a context in SDL,<br>
starting from the tests/examples/sdlshare.c file in gst-plugins-gl.<br>
The source code can be found at<br>
<a href="http://bitbucket.org/aalex/toonloop1/src/tip/src/sdlshare.cpp" target="_blank">http://bitbucket.org/aalex/toonloop1/src/tip/src/sdlshare.cpp</a> and can<br>
be compiled with the autotools.<br>
(./autogen.sh && ./configure && make)<br>
<br>
It seems like the mesured framerate is consistently pretty slow. I get<br>
an average of 12 FPS on a Dual 2.2 GHz with the latest Ubuntu and a<br>
decent Nvidia graphic card. I obtained 30 FPS on a faster machine with<br>
a better V4L2-supported video capture card.<br>
<br>
Does someone have suggestions on how I could overcome this ? I would<br>
also prefer to have a framerate that's faster than the capture card's.<br>
29.97 FPS is what NTSC gives me, whereas most projectors and monitors<br>
can do up to 60 FPS. I have tried to set the "sync" property of the<br>
fakesink element to FALSE, or TRUE, without success. Any other hint ?<br>
<br>
--<br>
Alexandre Quessy<br>
<a href="http://alexandre.quessy.net/" target="_blank">http://alexandre.quessy.net/</a><br>
<br>
------------------------------------------------------------------------------<br>
Download Intel&#174; Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>