|
Hi,
I am trying to stream a video in network and using the below command to stream:
gst-launch -v filesrc location=1.avi ! decodebin2 ! ffmpegcolorspace ! video/x-raw-yuv ! videorate ! video/x-raw-yuv,framerate=10/1 ! videoscale ! video/x-raw-yuv,width=640,height=480 ! clockoverlay ! rtpvrawpay ! udpsink host=localhost port=5000 sync=false
output of above command is:
:
:
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = application/x-rtp
, media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, samplin
g=(string)YCbCr-4:2:0, depth=(string)8, width=(string)640, height=(string)480, c
olorimetry=(string)SMPTE240M, payload=(int)96, ssrc=(guint)3854949446, clock-bas
e=(guint)906919570, seqnum-base=(guint)61841
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
And at receiver end I am running the following command to get the video(using the caps in above command output):
gst-launch -v udpsrc port=5000 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)640, height=(string)480, colorimetry=(string)SMPTE240M, payload=(int)96, ssrc=(guint)3143582158, clock-base=(guint)2032309802, seqnum-base=(guint)43299" ! rtpvrawdepay ! autovideosink
At receiver end I am not getting the proper video, although the video screen is displayed but the video is not clearly visible and video is also moving very fast(as if running in fast forward mode).
Can anyone help why the video is not clear and moving very fast
Thanks in advance.
|