Hi
My development platform is IMX8MP and the system is Ubuntu 20.04,
root@imx8mpevk:~# uname -a
Linux imx8mpevk 5.15.5-g5b66ad699836-dirty #4 SMP PREEMPT Tue Dec 17 16:19:09 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
CMD:
gst-launch-1.0 videotestsrc ! video/x-raw, format=I420, width=640, height=480 ! vpuenc_h264 ! filesink location=test.mp4
////////////////////////////////////////////
Setting pipeline to PAUSED ...
====== VPUENC: 4.6.4 build on Jan 18 2022 09:10:37. ======
wrapper: 3.0.0 (VPUWRAPPER_ARM64_LINUX Build on Feb 9 2022 01:58:18)
vpulib: 1.1.1
firmware: 1.1.1.43690
ERROR: from element /GstPipeline:pipeline0/vpuenc_h264:vpuenc_h264-0: Could not initialize supporting library.
Additional debug info:
../git/gst-libs/gst/video/gstvideoencoder.c(1781): gst_video_encoder_change_state (): /GstPipeline:pipeline0/vpuenc_h264:vpuenc_h264-0:
Failed to start encoder
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
I cannot use vpuenc_h264, can you help me analyze the problem?
Thanks,
Joshua