Hello,
I have connected the Ubuntu PC and the Jetson TX2 board with ethernet cable.
A USB webcam is connected to the host PC. I am trying to establish live video streaming from the host PC to the target(Jetson TX2).
The command used on the host PC is as follows:
$ gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,framerate=30/1 ! vp8enc ! rtpvp8pay ! udpsink host=192.168.43.159 port=5000
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = “video/x-raw,\ format=(string)I420,\ width=(int)640,\ height=(int)480,\ pixel-aspect-ratio=(fraction)1/1,\ interlace-mode=(string)progressive,\ framerate=(fraction)30/1”
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = “video/x-raw,\ format=(string)I420,\ width=(int)640,\ height=(int)480,\ pixel-aspect-ratio=(fraction)1/1,\ interlace-mode=(string)progressive,\ framerate=(fraction)30/1”
Redistribute latency…
/GstPipeline:pipeline0/GstVP8Enc:vp8enc0.GstPad:src: caps = “video/x-vp8,\ profile=(string)0,\ streamheader=(buffer)<\ 4f56503830010100028001e00000010000010000001e00000001\ >,\ width=(int)640,\ height=(int)480,\ pixel-aspect-ratio=(fraction)1/1,\ framerate=(fraction)30/1”
/GstPipeline:pipeline0/GstRtpVP8Pay:rtpvp8pay0.GstPad:src: caps = “application/x-rtp,\ media=(string)video,\ clock-rate=(int)90000,\ encoding-name=(string)VP8,\ payload=(int)96,\ ssrc=(uint)987696047,\ timestamp-offset=(uint)1312859554,\ seqnum-offset=(uint)22401,\ a-framerate=(string)30”
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = “application/x-rtp,\ media=(string)video,\ clock-rate=(int)90000,\ encoding-name=(string)VP8,\ payload=(int)96,\ ssrc=(uint)987696047,\ timestamp-offset=(uint)1312859554,\ seqnum-offset=(uint)22401,\ a-framerate=(string)30”
/GstPipeline:pipeline0/GstRtpVP8Pay:rtpvp8pay0.GstPad:sink: caps = “video/x-vp8,\ profile=(string)0,\ streamheader=(buffer)<\ 4f56503830010100028001e00000010000010000001e00000001\ >,\ width=(int)640,\ height=(int)480,\ pixel-aspect-ratio=(fraction)1/1,\ framerate=(fraction)30/1”
/GstPipeline:pipeline0/GstVP8Enc:vp8enc0.GstPad:sink: caps = “video/x-raw,\ format=(string)I420,\ width=(int)640,\ height=(int)480,\ pixel-aspect-ratio=(fraction)1/1,\ interlace-mode=(string)progressive,\ framerate=(fraction)30/1”
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = “video/x-raw,\ format=(string)I420,\ width=(int)640,\ height=(int)480,\ pixel-aspect-ratio=(fraction)1/1,\ interlace-mode=(string)progressive,\ framerate=(fraction)30/1”
/GstPipeline:pipeline0/GstRtpVP8Pay:rtpvp8pay0: timestamp = 1313041915
/GstPipeline:pipeline0/GstRtpVP8Pay:rtpvp8pay0: seqnum = 22401
On the Jetson TX2 board,the command used is as follows:
$ gst-launch-1.0 udpsrc port=5000 caps = “application/x-rtp,\ media=(string)video,\ clock-rate=(int)90000,\ encoding-name=(string)VP8,\ payload=(int)96,\ ssrc=(uint)987696047,\ timestamp-offset=(uint)1312859554,\ seqnum-offset=(uint)992,\ a-framerate=(string)30” ! rtpvp8depay ! vp8dec ! nvvidconv ! xvimagesink
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
The cursor keeps blinking after this with no gst-launch-1.0 video output console window.
$ gst-launch-1.0 udpsrc port=5000 caps = “application/x-rtp,\ media=(string)video,\ clock-rate=(int)90000,\ encoding-name=(string)VP8,\ payload=(int)96,\ ssrc=(uint)987696047,\ timestamp-offset=(uint)1312859554,\ seqnum-offset=(uint)22401,\ a-framerate=(string)30” ! rtpvp8depay ! vp8dec ! xvimagesink
It is the same output on the usage of this command as well.
Is there any changes to be made for the video output to be displayed?
Kindly help.
Thanks in advance.