I have a iMX6Dual and i facing the same problem constantly with streaming video with the GStreamer.
Using this on console: gst-launch-1.0 imxv4l2videosrc device=/dev/video2 ! video/x-raw,width=640,height=360 ! imxvpuenc_h264 bitrate=10000 ! h264parse config-interval=1 ! rtph264pay ! udpsink host="myip" port=5000
And it shows
Setting pipeline to PAUSED ...
[INFO] Product Info: i.MX6Q/D/S
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL
Freeing pipeline ...
And when i replace imxv4l2videosrc to v4l2src it gives a warning saying that "VPU iram is less than needed, some parts don't use iram" and only stream one frame then stop
I even used gst-inspect-1.0 to verify if all the ima packages were installed, and they all were checked for working.
Anyone can give me a light?