<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi Sebastian,<br></div>Yes if i use filesink location in Pipeline like:<br>app->pipeline = gst_parse_launch("appsrc name=mysource ! videoconvert ! vpe num-input-buffers=8 ! ducatimpeg4enc bitrate=4000 ! filesink location=FinalSRC12.mpeg ", NULL); <br></div>Then I am able play the FinalSRC12.mpeg without any problem.<br><br></div>I have tried with avenc_mpeg4 also in pipeline like:<br>app->pipeline = gst_parse_launch("appsrc name=mysource ! videoconvert
! vpe num-input-buffers=8 ! avenc_mpeg4 bitrate=4000 ! filesink
location=FinalSRC12.mpeg ", NULL);<br><br></div>but when I started UDP streaming in vlc by executing vlc test.sdp then the vlc gives error like:<br></div>demux error:cannot peak<br></div>no data received in 10s,aborting<br><br></div>Complete code is attached..<br><br></div>Regards,<br></div>Biswajit<br><div><div><div><div> <br><div><div><br></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 12, 2016 at 11:52 AM, 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 Do, 2016-05-12 at 11:36 +0530, Biswajit Panigrahi wrote:<br>
> Hi Sebastian,<br>
</span><span class="">> After your suggestion, I have added below line:<br>
> g_object_set (app->appsrc, "format", GST_FORMAT_TIME, NULL);<br>
> After that the warning which was not coming but when i am trying to<br>
> stream over udp and playing the same in other machine like vlc<br>
> 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<br>
> 'cvlc' to use vlc without interface.<br>
> [0xb5104520] es demux error: cannot peek<br>
> [mpeg4 @ 0xb5121b20] hmm, seems the headers are not complete, trying<br>
> to guess time_increment_bits<br>
> [mpeg4 @ 0xb5121b20] my guess is 5 bits ;)<br>
> [mpeg4 @ 0xb5121b20] looks like this file was encoded with<br>
> (divx4/(old)xvid/opendivx) -> forcing low_delay flag<br>
><br>
> Content of test.sdp:<br>
> v=0<br>
> m=video 5000 RTP/AVP 96<br>
> c=IN IP4 192.227.1.20<br>
> a=rtpmap:96 MP4V-ES/90000<br>
><br>
> I have attached the complete code .Please let me know if any issue is<br>
> there in the code.<br>
<br>
</span>Try with a known-to-work MPEG-4 Part 2 encoder, e.g. avenc_mpeg4,<br>
instead of the Ducati elements. Does that work?<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>