Hi @DaneLLL
Can you suggest me how to create gstreamer command to play raw data video by a TCP server?
I tried some parameters but not work at all.
Here are my setup:
[sender]
gst-launch-1.0 -v v4l2src device=/dev/video0 ! “video/x-raw, format=(string)UYVY, width=(int)1920, height=(int)1080” ! rtpvrawpay ! queue ! tcpserversink port=7001 host=0.0.0.0 recover-policy=keyframe sync-method=latest-keyframe
[receiver]
GST_DEBUG=3 gst-launch-1.0 tcpclientsrc port=7001 host=192.168.55.1 ! “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)1920, height=(string)1080, colorimetry=(string)SMPTE240M, payload=(int)96, a-framerate=(string)30” ! rtpvrawdepay ! queue ! nvvidconv ! nv3dsink -v
After I run the command on receiver, system shows some error messages such like as below…
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
0:00:00.145079136 7383 0xaaaae941fc00 FIXME default gstutils.c:3980:gst_pad_create_stream_id_internal:tcpclientsrc0:src Creating random stream-id, consider implementing a deterministic way of creating a stream-id
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: 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)1920, height=(string)1080, colorimetry=(string)SMPTE240M, payload=(int)96, ssrc=(uint)1632689860, timestamp-offset=(uint)831650250, seqnum-offset=(uint)12622, a-framerate=(string)30
/GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0.GstPad:src: caps = video/x-raw, format=(string)UYVY, width=(int)1920, height=(int)1080, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2, colorimetry=(string)bt709, framerate=(fraction)0/1
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw, format=(string)UYVY, width=(int)1920, height=(int)1080, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2, colorimetry=(string)bt709, framerate=(fraction)0/1
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw, format=(string)UYVY, width=(int)1920, height=(int)1080, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2, colorimetry=(string)bt709, framerate=(fraction)0/1
/GstPipeline:pipeline0/Gstnvvconv:nvvconv0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)0/1, format=(string)RGBA
/GstPipeline:pipeline0/GstNv3dSink:nv3dsink0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)0/1, format=(string)RGBA
/GstPipeline:pipeline0/Gstnvvconv:nvvconv0.GstPad:sink: caps = video/x-raw, format=(string)UYVY, width=(int)1920, height=(int)1080, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2, colorimetry=(string)bt709, framerate=(fraction)0/1
0:00:00.150519168 7383 0xaaaae941fc00 ERROR rtpbasedepayload gstrtpbasedepayload.c:623:gst_rtp_base_depayload_handle_event: Segment with non-TIME format not supported
0:00:00.150602240 7383 0xaaaae941fc00 ERROR rtpbasedepayload gstrtpbasedepayload.c:623:gst_rtp_base_depayload_handle_event: Segment with non-TIME format not supported
0:00:00.150669472 7383 0xaaaae941fc00 WARN basesrc gstbasesrc.c:3072:gst_base_src_loop: error: Internal data stream error.
0:00:00.150701056 7383 0xaaaae941fc00 WARN basesrc gstbasesrc.c:3072:gst_base_src_loop: error: streaming stopped, reason error (-5)
/GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0.GstPad:sink: 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)1920, height=(string)1080, colorimetry=(string)SMPTE240M, payload=(int)96, ssrc=(uint)1632689860, timestamp-offset=(uint)831650250, seqnum-offset=(uint)12622, a-framerate=(string)30
0:00:00.150818368 7383 0xaaaae941fc00 ERROR rtpbasedepayload gstrtpbasedepayload.c:623:gst_rtp_base_depayload_handle_event: Segment with non-TIME format not supported
0:00:00.150853376 7383 0xaaaae941fc00 ERROR rtpbasedepayload gstrtpbasedepayload.c:623:gst_rtp_base_depayload_handle_event: Segment with non-TIME format not supported
0:00:00.150883648 7383 0xaaaae941fc00 ERROR rtpbasedepayload gstrtpbasedepayload.c:623:gst_rtp_base_depayload_handle_event: Segment with non-TIME format not supported
ERROR: from element /GstPipeline:pipeline0/GstTCPClientSrc:tcpclientsrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstTCPClientSrc:tcpclientsrc0:
streaming stopped, reason error (-5)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to NULL …
Freeing pipeline …