<div dir="ltr"><div><div><div><div><div><div>Hi Sebastian,<br></div>Thank a lot for debugging .<br><br></div>Now both fakesink as well as filesink location=testSRC1.mpeg in appsrc works fine.<br></div>But while streaming over udp ,its getting failed.<br><br>app->pipeline = gst_parse_launch("appsrc name=mysource ! videoconvert ! vpe num-input-buffers=8 ! ducatimpeg4enc bitrate=4000 ! queue ! rtpmp4vpay config-interval= 10 pt=96 ! udpsink host=192.227.1.20 port=5000 ", NULL);<br><br>I am getting continuous message like :<br>(GST_Final:1639): GStreamer-CRITICAL **: gst_segment_to_running_time: assertion 'segment->format == format' failed<br><br></div>Any idea what could be the root couse for this.<br>I have attached the complete code also in this mail.<br><br></div>Regards,<br></div>Biswajit<br><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 11, 2016 at 1:53 PM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mi, 2016-05-11 at 13:31 +0530, Biswajit Panigrahi wrote:<br>
> Hi Sebastian,<br>
</span><span class="">> Thanks for figuring out the issue.<br>
> I have modified the code completely.As of now instead of streaming<br>
> over udp i am testing it with fakesink.<br>
> Now the Start Feed and Stop Feed Function get called once.<br>
</span>> [...]<br>
<span class="">> ERROR from element mysource: Internal data flow error.<br>
> Debugging info: gstbasesrc.c(2865): gst_base_src_loop ():<br>
> /GstPipeline:pipeline0/GstAppSrc:mysource:<br>
> streaming task paused, reason not-negotiated (-4)<br>
><br>
><br>
><br>
> Currently appsrc looks like:<br>
><br>
> gst_parse_launch("appsrc name=mysource ! vpe num-input-buffers=8 ! <br>
> ducatimpeg4enc bitrate=4000 ! fakesink dump=1 ", NULL);<br>
><br>
> caps = gst_caps_new_simple ("video/x-raw",<br>
> "format",G_TYPE_STRING,"RGB",<br>
> "bpp",G_TYPE_INT,24,<br>
> "depth",G_TYPE_INT,24,<br>
> "width", G_TYPE_INT, 640,<br>
> "height", G_TYPE_INT, 480,<br>
> "framerate", GST_TYPE_FRACTION, 30, 1,<br>
> NULL);<br>
<br>
</span>vpe probably does not accept RGB input. Put a videoconvert after your<br>
appsrc as mentioned in my previous mail (instead of the<br>
ffmpegcolorspace you had there before and which does not exist).<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
<br>
</div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>