<div dir="ltr"><div>Thanks stefan.</div>
<div>There is one issue at the sink side in this case.</div>
<div>&nbsp;</div>
<div>For determining late packets and dropping, for a normal sink like SDL ideo sink, the dropping can be done at the raw frame level.</div>
<div>&nbsp;</div>
<div>In our case, we dont have any control over the data after the decode call and&nbsp;dropping and all need to be done in the compressed video, before being fed to the decoder.</div>
<div>This could be a problem when P and B frames are present in video right?</div>
<div>&nbsp;</div>
<div>Could you please guide to how to handle the late packets in the sink in this case?</div>
<div>&nbsp;</div>
<div>Regards</div>
<div>Ambily</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><br>On Sun, Oct 5, 2008 at 1:28 AM, Stefan Kost <span dir="ltr">&lt;<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>&gt;</span> wrote:<br></div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">hi,<br><br>Ambily N schrieb:<br>
<div>
<div></div>
<div class="Wj3C7c">&gt; Hi<br>&gt;<br>&gt; We are trying to develop gstreamer plugins for one hardware H.264<br>&gt; encoder and decoder.<br>&gt; One issue we are facing is, the encoder library doesnt provide an<br>&gt; interface for providing an input buffer for accepting uncompressed video.<br>
&gt; Instead it captures from HDMI/Component video/DVI interface,for which<br>&gt; there exists an option for selection.<br>&gt;<br>&gt; Similary, the decoder doesnt provide a decoded output buffer.<br>&gt; Instead it sends output to HDMI/DVI.<br>
&gt;<br>&gt; So our understanding is , due to these restrictions,the plugins cant be<br>&gt; developed as normal trasnsform plugins.<br>&gt;<br>&gt; Instead the encoder plugin need to be developed as a source plugin which<br>
&gt; generates encoded data and the decoder plugin can be developed as sink<br>&gt; plugin which handles both decoding and rendering.<br>&gt;<br>&gt; Is this understanding correct and is this a right approach? could<br>&gt; experts please comment on this?<br>
<br></div></div>Yes, thats correct. Have a look into src/sink baseclasses to reuse as much as<br>possible form there. Especially the sink is important as it is resposible for<br>A/V sync.<br><br>Stefan<br><br>&gt;<br>&gt; Regards<br>
&gt; Ambily<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; -------------------------------------------------------------------------<br>&gt; This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>
&gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>&gt; Grand prize is a trip for two to an Open Source event anywhere in the world<br>&gt; <a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>
&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; gstreamer-devel mailing list<br>&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br><br><br>-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>_______________________________________________<br>gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>