<div dir="ltr">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. </div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 7, 2018 at 7:45 PM, Shubham Shrivastava <span dir="ltr"><<a href="mailto:shubham333vm@gmail.com" target="_blank">shubham333vm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">      data.source = gst_element_factory_make ("uridecodebin", "source");<br>       data.convert = gst_element_factory_make ("videoconvert", "convert");<br>       data.sink = gst_element_factory_make ("autovideosink", "sink");<br>       data.videoconvert1 = gst_element_factory_make("<wbr>videoconvert", "videoconvert1");<br>    data.videoconvert2 = gst_element_factory_make("<wbr>videoconvert", "videoconvert2");<br>    data.queue1 = gst_element_factory_make("<wbr>queue", "queue1");<br>    data.queue2 = gst_element_factory_make("<wbr>queue", "queue2");<br>    data.tee = gst_element_factory_make("tee"<wbr>, "tee");<br>   <br>    data.frameratefilter = gst_element_factory_make("<wbr>capsfilter", NULL);<br>    data.videorate = gst_element_factory_make("<wbr>videorate", NULL);<br>    data.avenc = gst_element_factory_make("<wbr>avenc_mpeg2video", NULL);<br>    data.avimux = gst_element_factory_make("<wbr>avimux", NULL);<br>    data.filesink = gst_element_factory_make("<wbr>multifilesink", "filesink");<br>    data.splitmuxsink = gst_element_factory_make("<wbr>splitmuxsink", "splitmuxsink");<br>      //  data.getchararray = gst_element_factory_make("/<wbr>home/shubham/splintng/Videos", "getchararray");<br><br>       // data.filesink2 = gst_element_factory_make("<wbr>filesink2", NULL);<br>   <br><br>     /* Create the empty pipeline */<br>       data.pipeline = gst_pipeline_new ("test-pipeline");<br><br>  if (!data.pipeline || !data.source || !data.convert || !data.videoconvert1 || !data.videoconvert2 || !data.queue1 || !data.queue2 || !data.tee || !data.sink || !data.filesink || !data.splitmuxsink ) {<br>    g_printerr ("Not all elements could be created.\n");<br>    return -1;<br>  }<br></div>
<br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div>