Hi,<br><br>I have made a build tree that contains the plugin source code and 7 examples&nbsp; that show all the capabilities of the plugin.<br><br>-{RGB, I420, YV12, YUY2, UYVY, AYUV} -&gt; glgraphicmaker -&gt; {GL flow}<br>-{GL flow} -&gt; glvideomaker -&gt;&nbsp; {RGB, I420, YV12, YUY2, UYVY, AYUV}<br>
 -{RGB, I420, YV12, YUY2, UYVY, AYUV} glimagesink<br>-GLSL and multiple FBOs<br>-graphic FPS can be greater (or synchornised) than the video FPS, it means that the opengl scene can be at 2500 FPS and the input video framerate at 25 FPS.<br>
-the opengl scene can be made in the client code (no need to compile a specific filter)<br>-GLEW 1.5.0, OpenGL 2.1<br><br>It works fine on win32 on a radeon 9800, X800 and a nvidia 6600.<br><br>The sources and examples compiles on win32 and linux too, but it seems that only RGB works on linux. When input is yuv,&nbsp; the colors displayed are like-purple. Maybe I have not using a correct configuration with fglrx drivers, I am not really aware about this. The gstxoverlay interface works only on win32. I prefer to resolve the color problem first.<br>
But for now I will take a pause and I am sure you guys are more friendly with linux developement. So you will resolve it faster than me, if you need it.<br><br>I can give a SVN acces of the source code to the gstreamer admins who want test it. The repository contains all what you need to compile it on linux and win32.<br>
Just send me an email.<br><br>Sincerely<br><br>Julien I.<br><br><div>
<a href="http://vulvteam.free.fr/gstreamer/gstreamer_opengl.zip" target="_blank">http://vulvteam.free.fr/gstreamer/gstreamer_opengl.zip</a><br><a href="http://vulvteam.free.fr/gstreamer/gstreamer_opengl.zip" target="_blank">http://vulvteam.free.fr/gstreamer/gstreamer_opengl_2.zip</a> <br>
</div> <a href="http://vulvteam.free.fr/gstreamer/gstreamer_opengl.zip" target="_blank">http://vulvteam.free.fr/gstreamer/gstreamer_opengl_3.zip</a><br><br><br><div class="gmail_quote">2008/5/19 Julien Isorce &lt;<a href="mailto:julien.isorce@gmail.com">julien.isorce@gmail.com</a>&gt;:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I do not know exactly. I have want to be sure that it works on linux too. I have tested it on a Kubuntu, it works on my 6 testcases but it does not say that it works.<br>
Then I have to clean up code etc.. and then it depends on what the gstreamer admins decide.<br>
I hope at the end of this week.<br><br>Sincerely<br><br>Julien<br><br><div class="gmail_quote">2008/5/19 KwangYul Seo &lt;<a href="mailto:kwangyul.seo@gmail.com" target="_blank">kwangyul.seo@gmail.com</a>&gt;:<div><div></div>
<div class="Wj3C7c"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I wanted to use gst-plugins-gl in Windows, but I gave up because it was not portable. Your work seems to be based on win32 and portable, so I am looking forward to seeing your work. When are you planning to release your source code publicly?<br>


<br>Thanks,<br>Kwang Yul Seo<br><br><br><div class="gmail_quote"><div><div></div><div>On Fri, May 16, 2008 at 9:42 AM, Julien Isorce &lt;<a href="mailto:julien.isorce@gmail.com" target="_blank">julien.isorce@gmail.com</a>&gt; wrote:<br>

</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><div></div><div>
Hi,<br><br>I have found a way to implement the gstxoverlay interface and this is a link that demonstrates it : <a href="http://vulvteam.free.fr/gstreamer/gstreamer_opengl.zip" target="_blank">http://vulvteam.free.fr/gstreamer/gstreamer_opengl_3.zip</a> is a zip file (9 MO) that contains 3 avi example files:<br>



<br>videoxoverlay.avi: The Id of a QWidget is passed to the glimagesink through the gstxoverlay interface<br>cubexoverlay.avi: The Id of a QGLWidget is passed to the glimagesink through the gstxoverlay interface, the video is played over a &quot;rotating&quot; cube<br>



mousexoverlay.avi:The Id of a QWidget is passed to the glimagesink through the gstxoverlay interface, the video is played over a &quot;static&quot; cube. The mouse moves the cube.<br><br>I give again the previous links : <br>


<div>
<a href="http://vulvteam.free.fr/gstreamer/gstreamer_opengl.zip" target="_blank">http://vulvteam.free.fr/gstreamer/gstreamer_opengl_2.zip</a> <br></div><div><a href="http://vulvteam.free.fr/gstreamer/gstreamer_opengl.zip" target="_blank">http://vulvteam.free.fr/gstreamer/gstreamer_opengl.zip</a><br>



<br><br></div>Next step is to make a linux build in order to test this plugin on a Kunbutu for example. (it should work but I need to verify it)<br><br>But for now the plugin is finished and works fine on win32.<br><br>Sincerely<br>



<br>Julien I.<br><br><div class="gmail_quote">2008/5/6 Julien Isorce &lt;<a href="mailto:julien.isorce@gmail.com" target="_blank">julien.isorce@gmail.com</a>&gt;:<div><div></div><div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



Hi,<br><br>The third element, glvideomaker is now complete. It handles every
RGB-like. It also handles I420, YV12, YUY2, UYVY and AYUV, trough FBO
and GLSL. (GL flux to video flux). It must be connected to the
glgraphicmaker (symetric element).<br><br>To exposes the capabilities of the plugin I am working on, especially about colorspace conversion., I made other showcases : <a href="http://vulvteam.free.fr/gstreamer/gstreamer_opengl.zip" target="_blank">http://vulvteam.free.fr/gstreamer/gstreamer_opengl_2.zip</a> is a zip file (15.6 MO) that contains 3 avi example files.<br>




<br>It was not easy to manage multiple FBO and one FBO with multiple attached textures, especially correclty switching between them. Then shader programs for &quot;from GL to video conversion&quot;(glvideomaler) were much complex than &quot;from video to GL conversion&quot;(glgraphicmaker).<br>




But now I think it&#39;s ok.<br>And shader programs could be optimzed by everyone who want help, after I share the code.<br><br>So before to share the code I want to implement the gstxoverlay
interface. But I have to get ride of freeglut that is not an easy task.<br>If someone want to help me in this last task, it will be appreciated.<br><br>Other thing, I never tested my plugin on linux but I plan to do it. I
should work thank&#39;s to freeglut, I hope :P. But I am not really aware
with automake and autoconf. Help about this would be appreciated too.<br><br>I am sorry, when I started the plugin I would just make a &quot;patch&quot; for the existing one. But the now I see that the mecanism is completely different (some parts are similar and the existing code helped me a lot at start). Also the existing code was less commented and it was quite impossible to enter. But I understand that it&#39;s a project made on spare time. Anyway, I could not start without the existing one.<br>




<br>So, what the best way to proceed. Patch the existing one ? (impossible as I said), Fusion with the existing one ? (we can try), an other plugin ? (name?), an indepent plugin ?<br>I would be happy to integrate the plugin to the gstreamer repository, but if you think (after looking the code) that the plugin is not that the gstreamer ommunity want, I can make an independent plugin.<br>




<br>Sincerely<br><br>Julien<br><br><br><div class="gmail_quote">2008/4/21 Julien Isorce &lt;<a href="mailto:julien.isorce@gmail.com" target="_blank">julien.isorce@gmail.com</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div><div></div><div>
Hi,<br><br>Some news about the plugin I am working on my spare time:<br><br>The plugin uses the opengl API. It uses also glew to automatically manage extensions.<br>For now there is two elements (implementation is finished)<br>





The first one is named glimagesink (as the current plugin-gl from David A. Schleef). It handles every RGB-like. It also handles I420, YV12, YUY2, UYVY and AYUV, trough GLSL (OpenGL shading language). (this is done and tested on an ATI 9800 pro, an ATI X800 GTO and an recent NVIDIA card (I can search the exact name if needed) )<br>





The second element is named glgraphicmaker, it handles the same video format inputs as the glimagesink. The output has the type video/x-raw-gl (as in the current plugin-gl from David A. Schleef). I prefer to name it &quot;glgraphicmaker&quot; instead of &quot;glupload&quot; because it is possible to define reshape and draw callback from a gstreamer client code (usefull when someone want to have a complex opengl scene without making an other filter). <span style="text-decoration: underline;">The most important thing is that the graphic FPS can be synchronised or bigger (I mean as fast as your graphic card can)</span> than the input video framerate (the client code can to turn on or off it). The glimagesink can be connected to the glgraphicmaker in order to see the opengl scene.<br>





<br>Now I am currently working on the symectric element that it is named &quot;glvideomaker&quot;. I prefer this name instead of &quot;gldownload&quot; for the same reasons.<br><br>The other thing that I want to talk about is the &quot;freeglut&quot; part in this plugin. I use it to create the windows easily but there is a limitation. It&#39;s not possible to implement the gstxoverlay interface because freeglut cannot receive winId from an existing window. So, there is two solutions to resolve this problem. The first one is to extract the small part I used in freeglut and just put it into the plugin. The second solution is to use an other opengl toolkit (glut-like) that could permit to implement the gstxoverlay interface.<br>





The second solution is possible because the deep mecanism of this plugin will be the same (just by replacing freeglut fucntions by the identicals functions from an other library)<br>What solution do you expect to be the best? If it&#39;s the second one, which library are you thinking ?<br>





<br>Sincerely<br><br>Julien I.<br><br><br><br></div></div><div class="gmail_quote">2008/4/12 Julien Isorce &lt;<a href="mailto:julien.isorce@gmail.com" target="_blank">julien.isorce@gmail.com</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




Hi,<br><br>Link : <a href="http://vulvteam.free.fr/gstreamer/gstreamer_opengl.zip" target="_blank">http://vulvteam.free.fr/gstreamer/gstreamer_opengl.zip</a> is a zip file (5 MO) that contains 4 avi example file.<br>The videos show capabilities of the plugin I am working on.<br>





<br>It uses freeglut API but it could use an other glut-like
multiplatform toolkit. The mecanism should be the same. I&#39;ill make the
plugin able to use any of them.<br>Some work has to be done before sharing the code.<br>
<br>I could say more about the plugin capabilities but examples are explicits. And I do not want overload this email.<br>I am waiting remarks, requirements, advises etc ...<br><br>Julien I.<br><br>ps: Thanks to C.C. for a lot of discusions and advises.<br>





<br>
</blockquote></div><br><br><br><br><br><br><br><br>
</blockquote></div><br>
</blockquote></div></div></div><br>
<br></div></div>-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Microsoft<br>
Defy all challenges. Microsoft(R) Visual Studio 2008.<br>
<a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>_______________________________________________<br>
gstreamer-devel mailing list<div><br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
</div><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>
</blockquote></div></div></div><br>
</blockquote></div><br>