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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

730 次查看
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 项奖励
回复
6 回复数

635 次查看
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 项奖励
回复

625 次查看
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 项奖励
回复

711 次查看
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

700 次查看
swayamdhondge10
Contributor II

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

0 项奖励
回复

651 次查看
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 项奖励
回复

587 次查看
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 项奖励
回复