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