Could you please suggest me a pipeline for srt client?
Lyam Witherow
lyamcwitherow at gmail.com
Mon Jan 2 19:59:17 UTC 2023
Hi,
Try either of the following.
gst-launch-1.0 -v srtsrc uri="srt://192.168.1.101:9866" ! decodebin !
videoconvert ! autovideosink sync=false
gst-launch-1.0 -v srtsrc uri="srt://192.168.1.101:9866" ! matroskademux !
decodebin ! autovideoconvert ! autovideosink sync=false
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.
Regards,
Lyam
On Mon, Jan 2, 2023 at 2:47 AM Marianna Smidth Buschle via gstreamer-devel <
gstreamer-devel at lists.freedesktop.org> wrote:
> Hi,
>
> I don't know if it will work for your pipeline, but this is what I have
> previously tried with SRT:
>
> - server:
>
> 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
>
> - client:
>
> gst-launch-1.0 -v srtsrc uri="srt://10.10.150.36:8888" ! decodebin !
> autovideosink
>
> Best Regards
> Marianna
>
> On 27.12.2022 21.42, gstreamer-devel-request at lists.freedesktop.org wrote:
>
> Message: 2
> Date: Tue, 27 Dec 2022 20:49:05 +0100
> From: <info at mbsoft.biz> <info at mbsoft.biz>
> To: "'Discussion of the development of and with GStreamer'"
> <gstreamer-devel at lists.freedesktop.org> <gstreamer-devel at lists.freedesktop.org>
> Subject: Could you please suggest me a pipeline for srt client?
> Message-ID: <008d01d91a2c$47645060$d62cf120$@mbsoft.biz> <008d01d91a2c$47645060$d62cf120$@mbsoft.biz>
> 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://192.168.1.101:9866?pkt_size=1316
>
> could you please suggest me a gstreamer pipeline that do the same of ffplay?
>
> Thank you
>
>
> --
> Best regards / Med venlig hilsen
> “Marianna Smidth Buschle”
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230102/dcccba9c/attachment.htm>
More information about the gstreamer-devel
mailing list