<div dir="ltr">Hello,<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/10 Sebastian Dröge <span dir="ltr"><<a href="mailto:slomo@circular-chaos.org" target="_blank">slomo@circular-chaos.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The names of the amvcviddec-* elements are based on the codec names<br>
in /etc/media_codecs.xml to prevent conflicts. You ideally use something<br>
like encodebin and decodebin to automatically select the best possible<br>
element for you, or implement your own logic around the<br>
GstElementFactory API to select the best suitable element.<br></blockquote><div><br></div><div>I have found the file media_profiles.xml in my /etc/ folder (among attachments. Is it the same of /etc/media_codecs.xml?<br>
<br></div><div>In row 31 of the file I read:<br><br> <!ATTLIST Video codec (h264|h263|m4v) #REQUIRED><br><br></div><div>so I thought that gst element would be amcviddec-m4v for mpeg decoder. I have tried it but element is not found by the app.<br>
<br></div><div>decodebin2 seems to work(but I cannot be sure that it's using android media codec.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Nothing that only uses public Android API. You should however be able to<br>
use gst-omx with Tegra, and directly use the OpenMAX IL implementation<br>
available for this SoC. It should be present on your Android device, you<br>
just need to write the appropiate configuration file for gst-omx for it.<br></blockquote><div><br></div></div>How can I see if it is present on my Android device? Which file should be written for gst-omx? I have found related documentation only for specific devices but not for Android devices.<br>
<br></div><div class="gmail_extra">Thanks in advance,<br>Francesco Argese<br></div></div></div>