Hi @dianapredescu,
I tried the following command on Ubuntu based desktop firmware image (BSP L5.10.72-2.2.0) but had error :
user@imx8mpevk:~$ gst-launch-1.0 imxcompositor_g2d name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=1440 sink_0::height=1080 sink_1::xpos=0 sink_1::ypos=1080 sink_1::width=1440 sink_1::height=1080 ! queue ! videoconvert ! v4l2h264enc output-io-mode=dmabuf-import ! rtph264pay config-interval=1 pt=96 ! udpsink host=192.168.0.244 port=5000 v4l2src device=/dev/video0 io-mode=dmabuf ! imxvideoconvert_g2d ! "video/x-raw, width=1440, height=1080, framerate=15/1" ! queue ! comp.sink_0 v4l2src device=/dev/video1 io-mode=dmabuf ! imxvideoconvert_g2d ! "video/x-raw, width=1440, height=1080, framerate=15/1" ! queue ! comp.sink_1
WARNING: erroneous pipeline: no element "v4l2h264enc"
It seems that v4l2h264enc/v4l2h264dec are not available but vpuenc_h264/vpudec:
user@imx8mpevk:~$ gst-inspect-1.0 | grep v4l2h264
user@imx8mpevk:~$ gst-inspect-1.0 | grep vpu
vpu: vpuenc_h264: IMX VPU-based AVC/H264 video encoder
vpu: vpuenc_hevc: IMX VPU-based HEVC video encoder
vpu: vpudec: IMX VPU-based video decoder
How to add these elements into Ubuntu based desktop firmware image, please ?
Best regards,
Khang