Unable to capture video on iMX8MP with Android 11

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

Unable to capture video on iMX8MP with Android 11

2,332 次查看
Charled
Contributor III

Hi,

 

I am using a custom board using i.MX8MP chipset, and based on the reference EVK board. I can capture images with the camera, but not video. The issue is the same on the EVK board.

I am using Android 11.0.0_2.6.0.


The error I can see in the logcat is:

E/IMXC2VideoEncoder: mEncoder OpenDevice fail
E/StagefrightRecorder: Failed to create video encoder

 

And in the dmesg, I can see that (not sure if this is related or not):

hantro_enc driver probe fail! nr=0xb8000000 ret=-1. Use normal mode.
hantroenc: NO ANY HW found!!
hx280enc: module not inserted
hantro vc8000e: init failed
hantro vc8000e probe failed
vpu driver probe fail! nr=0xb7000000 ret=-1. Use normal mode.
hantrodec: Unknown HW found at 0x 38300000
hantrodec: module not inserted
hantro: hantrodec_init failed
hantro probe failed
vpu driver probe fail! nr=0xb7000000 ret=-1. Use normal mode.
hantrodec: Unknown HW found at 0x 38310000
hantrodec: module not inserted
hantro: hantrodec_init failed
hantro probe failed

 

Does anyone faced such issue?

Any idea why it appears, and how to fix that?

 

Thanks,

Charles-Edouard

0 项奖励
回复
5 回复数

2,318 次查看
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the chapter 8.1.3 Making cameras work on i.MX 8M Plus EVK with non-default images of android user guide, you can download the user guide from

"https://www.nxp.com/design/software/embedded-software/i-mx-software/android-os-for-i-mx-applications..."

 

0 项奖励
回复

2,307 次查看
Charled
Contributor III

Hello @joanxie,

I have already done this, as mentioned in the document, but without success. Please note that capturing photo works well, and only video is not working.

 

BR

0 项奖励
回复

2,300 次查看
joanxie
NXP TechSupport
NXP TechSupport

current bsp only supports  supports daA3840-30mc, did you use this basler? if no, maybe current bsp couldn't support it yet

 

0 项奖励
回复

2,298 次查看
Charled
Contributor III

Hi @joanxie ,

Yes, I have used the Basler camera, with the imx8mp_evk board, and Android 11.0.0_2.6.0.

I can reproduced the same issue also with our own board and another camera device, but here, considering I have the issue with your standard configuration, I would expect some interesting suggestion to find and fix the problem.

 

BR

0 项奖励
回复

2,289 次查看
joanxie
NXP TechSupport
NXP TechSupport

how to reproduce this on imx8mp evk board? did you use default APK or your customized APK

 

0 项奖励
回复