Q&A: How to make openmax amrnb decoder selected by playbin2?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Q&A: How to make openmax amrnb decoder selected by playbin2?

Q&A: How to make openmax amrnb decoder selected by playbin2?

Question:

How do I add the opencore amrnb plugin to be the default for amrnb for use with playbin2?

With a .3gp file to play and audio amrnb encoded, amr plugins do not work ( i.e. are not even part of the build and when configured to build, they do not even build ).

Opencore had been added and got it to build and install with our ltib BSP and it plays the audio from the .3gp file in question fine ( but with an explicit pipeline ). But, the opencore amrnb plugin is not selected by gstreamer playbin2 when it does a typefind on the amrnb audio type.

Answer:

There are three options:
1. Fix the aiurdemux to allow correct demuxing

2. Lower the aiurdemux rank

3. Remove the /usr/lib/gstreamer-0.10/libmfw_gst_aiur_demux.so

Obviously, 3 is a ugly hack but it can be just enough for customer. If option 1 or is selected, patches may be required from MM team.

On this system, the aiurdemux does not have any issue, and audio playback works as expected.

These are the VPU firmware and GST-FSL versions on YOCTO:

VPU Version: firmware 1.4.50; libvpu: 5.3.2

MFW_GST_VPU_DECODER_PLUGIN 3.0.8 build on Sep 30 2013 16:36:27.

where in LTIB:

VPU Version: firmware 1.4.48; libvpu: 5.3.2

MFW_GST_VPU_DECODER_PLUGIN 2.0.3 build on Jul 23 2013 11:20:21.

So the next moved would be to try upgrading versions on LTIB if they want to use this system; in case switching to Yocto is viable, then the upgrade is already done.

Labels (1)
Tags (1)
Attachments
Comments

Here's my original question and how I got openmax working, never did get it to work with playbin2. But I did get the FSL amr decoder built and it works with playbin2, follow the link to see how.

https://community.freescale.com/message/364553#364553

Regards,

Randy

Randall, your original discussion is in MPU space which is internal space. External customers would not see it. Please copy the result to here if possible.

No ratings
Version history
Last update:
‎10-20-2013 08:11 PM
Updated by: