I want to stream a video over a network using UDP sink and src elements .
I am using the following:
i.MX6Dual Processor as server
x86 System as receiver with Ubuntu 18
UVC Camera connected to i.MX6Dual Processor
When i run the gst pipeline, gst launch window pops up but video doesn't play it shows black screen.
Pipeline i used Server :
gst-launch-1.0 v4l2src ! videoconvert ! videoscale ! videorate ! "video/x-raw, width=720,height=576, format=I420, framerate=30" ! rtpvrawpay ! udpsink host=162.168.0.105 port=5000 sync=false
Receiver :
gst-launch-1.0 udpsrc port=5001 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, sampling=(string)YCbCr-4:2:2, depth=(string)8, width=(string)720, height=(string)576, payload=(int)96, a-framerate=(string)30" ! rtpvrawdepay ! videoconvert ! queue ! xvimagesink sync=false
I tried to change some parameters like: resolution, framerate,etc but it didn't worked it showed black screen only. I also tried to remove the parameter but after removing parameters it didn't show gst launch window or any error.
I have checked the camera whether it takes input or not but it is working fine when I stream on local system.
Can you please help with the pipeline to stream a video and avoid black screen?