IMX8M plus: Does VPU H264 encoder support profile and level configuration?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX8M plus: Does VPU H264 encoder support profile and level configuration?

ソリューションへジャンプ
1,761件の閲覧回数
MadhuG
Contributor II

We are using VPU h264 encoder(GStreamer element) for h264 encoding in our application. The platform is IMX 8M plus.

I could not find options/element properties to change profile/level for the encoder. Does the encoder support profile and level configuration?

Thanks,

MadhuG

タグ(1)
0 件の賞賛
返信
1 解決策
1,665件の閲覧回数
MadhuG
Contributor II
I have updated the VPU wrapper function to version MM_04.07.00_2205_L5.15.y in my yocto layer to fix this issue.The latest version of IMX VPU wrapper has got the fix for calculating the correct H264 level.

Thanks,

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
1,726件の閲覧回数
MadhuG
Contributor II

Hi Joanxie,

Thank you. I am able to find the executable in unit test. We are using GStreamer element vpuenc_h264.

When I do 

gst-inspect vpuenc_h264

There is no option available for the levels config. Is there any way to select the levels in GStreamer element?

To give you more information on the encoder, I have run the below pipeline with VPU h264 encoder

gst-launch-1.0 videotestsrc ! vpuenc_h264 ! fakesink
====== VPUENC: 4.6.4 build on Jan 18 2022 09:10:37. ======
wrapper: 3.0.0 (VPUWRAPPER_ARM64_LINUX Build on Jul 16 2021 02:05:07)
vpulib: 1.1.1
firmware: 1.1.1.43690

Thanks,

0 件の賞賛
返信
1,734件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

you can find ./vc8000e_hevcenc and ./vc8000e_h264enc under /unit_tests/VPU/hantro/, You can see all available options trying to run the unit test. Customer can set the level with unit test.

0 件の賞賛
返信
1,712件の閲覧回数
MadhuG
Contributor II
I would like to add that VPU wrapper function doesn't seem to calculate the H264 level according to the resolution. For all the resolutions, it selects Profile:baseline&Level:1. I have tried with 720p30 & 1080p30, all the h264 encoded streams from VPU has got the same profile & level.

Thanks,
0 件の賞賛
返信
1,666件の閲覧回数
MadhuG
Contributor II
I have updated the VPU wrapper function to version MM_04.07.00_2205_L5.15.y in my yocto layer to fix this issue.The latest version of IMX VPU wrapper has got the fix for calculating the correct H264 level.

Thanks,
0 件の賞賛
返信
1,698件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

maybe you can check VPU_EncInitConfigParams from /build-wayland-imx8mp/tmp/work/armv8a-mx8mp-poky-linux/imx-vpuwrap/git-r0/git/vpu_wrapper_hantro_VCencoder.c, which is called by VPU_EncOpen

タグ(1)
0 件の賞賛
返信