Hello everyone
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?
已解决! 转到解答。
Hello,
Please look at my comments below.
1.
imxv4l2videosrc element relates to MIPI or CSI cameras,
v4l2src should be used with USB cam.
2.
Basically, FSL Linux BSP uses the IRAM. Please refer to
[WARN] VPU iram is less than needed, some parts don't use iram
3.
Please check what output formats are supported by Your cam, using
“gst-inspect”. Perhaps it makes sense to use data transformation.
You may try to check pipeline functionality with the simplest example
$ gst-launch v4l2src ! decodebin2 ! mfw_v4lsink
In Your case “mfw_v4lsink” may be slightly different.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello,
Please look at my comments below.
1.
imxv4l2videosrc element relates to MIPI or CSI cameras,
v4l2src should be used with USB cam.
2.
Basically, FSL Linux BSP uses the IRAM. Please refer to
[WARN] VPU iram is less than needed, some parts don't use iram
3.
Please check what output formats are supported by Your cam, using
“gst-inspect”. Perhaps it makes sense to use data transformation.
You may try to check pipeline functionality with the simplest example
$ gst-launch v4l2src ! decodebin2 ! mfw_v4lsink
In Your case “mfw_v4lsink” may be slightly different.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------