imx8mp VPU VC8000E and H264 Camera Frame encoding

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

imx8mp VPU VC8000E and H264 Camera Frame encoding

1,060 次查看
MBO
Contributor I

Hello,

We are facing to some issues since several days to encode H264 stream from an usb Camera with YUYV frames.
We use a imx8mp embedding the VPU Hantro VC8000E. We tried to follow the NXP VPU Programming API Documentation and the VPU Wrapper API available on github, without success.

We got anormally very huge files as output which cannot be read by any mp4 player (as VLC for example).
So do anyone can share code sample for camera frame encoding ?


Thank you for your attention.

 

0 项奖励
回复
3 回复数

1,039 次查看
MBO
Contributor I

Sorry to insist, I need sample code for imx8mp. thank you.

I conctated the NXP Professional Services to get code example, but with no answer upto now.

0 项奖励
回复

1,031 次查看
joanxie
NXP TechSupport
NXP TechSupport

if you have built nxp bsp, you can find the vpu hantro and wrap source code here, this is 5.15.32

"/build-wayland-imx8mp/tmp/work/armv8a-mx8mp-poky-linux/"

0 项奖励
回复

1,041 次查看
joanxie
NXP TechSupport
NXP TechSupport

you can use unit test to test firstly, you can find it under

./unit_tests/VPU/hantro/vc8000e_hevcenc

0 项奖励
回复