imx8mp VPU VC8000E and H264 Camera Frame encoding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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/"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can use unit test to test firstly, you can find it under
./unit_tests/VPU/hantro/vc8000e_hevcenc
