Video Codecs issue on NXP im8 Quad max running Android Automotive 14

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

Video Codecs issue on NXP im8 Quad max running Android Automotive 14

731 Views
swayamdhondge10
Contributor II

I tried to run a video with mp4 extension on imx8 quad max board running android automotive 14 revision 17. For this, I have used the default available players like -

  1. Cactus Player - Unable to play the video.
  2. Gallery Video Player - Unable to play the video. 

Sharing the logs below. I have analysed the logs and I suspect there could be a codec issue. Additionally, I have installed and tested the VLC Player as it comes with the codecs and the video was playing. 

Previously, while working on Android Automotive 11 revision 40 on the same board (imx 8QM) -  video playback was working using the default players.

I am not sure whether the Android automotive 14 revision 17 built image is missing any video codec. Could someone please help understand / fix this issue. Any help would be greatly appreciated. 
Attaching log file.

0 Kudos
Reply
6 Replies

636 Views
swayamdhondge10
Contributor II

Hello, Thanks for the reply. 
But I am not using gstreamer. I am using an android application which uses exoplayer android library to play the video files.
Could you please mention where in the NXP BSP files I need to make the changes. 
I was thinking there might be a config file in the NXP android 14 revision 17 BSP files that I need to update. Requesting your support on this. 

0 Kudos
Reply

626 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Sorry the same applies no matter if you are in android apps or kernel space you upgrade to android 17 that is not support by NXP, so this are what you have to do it.

Regards

0 Kudos
Reply

712 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Yes the revision 17 does not have the proper parameter to enable the codecs in this case you will have to copy from the NXP BSP or use gstreamer.

Regards

701 Views
swayamdhondge10
Contributor II

Thanks for the reply. 
Could you please share the detailed steps to enable the parameter.

0 Kudos
Reply

652 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The parameter is:

gst-launch-1.0 playbin uri=file:///path/to/video.mp4

 or

gst-launch-0.10 filesrc location=$1 ! h264parse ! ffdec_h264 ! ffmpegcolorspace ! deinterlace ! xvimagesink

 

Regards

0 Kudos
Reply

588 Views
swayamdhondge10
Contributor II
Thanks for the reply and support.

gst-launch-1.0 playbin uri=file:///path/to/video.mp4
or
gst-launch-0.10 filesrc location=$1 ! h264parse ! ffdec_h264 ! ffmpegcolorspace ! deinterlace ! xvimagesink
Could you please let me know where to apply the above configuration. I have repo synched the NXP android automotive 14 revision 17 BSP. Please specify the file and path to the file to enable the video codecs.
0 Kudos
Reply