Gstreamer not working in ubuntu 14 showing Not all elements could be created and it is working fine in Ubuntu 16
Shubham Shrivastava
shubham333vm at gmail.com
Sat Jul 7 14:15:12 UTC 2018
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;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180707/6437d50b/attachment.html>
More information about the gstreamer-devel
mailing list