i.MX8M Android Play Video

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

i.MX8M Android Play Video

792 Views
eric_lee1
Contributor II

We are trying to use Cactus Player in Android 9 to play video clips to HDMI. This is fine actually.

However, at kernel_imx device tree, if we remove the wm8524 codec node. The cactus player will freeze when open the video clips. Is it possible to have cactus player play video clips without wm8524 in device tree?

-Eric

0 Kudos
2 Replies

685 Views
eric_lee1
Contributor II

Hi Diego,

We output to HDMI and there is already a hdmi audio in kernel device tree and hal layer. Plus, we have an sgtl5000 sound card in hal layer and kernel device tree as well. However, it seems that wm8524 has to be defined in kernel device tree to make the cactus player work.

-Eric  

0 Kudos

685 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Probably it freezes because the Cactus player needs an audio card to function. If you want to use another audio card. You will need to add corresponding code to android HAL: <Android build dir>/hardware/imx/alsa/tinyalsa_hal.c. We provided a document to guide where the customer learn how to add a new codec to the Android HAL. It is a little bit old, but, hopefully it could help. Just to remark that this kind of modification to our BSP is out of our scope of support.

How to port new audio codec into Android.docx 

Best regards,

Diego.

0 Kudos