<div dir="ltr">Try putting a queue element between the appsrc and the decoder. That will put the reading and the decoding in separate threads, which may help smooth things out.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Sep 12, 2013 at 1:19 PM, Rohit Jaiswal <span dir="ltr"><<a href="mailto:rj12461@gmail.com" target="_blank">rj12461@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">hello freinds,<div><br></div><div>I am using a live stream to decode a video.</div><div>I am using the following code for decoding the stream.</div><div><br></div><div><a href="http://amarghosh.blogspot.in/2012/01/gstreamer-appsrc-in-action.html" target="_blank">http://amarghosh.blogspot.in/2012/01/gstreamer-appsrc-in-action.html</a><br>

</div><div><br></div><div>Now here is my problem-></div><div>I am trying to decode h.264 NAL units, by supplying gstreamer every single frame which arrives through network and its decoded very well but after decoding there is some latency and the output screen doesnot appears continuous to me.</div>

<div><br></div><div>the 1st frame arrives --> decoded and then appears on screen then the second frame arrives--> decoded and again appears but there is a gap in between which looks awkward.</div><div><br></div><div>

I am also following basic tutorial 12 for feeding live data but it doesnot helps.</div><div>i am using the appsrc to feed the data to gstreamer as mentioned in above link.</div><div><br></div><div>i really need your help...</div>

<div>please guide</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="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>