[gst-devel] G_FILENAME_ENCODING

nikhil almalkar nikhil.almalkar at gmail.com
Wed Apr 22 09:18:55 CEST 2009


Hi,
I need some help with using tee element.

The code is as follows, I'm not sure about the linking part.
            gst_element_link (source, id) //// id = identity element.
            gst_element_link (id,flt1);
            gst_element_link (flt1,encoder);

            gst_element_link_many (encoder, te,sink,NULL);
            gst_element_link (te,decoder);
            gst_element_link_many (decoder,ffmpegcolorcon,scale,
videosink,NULL);


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...


Thanks & Regards,
Nikhil.

On Tue, Apr 21, 2009 at 5:17 PM, vikram kf <ved.kpl at gmail.com> wrote:

> Hi,
>
> You will have to put the encoder after the tee.
>
> On Tue, Apr 21, 2009 at 4:54 PM, nikhil almalkar
> <nikhil.almalkar at gmail.com> wrote:
> > The pointer was getting corrupted somehow. Thanks for the help.
> >
> > There is one particular problem that I need some help with. I want to put
> > the encoded yuv stream into a file sink and display it using ximagesink.
> I
> > guess I need to use a tee here.. If someone who has already done this can
> > help me with the pipeline, that will be great.
> >
> > Right now, I have kept the pipeline same before tee .... i.e. up to the
> > encoder.. then the tee is linked to two seperate paths. This does not
> seem
> > to work.
> >
> > Any help will be appreciated.
> >
> > Thanks & regards,
> >
> > Nikhil.
> >
> > On Tue, Apr 21, 2009 at 3:33 PM, vikram kf <ved.kpl at gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> Try typcasting to gchar*
> >>
> >> g_object_set(G_OBJECT(fsink), "location", (gchar*)argv[1], NULL);
> >>
> >> On Tue, Apr 21, 2009 at 2:45 PM, nikhil almalkar
> >> <nikhil.almalkar at gmail.com> wrote:
> >> > Hi all,
> >> >
> >> > I am trying to set a char pointer to the location of sink file. I
> think
> >> > there is some proble with the encoding, as the location that my sink
> >> > refer's
> >> > to is not what i insert. It actually is grbage..
> >> >
> >> > Gtk-Message: The filename "\360\374O\t\230\375O\t" couldn't be
> converted
> >> > to
> >> > UTF-8.
> >> >
> >> > This is when I set G_FILENAME_ENCODING = UTF-8
> >> >
> >> > Also G_FILENAME_ENCODING = ISO-8859-1 is not working.
> >> >
> >> > I am using fedora 10.
> >> >
> >> > Thanks & Regards,
> >> >
> >> > Nikhil.
> >> >
> >> >
> >> >
> ------------------------------------------------------------------------------
> >> > Stay on top of everything new and different, both inside and
> >> > around Java (TM) technology - register by April 22, and save
> >> > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> >> > 300 plus technical and hands-on sessions. Register today.
> >> > Use priority code J9JMT32. http://p.sf.net/sfu/p
> >> > _______________________________________________
> >> > gstreamer-devel mailing list
> >> > gstreamer-devel at lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >> >
> >> >
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Stay on top of everything new and different, both inside and
> >> around Java (TM) technology - register by April 22, and save
> >> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> >> 300 plus technical and hands-on sessions. Register today.
> >> Use priority code J9JMT32. http://p.sf.net/sfu/p
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> gstreamer-devel at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >
> >
> ------------------------------------------------------------------------------
> > Stay on top of everything new and different, both inside and
> > around Java (TM) technology - register by April 22, and save
> > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> > 300 plus technical and hands-on sessions. Register today.
> > Use priority code J9JMT32. http://p.sf.net/sfu/p
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090422/16466e4d/attachment.htm>


More information about the gstreamer-devel mailing list