<div dir="ltr">Hi,<br>I need some help with using tee element.<br><br>The code is as follows, I'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 'te') work fine with either sink or videosink... I am not sure abt the tee usage...<br><br><br>Thanks & Regards,<br>Nikhil.<br><br><div class="gmail_quote">
On Tue, Apr 21, 2009 at 5:17 PM, vikram kf <span dir="ltr"><<a href="mailto:ved.kpl@gmail.com">ved.kpl@gmail.com</a>></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"><<a href="mailto:nikhil.almalkar@gmail.com">nikhil.almalkar@gmail.com</a>> wrote:<br>
> The pointer was getting corrupted somehow. Thanks for the help.<br>
><br>
> There is one particular problem that I need some help with. I want to put<br>
> the encoded yuv stream into a file sink and display it using ximagesink. I<br>
> guess I need to use a tee here.. If someone who has already done this can<br>
> help me with the pipeline, that will be great.<br>
><br>
> Right now, I have kept the pipeline same before tee .... i.e. up to the<br>
> encoder.. then the tee is linked to two seperate paths. This does not seem<br>
> to work.<br>
><br>
> Any help will be appreciated.<br>
><br>
> Thanks & regards,<br>
><br>
> Nikhil.<br>
><br>
> On Tue, Apr 21, 2009 at 3:33 PM, vikram kf <<a href="mailto:ved.kpl@gmail.com">ved.kpl@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> Try typcasting to gchar*<br>
>><br>
>> g_object_set(G_OBJECT(fsink), "location", (gchar*)argv[1], NULL);<br>
>><br>
>> On Tue, Apr 21, 2009 at 2:45 PM, nikhil almalkar<br>
>> <<a href="mailto:nikhil.almalkar@gmail.com">nikhil.almalkar@gmail.com</a>> wrote:<br>
>> > Hi all,<br>
>> ><br>
>> > I am trying to set a char pointer to the location of sink file. I think<br>
>> > there is some proble with the encoding, as the location that my sink<br>
>> > refer's<br>
>> > to is not what i insert. It actually is grbage..<br>
>> ><br>
>> > Gtk-Message: The filename "\360\374O\t\230\375O\t" couldn't be converted<br>
>> > to<br>
>> > UTF-8.<br>
>> ><br>
>> > This is when I set G_FILENAME_ENCODING = UTF-8<br>
>> ><br>
>> > Also G_FILENAME_ENCODING = ISO-8859-1 is not working.<br>
>> ><br>
>> > I am using fedora 10.<br>
>> ><br>
>> > Thanks & Regards,<br>
>> ><br>
>> > Nikhil.<br>
>> ><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>
>> ><br>
>> ><br>
>><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>
><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>
><br>
><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>