Hi Felipe,<br><br>
Thanks for you are reply. <br> Still i am unable to load "OMX.st.alsa.alsasink" component with gstreamer openmax layer like <br> "OMX.st.audio_decoder.mp3.mad" component.<br>
<br> I am using top level application as totem player source packages. providing gstreamer openmax plug_in path also.<br><br> Like Mp3 component i am not able to get the handle for alsasink component.<br>
<br> Please provide feedback....!<br><br><br><br><br><div class="gmail_quote">On Wed, Dec 3, 2008 at 7:57 PM, Felipe Contreras <span dir="ltr"><<a href="mailto:felipe.contreras@nokia.com" target="_blank">felipe.contreras@nokia.com</a>></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;">
<div><div></div><div>> > I am working on a project to port GStreamer into embedded<br>
> system.<br>
> > Mainly working on developing openMax plug in for my openMax<br>
> component.<br>
> > For that i am taking gst-openmax-0.10.0.4 &<br>
> libomxil-bellagio-0.9.1 as<br>
> > reference. I tested both on Linux platform. every thing is<br>
> working<br>
> > fine.<br>
> ><br>
> > As i told i am having my own openMax IL and DL layer, So i<br>
> just want<br>
> > change gst-openmax-0.10.0.4 layer according to my openMax IL<br>
> layer.<br>
> > for that i am mapping one by one ST OMX components to my OMX<br>
> > components.<br>
> ><br>
> > 1. Is my approach is correct ?<br>
><br>
><br>
> It depends on the component.<br>
><br>
> For MP3 decoding there's already a gst-openmax wrapper, so the<br>
> only<br>
> thing you need to do is specify your component name:<br>
><br>
> omx_mp3dec component-name="OMX.myvendor.mycomponentname"<br>
><br>
> Here i am able to mapped by decoder component to ST component.<br>
> thanks for your suggestion.<br>
><br>
><br>
> > if yes,<br>
> > Up to now i am able to map Mp3 Decoder component. But<br>
> instead of ST<br>
> > Alsa sink component i am having my Render component.<br>
> > I am unable to map this component. It is not loading.<br>
> > after some level of debugging i am came to know that in<br>
> standered PC<br>
> > it is not loading the ST ALSA component also.<br>
> ><br>
> > So can any one help me , How to proceed to play the audio on<br>
> my<br>
> > embedded board.<br>
><br>
><br>
> I'm working heavily on filter elements, but not sources and<br>
> sinks. It's<br>
> quite possible that they are not working.<br>
><br>
> Maybe this patch would help?<br>
> <a href="http://github.com/felipec/gst-openmax/commit/b2d0e70140ae6ce660a993243a6ef02b2993608d" target="_blank">http://github.com/felipec/gst-openmax/commit/b2d0e70140ae6ce660a993243a6ef02b2993608d</a><br>
><br>
> At this point i stuck. In the above link which version of<br>
> gst-openmax is used ? Because i am using gst-openmax-0.10.0.4.lib.<br>
> In that lib i am not having reference lines you mentioned in<br>
> gstomx_base_sink.c file. I am confused with your file.<br>
<br>
</div></div>Just add those lines to the omx_init function.<br>
<div><br>
> I have some questions here.<br>
> 1.like Mp3 component, can i replace the "OMX.st.alsa.alsasink"<br>
> with my Render component.<br>
<br>
</div>Sure, if your renderer accepts pcm.<br>
<div><br>
> If Not how to load my render component ?<br>
> if yes i am unable to render the decoder output on my sound<br>
> card. Please clarify me how sink component is communicating<br>
> with Bellagio component.<br>
<br>
</div>The sink element is communicating to Bellagio just like any omxil<br>
client.<br>
<div><br>
> If you required, i can provide my debug logs<br>
><br>
><br>
><br>
> > 2. And also from the GStreamer-OpenMax mailing list i came<br>
> to know<br>
> > that i need to setup OMX_SetupTunnel.<br>
> > what is the path for changed gstomx_util.c file related<br>
> to<br>
> > gst-openmax-0.10.0.4 lib.<br>
> > because code mentioned in the path<br>
> > <a href="https://omapzoom.org/gf/project/openmax/wiki/" target="_blank">https://omapzoom.org/gf/project/openmax/wiki/</a> is very old i<br>
> am<br>
> > guessing ..<br>
><br>
><br>
> I didn't understand that last part.<br>
><br>
> There's a 'tunneling' branch pending in the github repository<br>
> to use<br>
> OMX_SetupTunnel, but it should not be required to get your<br>
> code working.<br>
><br>
> What? omapzoom?<br>
><br>
> Thanks for your suggestion. for a while i am not looking in to the<br>
> OMX_SetupTunnel concepts.<br>
> omapzoom is kind off source tree which is also working on<br>
> OMX_SetupTunnel issues i think.<br>
> But leave this for a moment.<br>
<br>
</div>omapzoom is a site with some proposal of TI to open source their code<br>
for OMAP. They have OpenMAX IL wrappers for their DSP algorithms.<br>
<br>
--<br>
<font color="#888888">Felipe Contreras<br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Thanks & Regards<br>Sriramamurti Kommanapalli<br><br>