Gstreamer not working in ubuntu 14 showing Not all elements could be created and it is working fine in Ubuntu 16

Mahesh Mane maheshmane7676 at gmail.com
Sat Jul 7 16:36:48 UTC 2018


May Be you have not installed all the gstreamer plugin's. Please check
which element(s) is not present by separate check condition for each. And
try this again after installing gstreamer base , bad and good plugin's.

On Sat, Jul 7, 2018 at 7:45 PM, Shubham Shrivastava <shubham333vm at gmail.com>
wrote:

>       data.source = gst_element_factory_make ("uridecodebin", "source");
>        data.convert = gst_element_factory_make ("videoconvert", "convert");
>        data.sink = gst_element_factory_make ("autovideosink", "sink");
>        data.videoconvert1 = gst_element_factory_make("videoconvert",
> "videoconvert1");
>     data.videoconvert2 = gst_element_factory_make("videoconvert",
> "videoconvert2");
>     data.queue1 = gst_element_factory_make("queue", "queue1");
>     data.queue2 = gst_element_factory_make("queue", "queue2");
>     data.tee = gst_element_factory_make("tee", "tee");
>
>     data.frameratefilter = gst_element_factory_make("capsfilter", NULL);
>     data.videorate = gst_element_factory_make("videorate", NULL);
>     data.avenc = gst_element_factory_make("avenc_mpeg2video", NULL);
>     data.avimux = gst_element_factory_make("avimux", NULL);
>     data.filesink = gst_element_factory_make("multifilesink", "filesink");
>     data.splitmuxsink = gst_element_factory_make("splitmuxsink",
> "splitmuxsink");
>       //  data.getchararray = gst_element_factory_make("/home/shubham/splintng/Videos",
> "getchararray");
>
>        // data.filesink2 = gst_element_factory_make("filesink2", NULL);
>
>
>      /* Create the empty pipeline */
>        data.pipeline = gst_pipeline_new ("test-pipeline");
>
>   if (!data.pipeline || !data.source || !data.convert ||
> !data.videoconvert1 || !data.videoconvert2 || !data.queue1 || !data.queue2
> || !data.tee || !data.sink || !data.filesink || !data.splitmuxsink ) {
>     g_printerr ("Not all elements could be created.\n");
>     return -1;
>   }
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180707/14fcd33b/attachment.html>


More information about the gstreamer-devel mailing list