[i.MX8MP/VPU] Tips for vpuwraper

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

[i.MX8MP/VPU] Tips for vpuwraper

[i.MX8MP/VPU] Tips for vpuwraper

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

  1. Build Procedure:

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

 

  1. Test on i.MX8MP EVK board

Pls find attached test log for decode and encode

  1. If busChromaU in YUV file is null, you will failed to encode it,pls apply patch vpuwraper patch for L5.4.70.2.3.0.patch to fix t
  2. If YUV file is interleave format, you need to add add interleave parameter : -interleave 1

./test_enc_arm_elinux -i test.yuv -o aaa.h264 -f 2 -w 176 -h 96 -interleave 1

 

Thanks,

Lambert

标签 (1)
附件
无评分
版本历史
最后更新:
‎08-02-2023 05:57 AM
更新人: