[gst-devel] Help! (Eric Zhang)

Eric Zhang nicolas.m.zhang at gmail.com
Wed Dec 3 04:09:43 CET 2008


Hi, gstreamer-devel:

    Sorry guy, Actually I have no experiences on running gstreamer on
windows. So you should dig it yourself or ask somebody else. On linux, seems
there is no need to set any environment variables. I compiled gstreamer and
plugins on linux and install, that's all. Everything works fine.

Eric Zhang

2008/12/2 李传峰 <lichuanf at neusoft.com>

> Hi, all:
>        Thank you for Eric Zhang's help.
>        I run the command: `gst-inspect mp3parse', and can not find the
> element. Now I am reading 《Running and debugging GStreamer Applications》
> form
>
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gst-
> running.html. I found the environment variables do not be set, I hope that
> is the reason.
>        Can you tell me how many environment variables should be set and
> their value?
>        Thank you!
>
> -----Original Message-----
> Message: 1
> Date: Tue, 02 Dec 2008 10:32:00 +0900
> From: ??? <lichuanf at neusoft.com>
> Subject: [gst-devel] Help!
> To: gstreamer-devel at lists.sourceforge.net, nicolas.m.zhang at gmail.com
> Message-ID: <4CC50AED20F74968A59D023329095C9F at vaioPC>
> Content-Type: text/plain; charset="gb2312"
>
> Hi, all
>
>              Thank you for Eric Zhang?s help yesterday.
>
>              I download gstreamer, gtk+, glib, libxml2 to config my Visual
> Studio 2008. But when I run the following code I found something different
> form it should be.
>
>
>
>              GstElement *element;
>
>              /* init GStreamer */
>
>              gst_init (&argc, &argv);
>
>              get_default_registry();
>
>              /* create element */
>
>              element = gst_element_factory_make("mp3parse", "mp3-parser");
>
>              if (!element)
>
>              {
>
>                            g_print ("Failed to create element of type
> 'fakesrc'\n");
>
>                            return -1;
>
>              }
>
>              gst_object_unref (GST_OBJECT (element));
>
>
>
>              The function gst_element_factory_make("mp3parse",
> "mp3-parser") return null, and then I called gst_element_factory_find()
> ,but
> return null.
>
>              Can someone tell me why? Maybe I need to config some plugins
> but I can not find anything about this from internet specifically about the
> configuration of Windows environment. I need your help.
>
>              Thank you!
>
>
> ----------------------------------------------------------------------------
> -----------------------
> Confidentiality Notice: The information contained in this e-mail and any
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be
> confidential and/or privileged of
> Neusoft Group Ltd.,  its subsidiaries and/or its affiliates. If any reader
> of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,
> storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original
> message and all copies from
> your system. Thank you.
>
> ----------------------------------------------------------------------------
> -----------------------
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 2
> Date: Tue, 2 Dec 2008 10:30:55 +0800
> From: "Eric Zhang" <nicolas.m.zhang at gmail.com>
> Subject: Re: [gst-devel] Help!
> To: gstreamer-devel at lists.sourceforge.net
> Message-ID:
>        <bd9246050812011830i9d53479t7f31fba8b12f2a52 at mail.gmail.com>
> Content-Type: text/plain; charset="gb2312"
>
> Hi, gstreamer-devel:
>
>    You can first run the command: `gst-inspect mp3parse' to check whether
> this elements exist. If it exists, re-run your program with debug option
> open: --gst-debug=3. I think you can figure out the problem in debug infos.
>
> Eric Zhang
>
> 2008/12/2 ??? <lichuanf at neusoft.com>
>
> >  Hi, all
> >
> >               Thank you for Eric Zhang's help yesterday.
> >
> >               I download gstreamer, gtk+, glib, libxml2 to config my
> Visual
> > Studio 2008. But when I run the following code I found something
> different
> > form it should be.
> >
> >
> >
> >               GstElement *element;
> >
> >               /* init GStreamer */
> >
> >               gst_init (&argc, &argv);
> >
> >               get_default_registry();
> >
> >               /* create element */
> >
> >               element = gst_element_factory_make("mp3parse",
> "mp3-parser");
> >
> >               if (!element)
> >
> >               {
> >
> >                             g_print ("Failed to create element of type
> > 'fakesrc'\n");
> >
> >                             return -1;
> >
> >               }
> >
> >               gst_object_unref (GST_OBJECT (element));
> >
> >
> >
> >               The function gst_element_factory_make("mp3parse",
> > "mp3-parser") return null, and then I called gst_element_factory_find()
> ,but
> > return null.
> >
> >               Can someone tell me why? Maybe I need to config some
> plugins
> > but I can not find anything about this from internet specifically about
> > the configuration of Windows environment. I need your help.
> >
> >               Thank you!
> >
> >
>
> ----------------------------------------------------------------------------
> -----------------------
> > Confidentiality Notice: The information contained in this e-mail and any
> accompanying attachment(s)
> > is intended only for the use of the intended recipient and may be
> confidential and/or privileged of
> > Neusoft Group Ltd.,  its subsidiaries and/or its affiliates. If any
> reader
> of this communication is
> > not the intended recipient, unauthorized use, forwarding, printing,
> storing, disclosure or copying
> > is strictly prohibited, and may be unlawful.If you have received this
> communication in error,please
> > immediately notify the sender by return e-mail, and delete the original
> message and all copies from
> > your system. Thank you.
> >
>
> ----------------------------------------------------------------------------
> -----------------------
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
> ------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> End of gstreamer-devel Digest, Vol 31, Issue 7
> **********************************************
>
>
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be
> confidential and/or privileged of
> Neusoft Group Ltd.,  its subsidiaries and/or its affiliates. If any reader
> of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,
>  storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original
> message and all copies from
> your system. Thank you.
>
> ---------------------------------------------------------------------------------------------------
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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/20081203/7852c183/attachment.htm>


More information about the gstreamer-devel mailing list