imx8mp VPU VC8000E and H264 Camera Frame encoding

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

imx8mp VPU VC8000E and H264 Camera Frame encoding

661 Views
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 Kudos
3 Replies

640 Views
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 Kudos

632 Views
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 Kudos

642 Views
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 Kudos