pastbin you glxinfo<br><br>and also run:<br><br>GST_DEBUG=gldisplay:3 v4l2src ....<br><br>Julien<br><br><div class="gmail_quote">2010/3/5 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 Julien and the list,<br>
<div class="im"><br>
Julien Isorce wrote:<br>
> Hi,<br>
><br>
> And if using gst-launch ? ( v4l2src ! ... ! glupload ! glfilterglass !<br>
> glimagesink )<br>
><br>
<br>
</div>Without the glfilterglass element, it look ok. Here the output with the<br>
verbose flag on: <a href="http://pastebin.com/MrjEQ5Tc" target="_blank">http://pastebin.com/MrjEQ5Tc</a><br>
<br>
If I add the glfilterglass element, the image is totally black. Here is<br>
the output : <a href="http://pastebin.com/pzcxfYRz" target="_blank">http://pastebin.com/pzcxfYRz</a><br>
<br>
Here is the command I have issued. The first time, it was without the<br>
glfilterglass element.<br>
<br>
$ gst-launch -v v4l2src ! video/x-raw-yuv, format=\(fourcc\)I420,<br>
framerate=\(fraction\)25/1, width=640, height=480 ! ffmpegcolorspace !<br>
glupload ! glfilterglass ! glimagesink<br>
<br>
I am not sure about how to read the actual frame rate, though. Any hint?<br>
<br>
Thanks,<br>
Alex<br>
<div><div></div><div class="h5"><br>
<br>
> Julien<br>
><br>
> 2010/3/3 Alexandre Quessy <<a href="mailto:alexandre@quessy.net">alexandre@quessy.net</a>><br>
><br>
>> 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>
>> ------------------------------------------------------------------------------<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>
>><br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
<div><div></div><div class="h5">><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>
><br>
> ------------------------------------------------------------------------<br>
><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>
<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>
</div></div></blockquote></div><br>