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
Solved! Go to Solution.
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,
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.
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