Gstreamer on UBUNTU
Marco Ballesio
gibrovacco at gmail.com
Thu Sep 15 05:39:46 PDT 2011
Hi,
I'd suggest you to begin with something closer to the "hello world" example in:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html
and/or to replace "videosrc" with a standard element like "videotestsrc" ;)
Regards
On Mon, Sep 12, 2011 at 11:07 AM, mailkamlesh <kamlesh.mishra at lnties.com> wrote:
> Hi
> I installed gstreamer on my ubuntu 11.04 system using synaptic package
> manager
> I have also created a basic code on gstreamer
>
> [code]
> GstElement* gstelement;
> const gchar *nano_str;
> guint major, minor, micro, nano;
> gst_init (&argc, &argv);
> gst_version (&major, &minor, µ, &nano);
> gstelement = gst_element_factory_make("videosrc"," ");
> if (nano == 1)
> nano_str = "(CVS)";
> else if (nano == 2)
> nano_str = "(Prerelease)";
> else
> nano_str = "";
> printf ("This program is linked against GStreamer %d , %d , %d ,
> %s\n",major, minor, micro, nano_str);
> return 0;
> [/code]
>
> The code runs perfectly fine , but when i debug the code , i get the value
> of
> gstelement as 0x000000.
>
> This means that my GstElement is not created. Any idea on what could be the
> issue
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-on-UBUNTU-tp3806851p3806851.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
More information about the gstreamer-devel
mailing list