<div dir="ltr">Hi,<br><br>Try either of the following.<br><br>gst-launch-1.0 -v srtsrc uri="srt://<a href="http://192.168.1.101:9866">192.168.1.101:9866</a>" ! decodebin ! videoconvert ! autovideosink sync=false<br>gst-launch-1.0 -v srtsrc uri="srt://<a href="http://192.168.1.101:9866">192.168.1.101:9866</a>" ! matroskademux ! decodebin ! autovideoconvert ! autovideosink sync=false<br><br>Note: if I use "srtsink uri=srt://:9866 latency=0 wait-for-connection=false" then gstreamer at the client side has a bit of a problem since it decodes corrupted frames up until the first keyframe, while ffplay has no issues. Setting autovideosync sync=true for me causes gstrreamer to only output keyframes once it gets the first one.<br><br>Regards,<br><br>Lyam</div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 2, 2023 at 2:47 AM Marianna Smidth Buschle via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Hi,</p>
<p>I don't know if it will work for your pipeline, but this is what
I have previously tried with SRT:</p>
<p>- server: <br>
</p>
<p><code>gst-launch-1.0 -v videotestsrc ! video/x-raw, height=1080,
width=1920 ! videoconvert ! x264enc tune=zerolatency !
video/x-h264, profile=high ! mpegtsmux ! srtsink uri=srt://:8888</code></p>
<p>- client:</p>
<p><code>gst-launch-1.0 -v srtsrc uri="srt://<a href="http://10.10.150.36:8888" target="_blank">10.10.150.36:8888</a>" !
decodebin ! autovideosink</code></p>
<div><br>
</div>
<div>Best Regards</div>
<div>Marianna<br>
</div>
<div><br>
</div>
<div>On 27.12.2022 21.42,
<a href="mailto:gstreamer-devel-request@lists.freedesktop.org" target="_blank">gstreamer-devel-request@lists.freedesktop.org</a> wrote:<br>
</div>
<blockquote type="cite">
<pre>Message: 2
Date: Tue, 27 Dec 2022 20:49:05 +0100
From: <a href="mailto:info@mbsoft.biz" target="_blank"><info@mbsoft.biz></a>
To: "'Discussion of the development of and with GStreamer'"
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank"><gstreamer-devel@lists.freedesktop.org></a>
Subject: Could you please suggest me a pipeline for srt client?
Message-ID: <a href="mailto:008d01d91a2c$47645060$d62cf120$@mbsoft.biz" target="_blank"><008d01d91a2c$47645060$d62cf120$@mbsoft.biz></a>
Content-Type: text/plain; charset="utf-8"
Hi all,
i have an srtserver created with this pipeline:
gst-launch-1.0.exe -v d3d11screencapturesrc capture-api=1 window-handle=68614 crop-x=4 crop-y=26 ! queue ! videoconvert ! videoscale ! video/x-raw, height=720 ! mfh264enc bitrate=1024 low-latency=true rc-mode=0 ! h264parse ! matroskamux streamable=true ! srtsink uri=srt://:9866 latency=0
it works perfectly.
I can play it with ffplay with:
ffplay.exe -analyzeduration 0 -probesize 32 -fflags nobuffer -fflags discardcorrupt -flags low_delay -framedrop -sync ext -vf setpts=0 -i srt://<a href="http://192.168.1.101:9866?pkt_size=1316" target="_blank">192.168.1.101:9866?pkt_size=1316</a>
could you please suggest me a gstreamer pipeline that do the same of ffplay?
Thank you
</pre>
</blockquote>
<pre cols="72">--
Best regards / Med venlig hilsen
“Marianna Smidth Buschle”</pre>
</div>
</blockquote></div>