<div dir="ltr"><div><div><div><div><div><div><div>Hi Sebastian,<br></div>After your suggestion, I have added below line:<br>g_object_set (app->appsrc, "format", GST_FORMAT_TIME, NULL);<br></div>After that the warning which was not coming but when i am trying to stream over udp and playing the same in other machine like vlc test.sdp then it shows few messages like:<br><br>VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b)<br>[0x88ec908] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.<br>[0xb5104520] es demux error: cannot peek<br>[mpeg4 @ 0xb5121b20] hmm, seems the headers are not complete, trying to guess time_increment_bits<br>[mpeg4 @ 0xb5121b20] my guess is 5 bits ;)<br>[mpeg4 @ 0xb5121b20] looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag<br><br></div>Content of test.sdp:<br></div>v=0<br></div>m=video 5000 RTP/AVP 96<br></div>c=IN IP4 192.227.1.20<br></div>a=rtpmap:96 MP4V-ES/90000<br><div><div><div><div><div><br></div><div>I have attached the complete code .Please let me know if any issue is there in the code.<br><br></div><div>Regards,<br></div><div>Biswajit<br></div><div><br><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 11, 2016 at 3:45 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 15:03 +0530, Biswajit Panigrahi wrote:<br>
> Hi Sebastian,<br>
</span><span class="">> Thank a lot for debugging .<br>
><br>
> Now both fakesink as well as filesink location=testSRC1.mpeg in<br>
> appsrc works fine.<br>
> But while streaming over udp ,its getting failed.<br>
><br>
> app->pipeline = gst_parse_launch("appsrc name=mysource ! videoconvert<br>
> ! vpe num-input-buffers=8 ! ducatimpeg4enc bitrate=4000 ! queue !<br>
> rtpmp4vpay config-interval= 10 pt=96 ! udpsink host=192.227.1.20<br>
> port=5000 ", NULL);<br>
><br>
> I am getting continuous message like :<br>
> (GST_Final:1639): GStreamer-CRITICAL **: gst_segment_to_running_time:<br>
> assertion 'segment->format == format' failed<br>
><br>
> Any idea what could be the root couse for this.<br>
> I have attached the complete code also in this mail.<br>
<br>
</span>Your source (or the encoder) is not producing a segment in TIME format.<br>
For your source there would be the "format" property on appsrc.<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>