For key frame , check the buffer flag <meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: monospace; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-size: medium; ">GST_BUFFER_FLAG_DELTA_UNIT.</span><br>
<br><div class="gmail_quote">On Tue, Jun 28, 2011 at 10:37 AM, Kapil Agrawal <span dir="ltr">&lt;<a href="mailto:kapil.agl@gmail.com">kapil.agl@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
1. Yes<br>2. Yes<br>3. You can do that by making changes in the decoder plugin , but I doubt in application you can do that.<br>4. Yes the buffer at decoder srcpad gives PTS for that frame of data contained in buffer.<br>
<br>
<div class="gmail_quote"><div><div></div><div class="h5">On Tue, Jun 28, 2011 at 11:18 AM, Ashwini Sharma <span dir="ltr">&lt;<a href="mailto:ak.ashwini@gmail.com" target="_blank">ak.ashwini@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
<div>Hi All,</div>
<div> </div>
<div>  I am writing an mediaplay application in which i have to use GStreamer decoders to decode data and send it back. For the purpose I am going to use <b>&quot;appsrc ! decoder ! appsink&quot; </b>. Where decoder can be a specific decoder or decodebin. </div>



<div> </div>
<div>I will be reading the file, demuxing it and then send the demuxed packet to GStreamer decoder part as described above. Here I want to know few things....</div>
<div> </div>
<ol>
<li>Does the  decoder in gstreamer output a complete Frame or is it partial data? I assume it to be a complete frame... please correct my assumption.</li>
<li>Can I know from the output buffer/frame (at src pad of decoder), whether it is a Key-frame or not?</li>
<li>Is it possible to check whether the complete frame can be generated from the given demuxed data or does it require more?</li>
<li>Is there any way to get the PTS of the decoded frame?</li></ol>
<div>Please help, as this is urgent for me. </div>
<div> </div>
<div>Thanks,</div>
<div>Ashwini</div>
<br></div></div><div class="im">_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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></div></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br><a href="http://www.mediamagictechnologies.com" target="_blank">www.mediamagictechnologies.com</a> (Gstreamer, ffmpeg, Red5, Streaming)<br>
twitter handle: @gst_kaps<br><a href="http://www.linkedin.com/in/kapilagrawal" target="_blank">http://www.linkedin.com/in/kapilagrawal</a><br>

</font><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><br clear="all"><br>-- <br>Sreerenj Balachandran (Intel OTC, Finland)<br><a href="https://github.com/sreerenjb" target="_blank">https://github.com/sreerenjb</a><div><a href="http://twitter.com/#!/sreerenj" target="_blank">http://twitter.com/#!/sreerenj</a></div>
<br>