Hello,<br>I had taken a look at the gstreamer-ti plugins some time back. One of the things that i noticed is threads being spawned from within the decoder plugins, which does not fit well with me. I also noticed quite a lot of bugs in the code, which kept me from using it or hacking on it. Besides i already have most of the functionality implemented and just need to tweak my code/design a bit, hence the mail.<br>

<br>Thanks and Regards<br>~Sameer<br><br><div class="gmail_quote">On Sun, Nov 22, 2009 at 9:27 PM, Brijesh Singh <span dir="ltr">&lt;<a href="mailto:brijesh.ksingh@gmail.com">brijesh.ksingh@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
Have you looked at <a href="http://gstreamer.ti.com" target="_blank">gstreamer.ti.com</a> ?  gst_ti has all the elements you<br>
need. It support wide varity of TI platforms. (DM6446, DM355, DM365,<br>
DM357, DM6467, OMAP3530 and more...).<br>
<br>
To understand design detail you can watch 25-min of video presentation.<br>
<br>
<a href="https://gstreamer.ti.com/gf/project/gstreamer_ti/wiki/?pagename=OverviewPresentation" target="_blank">https://gstreamer.ti.com/gf/project/gstreamer_ti/wiki/?pagename=OverviewPresentation</a><br>
<br>
We do not have pad-allocation method yet (may be you can contribute on<br>
project). We use hw accelerated framecopy to copy the data from video<br>
decoder -&gt; sink element. Depending on the platform, this hw<br>
accelerator may be resizer/dma/vdce/sdma etc...<br>
<br>
<br>
Thanks<br>
Brijesh<br>
<div><div></div><div class="h5"><br>
On Sun, Nov 22, 2009 at 4:18 AM, Sameer Naik<br>
&lt;<a href="mailto:sameer.subscriptions@damagehead.com">sameer.subscriptions@damagehead.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt; I am developing a multimedia application for an embedded system based on<br>
&gt; TI&#39;s DM6446 platform. The decoding of the audio and video frames will be<br>
&gt; done using the HW decoders. The platform also includes a hardware resizer,<br>
&gt; that allows resizing of the video frames in hardware, thereby making the<br>
&gt; resizing operations pretty quick.<br>
&gt;<br>
&gt; I need some advice on the architecture that i should base by application on.<br>
&gt; Following are the architectures that i have come up with<br>
&gt;<br>
&gt; 1.<br>
&gt; - audio decoder plugins<br>
&gt; - video decoder plugins<br>
&gt; - resizer plugin<br>
&gt; - frame buffer output plugin<br>
&gt; Here i can build a seperate plugin to do the resizing of video frames. This<br>
&gt; would conform more with gstreamer&#39;s idea that &quot;every element does one<br>
&gt; thing&quot;, providing better reusability. To reduce to number of memcpy&#39;s, i<br>
&gt; could equip the frame buffer plugin with pad allocation capabilities and<br>
&gt; accordingly add pad_alloc calls in the resizer plugin. The only this is, in<br>
&gt; this case the frames will always be resized, regardless of whether the frame<br>
&gt; is going to be displayed or dropped. I am not really sure whether this is<br>
&gt; that big of a problem considering that the number of frames that could be<br>
&gt; dropped is very less.<br>
&gt;<br>
&gt; 2.<br>
&gt; - audio decoder plugins<br>
&gt; - video decoder plugins<br>
&gt; - frame buffer plugin with resizing capabilities using the hw resizer.<br>
&gt; Here i can build the frame buffer plugin with the built in capability to<br>
&gt; resize video frames. In this case i could resize the frame only if it is<br>
&gt; going to be displayed (i.e. just before it would be displayed on screen).<br>
&gt; Now in this case i loose the reusability advantage, which i can live with if<br>
&gt; i am able to achieve smooth video playback with av sync. In this case, I am<br>
&gt; not sure whether the last minute resizing of the frame would introduce a lot<br>
&gt; of latency while displaying the frame. Given that it is a hardware resizer i<br>
&gt; am assuming it would be quick.<br>
&gt;<br>
&gt; P.S. I would be employing the pad allocation method in other parts of the<br>
&gt; pipeline as well, so as to reduce the number of memcpy&#39;s going on in the<br>
&gt; pipeline.<br>
&gt;<br>
&gt; Please Advice.<br>
&gt;<br>
&gt; Regards<br>
&gt; ~Sameer<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ------------------------------------------------------------------------------<br>
&gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day<br>
&gt; trial. Simplify your report design, integration and deployment - and focus<br>
&gt; on<br>
&gt; what you do best, core application coding. Discover what&#39;s new with<br>
&gt; Crystal Reports now.  <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><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>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Confusion is always the most honest response.<br>
<br>
------------------------------------------------------------------------------<br>
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day<br>
trial. Simplify your report design, integration and deployment - and focus on<br>
what you do best, core application coding. Discover what&#39;s new with<br>
Crystal Reports now.  <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</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>