We are using an IMX8mp on a custom board and are using the NXP Yocto hardknott as the base platform.
We are compressing/encoding a camera stream to H264/MP4 using the hardware H264 encoders vpuenc_h264 plugin.
A basic example is like:
gst-launch-1.0 -v videotestsrc num-buffers=100 ! video/x-raw,width=720,height=576,framerate=25/1 ! vpuenc_h264 ! video/x-h264,profile=main ! h264parse ! mp4mux fragment-duration=10 ! filesink location=/tmp/Video1.mp4
However it appears that the vpuenc_h264 igores the profile= and level= stream parameters. Looking at the imx-gst1.0-plugin code there appears to be no ability to set the H264 profile.
已解决! 转到解答。
Ok, thanks for the pointer.
Information for other users from what I have gathered searching the Internet and looking at the code as there is, typically, lack of NXP documentation available:
Feedback to NXP:
Ok, thanks for the pointer.
Information for other users from what I have gathered searching the Internet and looking at the code as there is, typically, lack of NXP documentation available:
Feedback to NXP:
Hi @TerryBarnaby1,