<div dir="ltr">Hi,<br>I need some help with using tee element.<br><br>The code is as follows, I&#39;m not sure about the linking part.<br>            gst_element_link (source, id) //// id = identity element.<br>            gst_element_link (id,flt1);<br>
            gst_element_link (flt1,encoder);<br><br>            gst_element_link_many (encoder, te,sink,NULL);<br>            gst_element_link (te,decoder);<br>            gst_element_link_many (decoder,ffmpegcolorcon,scale, videosink,NULL);<br>
<br><br>the pipelines when executed without the tee, (pointed by &#39;te&#39;) work fine with either sink or videosink... I am not sure abt the tee usage...<br><br><br>Thanks &amp; Regards,<br>Nikhil.<br><br><div class="gmail_quote">
On Tue, Apr 21, 2009 at 5:17 PM, vikram kf <span dir="ltr">&lt;<a href="mailto:ved.kpl@gmail.com">ved.kpl@gmail.com</a>&gt;</span> wrote:<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>
You will have to put the encoder after the tee.<br>
<br>
On Tue, Apr 21, 2009 at 4:54 PM, nikhil almalkar<br>
<div><div></div><div class="h5">&lt;<a href="mailto:nikhil.almalkar@gmail.com">nikhil.almalkar@gmail.com</a>&gt; wrote:<br>
&gt; The pointer was getting corrupted somehow. Thanks for the help.<br>
&gt;<br>
&gt; There is one particular problem that I need some help with. I want to put<br>
&gt; the encoded yuv stream into a file sink and display it using ximagesink. I<br>
&gt; guess I need to use a tee here.. If someone who has already done this can<br>
&gt; help me with the pipeline, that will be great.<br>
&gt;<br>
&gt; Right now, I have kept the pipeline same before tee .... i.e. up to the<br>
&gt; encoder.. then the tee is linked to two seperate paths. This does not seem<br>
&gt; to work.<br>
&gt;<br>
&gt; Any help will be appreciated.<br>
&gt;<br>
&gt; Thanks &amp; regards,<br>
&gt;<br>
&gt; Nikhil.<br>
&gt;<br>
&gt; On Tue, Apr 21, 2009 at 3:33 PM, vikram kf &lt;<a href="mailto:ved.kpl@gmail.com">ved.kpl@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; Try typcasting to gchar*<br>
&gt;&gt;<br>
&gt;&gt; g_object_set(G_OBJECT(fsink), &quot;location&quot;, (gchar*)argv[1], NULL);<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Apr 21, 2009 at 2:45 PM, nikhil almalkar<br>
&gt;&gt; &lt;<a href="mailto:nikhil.almalkar@gmail.com">nikhil.almalkar@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi all,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I am trying to set a char pointer to the location of sink file. I think<br>
&gt;&gt; &gt; there is some proble with the encoding, as the location that my sink<br>
&gt;&gt; &gt; refer&#39;s<br>
&gt;&gt; &gt; to is not what i insert. It actually is grbage..<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Gtk-Message: The filename &quot;\360\374O\t\230\375O\t&quot; couldn&#39;t be converted<br>
&gt;&gt; &gt; to<br>
&gt;&gt; &gt; UTF-8.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; This is when I set G_FILENAME_ENCODING = UTF-8<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Also G_FILENAME_ENCODING = ISO-8859-1 is not working.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I am using fedora 10.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks &amp; Regards,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Nikhil.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; ------------------------------------------------------------------------------<br>
&gt;&gt; &gt; Stay on top of everything new and different, both inside and<br>
&gt;&gt; &gt; around Java (TM) technology - register by April 22, and save<br>
&gt;&gt; &gt; $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.<br>
&gt;&gt; &gt; 300 plus technical and hands-on sessions. Register today.<br>
&gt;&gt; &gt; Use priority code J9JMT32. <a href="http://p.sf.net/sfu/p" target="_blank">http://p.sf.net/sfu/p</a><br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; gstreamer-devel mailing list<br>
&gt;&gt; &gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt;&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; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------------------<br>
&gt;&gt; Stay on top of everything new and different, both inside and<br>
&gt;&gt; around Java (TM) technology - register by April 22, and save<br>
&gt;&gt; $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.<br>
&gt;&gt; 300 plus technical and hands-on sessions. Register today.<br>
&gt;&gt; Use priority code J9JMT32. <a href="http://p.sf.net/sfu/p" target="_blank">http://p.sf.net/sfu/p</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; gstreamer-devel mailing list<br>
&gt;&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">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;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; Stay on top of everything new and different, both inside and<br>
&gt; around Java (TM) technology - register by April 22, and save<br>
&gt; $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.<br>
&gt; 300 plus technical and hands-on sessions. Register today.<br>
&gt; Use priority code J9JMT32. <a href="http://p.sf.net/sfu/p" target="_blank">http://p.sf.net/sfu/p</a><br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">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>
&gt;<br>
&gt;<br>
<br>
------------------------------------------------------------------------------<br>
Stay on top of everything new and different, both inside and<br>
around Java (TM) technology - register by April 22, and save<br>
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.<br>
300 plus technical and hands-on sessions. Register today.<br>
Use priority code J9JMT32. <a href="http://p.sf.net/sfu/p" target="_blank">http://p.sf.net/sfu/p</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></div>