<br><br><div class="gmail_quote">2010/3/5 Tristan Matthews <span dir="ltr">&lt;<a href="mailto:tristan@sat.qc.ca">tristan@sat.qc.ca</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">2010/3/5 Julien Isorce <span dir="ltr">&lt;<a href="mailto:julien.isorce@gmail.com" target="_blank">julien.isorce@gmail.com</a>&gt;</span><br></div><div class="gmail_quote"><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><br><div class="im">try this:<br><br>GST_DEBUG=gldisplay:3 GST_GL_SHADER_DEBUG=1 GST_GL_WINDOW_DEBUG=1 gst-launch -v <br>dc1394src ! &quot;video/x-raw-rgb&quot; ! glupload ! &quot;video/x-raw-gl, width=320, height=240&quot; ! glfilterglass ! 
glimagesink<br><br>and this:<br><br>GST_DEBUG=gldisplay:3 GST_GL_SHADER_DEBUG=1 GST_GL_WINDOW_DEBUG=1 
gst-launch -v <br>
videotestsrc ! &quot;video/x-raw-yuv, format=(fourcc)I420&quot; ! glupload ! glfilterglass ! 
glimagesink<br><font color="#888888"><br></font></div></div></div></blockquote><div><br>The first line suffers the same problem. The second, width videotestsrc, works, but interestingly if i set is-live=true for videotestsrc, it suffers the same problems as dc1394src and v4l2src. I don&#39;t know if that helps at all.<br>
</div></div></blockquote><div><br>Here  this is ok.<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail_quote"><div>
<br>Here&#39;s the output of the first launch line:<br><a href="http://pastebin.com/KEK0Lf52" target="_blank">http://pastebin.com/KEK0Lf52</a><br><br>And the second:<br><a href="http://pastebin.com/FcLxryNZ" target="_blank">http://pastebin.com/FcLxryNZ</a><br>
</div></div></blockquote><div><br>Everything seems to be ok. <br><br>What does &quot;is-live&quot; mean exactly ?<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="gmail_quote"><div><font color="#888888">
<br>-tristan<br><br> </font></div><div><div></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;"><div class="gmail_quote">
<div><font color="#888888">Julien<br> </font></div>
<div><div></div><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><br> </div><div><div></div>
<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><div><div></div><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><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" 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>
<br></blockquote></div></div></div><font color="#888888"><br><br clear="all"><br>-- <br>Tristan Matthews<br>email: <a href="mailto:tristan@sat.qc.ca" target="_blank">tristan@sat.qc.ca</a><br>web: <a href="http://tristanswork.blogspot.com" target="_blank">http://tristanswork.blogspot.com</a><br>





</font></blockquote></div></div></div><div><div></div><div><br><br clear="all"><br>-- <br>Tristan Matthews<br>email: <a href="mailto:tristan@sat.qc.ca" target="_blank">tristan@sat.qc.ca</a><br>web: <a href="http://tristanswork.blogspot.com" target="_blank">http://tristanswork.blogspot.com</a><br>




</div></div><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>
<br></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" 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>
<br></blockquote></div></div></div><div><div></div><div class="h5"><br><br clear="all"><br>-- <br>Tristan Matthews<br>email: <a href="mailto:tristan@sat.qc.ca" target="_blank">tristan@sat.qc.ca</a><br>web: <a href="http://tristanswork.blogspot.com" target="_blank">http://tristanswork.blogspot.com</a><br>


</div></div><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>