obs-gstreamer

obs-gstreamer 0.4.1

vodamerc

New Member
Ok, I am getting somewhere. The following pipeline works with gst-launch directly, but not in OBS. I just get no picture.

gst-launch-1.0 -v srtsrc uri="srt://xxxxxx.xxxxxxxx:8890?streamid=xxxxxx" ! decodebin name=bin ! capssetter caps="video/x-raw,format=NV12,colorimetry=bt709" ! queue ! autovideosink

The pipeline I'm using in OBS is:

srtsrc uri="srt://xxxxxx.xxxxxxxx:8890?streamid=xxxxxx" ! decodebin name=bin ! capssetter caps="video/x-raw,format=NV12,colorimetry=bt709" ! queue ! video.

Unfortunately doesnt work. However it works the moment I take out the capssetter.

Same issue with RTSP:

rtspsrc location=srt://xxxxxx.xxxxxxxx:8890?streamid=xxxxxx latency=200 ! queue ! rtph265depay ! h265parse ! d3d11h265dec ! capssetter caps="video/x-raw,format=NV12,colorimetry=bt709" ! video.
 

vodamerc

New Member
Disregard rtsp url being wrong above. That was me masking it for the forum incorrectly.

OBS log is showing: 15:53:59.823: [obs-gstreamer] GStreamer Source: Internal data stream error.

What I don't understand is why it works flawlessly via GST-Launch.
 

vodamerc

New Member
Sorry for the spam, but here's the GST Debug 3 output


Code:
0:06:25.029661000 30920 000001CB6E5DBF00 WARN                  srtsrc gstsrtsrc.c:227:gst_srt_src_fill:<srtsrc4> discont detected 1096517083 (expected: 0)
0:06:26.608852600 30920 000001CB6E5DB040 WARN           basetransform gstbasetransform.c:1373:gst_base_transform_setcaps:<video> transform could not transform video/x-raw(memory:D3D11Memory), format=(string)NV12, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, framerate=(fraction)2997/100 in anything we support
0:06:26.608906000 30920 000001CB6E5DB040 WARN           basetransform gstbasetransform.c:1373:gst_base_transform_setcaps:<video> transform could not transform video/x-raw(memory:D3D11Memory), format=(string)NV12, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, framerate=(fraction)2997/100 in anything we support
0:06:26.608922900 30920 000001CB6E5DB040 WARN                GST_PADS gstpad.c:4392:gst_pad_peer_query:<queue4:src> could not send sticky events
0:06:26.610052200 30920 000001CB6E5DB040 WARN           basetransform gstbasetransform.c:1373:gst_base_transform_setcaps:<video> transform could not transform video/x-raw(memory:D3D11Memory), format=(string)NV12, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, framerate=(fraction)2997/100 in anything we support
0:06:26.610074900 30920 000001CB6E5DB040 WARN                GST_PADS gstpad.c:4392:gst_pad_peer_query:<queue4:src> could not send sticky events
0:06:26.634029600 30920 000001CB6E5DB040 WARN           basetransform gstbasetransform.c:1373:gst_base_transform_setcaps:<video> transform could not transform video/x-raw(memory:D3D11Memory), format=(string)NV12, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, framerate=(fraction)2997/100 in anything we support
0:06:26.634084300 30920 000001CB6E5DB040 WARN           basetransform gstbasetransform.c:1373:gst_base_transform_setcaps:<video> transform could not transform video/x-raw(memory:D3D11Memory), format=(string)NV12, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, framerate=(fraction)2997/100 in anything we support
0:06:26.634128600 30920 000001CB6E5DB040 WARN           basetransform gstbasetransform.c:1373:gst_base_transform_setcaps:<video> transform could not transform video/x-raw(memory:D3D11Memory), format=(string)NV12, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, framerate=(fraction)2997/100 in anything we support
0:06:26.634166600 30920 000001CB6E5DB040 WARN           basetransform gstbasetransform.c:1373:gst_base_transform_setcaps:<video> transform could not transform video/x-raw(memory:D3D11Memory), format=(string)NV12, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, framerate=(fraction)2997/100 in anything we support
0:06:26.634204200 30920 000001CB6E5DB040 WARN           basetransform gstbasetransform.c:1373:gst_base_transform_setcaps:<video> transform could not transform video/x-raw(memory:D3D11Memory), format=(string)NV12, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, framerate=(fraction)2997/100 in anything we support
0:06:26.650749600 30920 000001CB6E5DBF00 WARN                 basesrc gstbasesrc.c:3177:gst_base_src_loop:<srtsrc4> error: Internal data stream error.
0:06:26.650784200 30920 000001CB6E5DBF00 WARN                 basesrc gstbasesrc.c:3177:gst_base_src_loop:<srtsrc4> error: streaming stopped, reason not-negotiated (-4)
 
Top