vpuwraper can fulfill VPU decoder/encoder, if customer’s user case is simple, for example they just need to encode yuv stream to H264, or decode H264 stream to yuv,
There is no need to use gstreamer or V4L2 complex framework, you can use vpuwraper.
Platform: i.MX8MP + L5.4.70.2.3.0
mkdir vpu
cd vpu
git clone https://github.com/nxp-imx/imx-vpuwrap
cd imx-vpuwrap/
git tag -l
git switch -c rel_imx_5.4.70_2.3.0
source ../../.././5.4.70.2.3.0/sdk/environment-setup-aarch64-poky-linux
make -f Makefile_8mp
Pls find attached test log for decode and encode
./test_enc_arm_elinux -i test.yuv -o aaa.h264 -f 2 -w 176 -h 96 -interleave 1
Thanks,
Lambert