Many details of VPU as third party IP are not provided.
You may use FSL solutions, in particular, one can define what data
formats are used by Gstreamer elements, using gst-inspect command :
For imxv4l2src: v4l2 based camera src
SRC template: 'src'
Capabilities:
ANY
For vpuenc
($ gst-inspect vpuenc )
SINK template: 'sink'
Capabilities:
video/x-raw-yuv
format: TNVP
video/x-raw-yuv
format: NV12
video/x-raw-yuv
format: I420
SRC template: 'src'
Capabilities:
video/mpeg
mpegversion: 4
systemstream: false
video/x-h263
video/x-h264
image/jpeg
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------