<div>Hi Bernhard,</div>
<div>  I will be using appsrc element to push buffers, appsink element to grab the decoded frame and my decoder will be ffdec_mpeg2video</div>
<div> </div>
<div>-Ashwini<br><br></div>
<div class="gmail_quote">On Tue, Jun 28, 2011 at 12:45 PM, Bernhard Graaf <span dir="ltr">&lt;<a href="mailto:bernhard.graaf@gmx.de">bernhard.graaf@gmx.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><u></u>
<div lang="DE" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi Ashwini,<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Do you have more details about what appsrc, decoder and appsink you want to use? It’s a little bit different.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Bernhard<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><u></u> <u></u></span></font></p>
<div>
<div class="MsoNormal" style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Von:</span></font></b><font face="Tahoma" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> gstreamer-devel-bounces+bernhard.graaf=<a href="http://gmx.de/" target="_blank">gmx.de</a>@<a href="http://lists.freedesktop.org/" target="_blank">lists.freedesktop.org</a> [mailto:<a href="mailto:gstreamer-devel-bounces%2Bbernhard.graaf" target="_blank">gstreamer-devel-bounces+bernhard.graaf</a>=<a href="http://gmx.de/" target="_blank">gmx.de</a>@<a href="http://lists.freedesktop.org/" target="_blank">lists.freedesktop.org</a>] <b><span style="FONT-WEIGHT: bold">Im Auftrag von </span></b>Ashwini Sharma<br>
<b><span style="FONT-WEIGHT: bold">Gesendet:</span></b> Dienstag, 28. Juni 2011 07:49<br><b><span style="FONT-WEIGHT: bold">An:</span></b> <u></u>Discussion of the development of and with GStreamer<u></u><br><b><span style="FONT-WEIGHT: bold">Betreff:</span></b> Help - Using GStreamer decoders to decode</span></font><u></u><u></u></p>
</div>
<div>
<div></div>
<div class="h5">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><u></u> <u></u></span></font></p>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Hi All,<u></u><u></u></span></font></p></div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <u></u><u></u></span></font></p></div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">  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 <strong><b><font face="Times New Roman">&quot;appsrc ! decoder ! appsink&quot; </font></b></strong>. Where decoder can be a specific decoder or decodebin. <u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <u></u><u></u></span></font></p></div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">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....<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <u></u><u></u></span></font></p></div>
<ol type="1">
<li class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">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.<u></u><u></u></span></font></li>

<li class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Can I know from the output buffer/frame (at src pad of decoder), whether it is a Key-frame or not?<u></u><u></u></span></font></li>

<li class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Is it possible to check whether the complete frame can be generated from the given demuxed data or does it require more?<u></u><u></u></span></font></li>

<li class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Is there any way to get the PTS of the decoded frame?<u></u><u></u></span></font></li></ol>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Please help, as this is urgent for me. <u></u><u></u></span></font></p></div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <u></u><u></u></span></font></p></div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Thanks,<u></u><u></u></span></font></p></div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Ashwini<u></u><u></u></span></font></p></div></div></div></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>