Hello @brian14
Thank you for the response
I tried the given pipeline but it didn't work
There was the following error :
WARNING: erroneous pipeline: no element "mfw_v4l2src"
And the BSP version I'm using is pyro.
Also there is an update now I'm able to stream but video is stucked at first frame and sometimes frame changes but it takes 5-10 seconds and video seems like images I also tried to change sink element and framerate but it didn't work
server pipeline:
gst-launch-1.0 v4l2src ! videoconvert ! videoscale ! videorate ! "video/x-raw,width=720,height=576,format=I420,framerate=25/1" ! rtpvrawpay ! udpsink host=<Client IP Address> port=5000 sync=false async=false
Receiver pipeline:
gst-launch-1.0 udpsrc buffer-size=622080 port=5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, sampling=YCbCr-4:2:0,depth=(string)8,width=(string)720, height=(string)576, payload=(int)96, a-framerate=25" ! rtpvrawdepay ! autovideosink window-width=720 window-height=576 sync=true
also I tried the same pipeline with the loopback IP address and it worked properly
I have also tried another pipeline
server GStreamer pipeline:
gst-launch-1.0 v4l2src ! videoconvert ! videoscale ! videorate ! "video/x-raw,width=720,height=576,format=I420,framerate=25/1" ! x264enc ! rtph264pay ! udpsink host=<Client ip address > port=5000 sync=false async=false
client GStreamer pipeline:
gst-launch-1.0 -v udpsrc port=5000 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! decodebin ! videoconvert ! autovideosink sync=false
OR
gst-launch-1.0 udpsrc port=5000 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! vaapih264dec ! decodebin ! videoconvert ! autovideosink sync=false
In this case I tried following method:
- I tried the same pipeline x86 system as sender and receiver both using loopback ip and it worked well but video was delayed by few seconds
- I also tried the same pipeline using two x86 system it worked well but video was delayed by few seconds
- But when i use the above pipeline for i.MX6 Dual processor as sender and x86 system as receiver it is stucked at the first frame.
So how can I acheive continuous streaming with low latency ?