I have to do an application which use gstreamer to do video streaming over ICE (Internet Communications Engine, it seems to CORBA). The application must load the plugin/class and the plugin must be the element which connects the application to ICE.<br><br>Thank you 4 all!<br><br><b><i>Edward Hervey &lt;bilboed@gmail.com&gt;</i></b> escribió:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">Hi,<br><br>  If you explained what application and plugin you're trying to build<br>we might be able to give you more details as to whether using<br>gstplugins is the good idea or not.<br><br>  Edward<br><br>P.S. : Answer to me and mailing-list at the same time (reply to all).<br><br>On 5/28/06, Oscar Acena <oscaracena@yahoo.es> wrote:<br>&gt; Hi,<br>&gt;<br>&gt; Thanks for answer so fast! The thing is that i think that i really need<br>&gt; a plugin :-p<br>&gt; I want to do a (what i think it must be a) plugin to use in
 other<br>&gt; applications. The task the "plugin" must do is comunicate with another<br>&gt; app in a special way, but the thing is that it should be used in other<br>&gt; applications, so i thought that a plugin will do. Please, tell me if i'm<br>&gt; wrong ;-) and thanks.<br>&gt;<br>&gt; Cheers.<br>&gt;<br>&gt; Edward Hervey escribió:<br>&gt; &gt; Hi,<br>&gt; &gt;<br>&gt; &gt; On 5/28/06, Oscar Aceÿfffff1a <oscaracena@yahoo.es> wrote:<br>&gt; &gt;&gt; Hello,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Well, i've wondered this many times. Then, should i presume that already<br>&gt; &gt;&gt; exists one plugin writted in python and, therefore, for python? If<br>&gt; &gt;&gt; so, where<br>&gt; &gt;&gt; can i get it? I'm about to write an app in python too, and i need to<br>&gt; &gt;&gt; write a<br>&gt; &gt;&gt; plugin, in python if possible!<br>&gt; &gt;<br>&gt; &gt;  Let's get things straight first :) You CAN create elements entirely<br>&gt; &gt; in python, you just have to create a
 class that derives from<br>&gt; &gt; gst.Element (or one of the convenience classes, like gst.BaseSrc). ex:<br>&gt; &gt; class MyElement(gst.Element): ....<br>&gt; &gt;  To create elements from that class you just... instantiate one.<br>&gt; &gt; myelement = MyElement().<br>&gt; &gt;  And those elements can be used as any other gst.Element (like the<br>&gt; &gt; ones coming from gst.element_factory_make()).<br>&gt; &gt;<br>&gt; &gt;  A gst.Plugin is NOT needed to create gstreamer elements you can use<br>&gt; &gt; in a pipeline (some C applications already do that for application<br>&gt; &gt; specific elements).<br>&gt; &gt;<br>&gt; &gt;  The only need for a plugin, is to be able to use the element<br>&gt; &gt; class(es) that plugin provides in other gstreamer-based software,<br>&gt; &gt; through the use of the gst.Registry. It is NOT a requirement to be<br>&gt; &gt; able to use element classes in your progrm. If you want to use those<br>&gt; &gt; element classes in your
 program, you don't need plugins, you link them<br>&gt; &gt; statically to your C program.<br>&gt; &gt;<br>&gt; &gt;  So if you want to write element classes in python and use them in<br>&gt; &gt; your python program... you already can.<br>&gt; &gt;<br>&gt; &gt;  Do you understand the difference between a Plugin and an element<br>&gt; &gt; class now ?<br>&gt; &gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Another question: I have seen that to write a plugin, exists a template;<br>&gt; &gt;&gt; this template, it is only writted for C? If so, can i port it to python?<br>&gt; &gt;&gt; This could be useful for at least two persons! :-)<br>&gt; &gt;<br>&gt; &gt;  Once the python plugin loader is there... I guess we'll get round to<br>&gt; &gt; creating a template (which is going to be 50 lines more or less...).<br>&gt; &gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; And the last question: if this is possible, how can i load the plugin<br>&gt; &gt;&gt; to use<br>&gt; &gt;&gt; in a normal
 pipe?<br>&gt; &gt;<br>&gt; &gt;  Read the paragraph about "plugin != element" above once more.<br>&gt; &gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Thanks in advance to all!<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Edward Hervey <bilboed@gmail.com> escribió:<br>&gt; &gt;&gt;  HI,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;  Currently you can create most type of elements entirely in Python.<br>&gt; &gt;&gt; But we don't have a python plugin loader currently, so you will only<br>&gt; &gt;&gt; be able to use it from a python application (importing the python file<br>&gt; &gt;&gt; where you wrote yor element).<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; ______________________________________________<br>&gt; LLama Gratis a cualquier PC del Mundo.<br>&gt; Llamadas a fijos y móviles desde 1 céntimo por minuto.<br>&gt; http://es.voice.yahoo.com<br>&gt;<br>&gt;<br><br><br>-- <br>Edward Hervey<br>Junior developer / Fluendo
 S.L.<br>http://www.pitivi.org/<br><br><br>-------------------------------------------------------<br>All the advantages of Linux Managed Hosting--Without the Cost and Risk!<br>Fully trained technicians. The highest number of Red Hat certifications in<br>the hosting industry. Fanatical Support. Click to learn more<br>http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid7521&amp;bid$8729&amp;dat1642<br>_______________________________________________<br>gstreamer-devel mailing list<br>gstreamer-devel@lists.sourceforge.net<br>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<br></bilboed@gmail.com></oscaracena@yahoo.es></oscaracena@yahoo.es></blockquote><br><p>
                <hr size=1><br><font face="Verdana" size="-2">LLama Gratis a cualquier PC del Mundo.<br>Llamadas a fijos y móviles desde 1 céntimo por minuto.<br><a href="http://us.rd.yahoo.com/mail/es/tagline/messenger/*http://es.voice.yahoo.com/">http://es.voice.yahoo.com</a></font>