[gst-devel] G_FILENAME_ENCODING

vikram kf ved.kpl at gmail.com
Tue Apr 21 13:47:06 CEST 2009


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




More information about the gstreamer-devel mailing list