<br><div class="gmail_quote">Hi Felipe,<br> <br> Thanks for you are reply. <br><br> Please observe the marked statements in below text.<br>
<br><div class="gmail_quote"><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
> I am working on a project to port GStreamer into embedded system.<br>
> Mainly working on developing openMax plug in for my openMax component.<br>
> For that i am taking gst-openmax-0.10.0.4 & libomxil-bellagio-0.9.1 as<br>
> reference. I tested both on Linux platform. every thing is working<br>
> fine.<br>
><br>
> As i told i am having my own openMax IL and DL layer, So i just want<br>
> change gst-openmax-0.10.0.4 layer according to my openMax IL 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>
</div><span style="color: rgb(51, 51, 255);">It depends on the component.</span><br style="color: rgb(51, 51, 255);">
<br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">
For MP3 decoding there's already a gst-openmax wrapper, so the only</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">
thing you need to do is specify your component name:</span><br style="color: rgb(51, 51, 255);">
<br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">
omx_mp3dec component-name="OMX.myvendor.</span><span style="color: rgb(51, 51, 255);">mycomponentname"</span></blockquote></div><div><br> <span style="background-color: rgb(255, 255, 255);"> </span><span style="color: rgb(153, 0, 0); background-color: rgb(255, 255, 255);">Here i am able to mapped by decoder component to ST component.</span><br style="color: rgb(153, 0, 0); background-color: rgb(255, 255, 255);">
<span style="color: rgb(153, 0, 0); background-color: rgb(255, 255, 255);"> thanks for your suggestion.</span><br style="background-color: rgb(255, 255, 255);">
</div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br>
> if yes,<br>
> Up to now i am able to map Mp3 Decoder component. But 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 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 my<br>
> embedded board.<br>
<br>
</div><span style="color: rgb(51, 51, 255);">I'm working heavily on filter elements, but not sources and sinks. It's</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">
quite possible that they are not working.</span><br style="color: rgb(51, 51, 255);">
<br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">
Maybe this patch would help?</span><br style="color: rgb(51, 51, 255);">
<a style="color: rgb(51, 51, 255);" href="http://github.com/felipec/gst-openmax/commit/b2d0e70140ae6ce660a993243a6ef02b2993608d" target="_blank">http://github.com/felipec/gst-openmax/commit/b2d0e70140ae6ce660a993243a6ef02b2993608d</a></blockquote>
</div><div><br> <span style="color: rgb(102, 0, 0);">At this point i stuck. In the above link which version of gst-openmax is used ? Because i am using gst-openmax-0.10.0.4.lib.</span><br style="color: rgb(102, 0, 0);">
<span style="color: rgb(102, 0, 0);"> In that lib i am not having reference lines you mentioned in gstomx_base_sink.c file. I am confused with your file.</span><br style="color: rgb(102, 0, 0);">
<br style="color: rgb(102, 0, 0);"><span style="color: rgb(102, 0, 0);"> I have some questions here. </span><br style="color: rgb(102, 0, 0);"><span style="color: rgb(102, 0, 0);"> 1.like Mp3 component, can i replace the "OMX.st.alsa.alsasink" with my Render component. </span><br style="color: rgb(102, 0, 0);">
<span style="color: rgb(102, 0, 0);"> If Not how to load my render component ?</span><br style="color: rgb(102, 0, 0);"><span style="color: rgb(102, 0, 0);"> if yes i am unable to render the decoder output on my sound card. Please clarify me how sink component is communicating</span><br style="color: rgb(102, 0, 0);">
<span style="color: rgb(102, 0, 0);"> with Bellagio component. </span><br><br> <span style="color: rgb(102, 0, 0);"> If you required, i can provide my debug logs</span><br></div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br style="color: rgb(51, 51, 255);">
<div><br>
> 2. And also from the GStreamer-OpenMax mailing list i came to know<br>
> that i need to setup OMX_SetupTunnel.<br>
> what is the path for changed gstomx_util.c file related 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 am<br>
> guessing ..<br>
<br>
</div><span style="color: rgb(51, 51, 255);">I didn't understand that last part.</span><br style="color: rgb(51, 51, 255);">
<br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">
There's a 'tunneling' branch pending in the github repository to use</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">
OMX_SetupTunnel, but it should not be required to get your code working.</span><br style="color: rgb(51, 51, 255);">
<br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">
What? omapzoom?</span></blockquote></div><div><br> <i style="color: rgb(102, 0, 0);"> </i><span style="color: rgb(102, 0, 0);">Thanks for your suggestion. for a while i am not looking in to the OMX_SetupTunnel concepts.<br>
omapzoom is kind off source tree which is also working on OMX_SetupTunnel issues i think.<br>
But leave this for a moment.</span><br></div></div><br><br>Please replay me back with your valuable suggestions. <br><font color="#888888"><br clear="all"><br>-- <br>Thanks & Regards<br>Sriramamurti Kommanapalli<br>
INDIA<br><br></font></div><br><br clear="all"><br>