[Bug 785730] New: proposal for new SRT src/sink elements

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Aug 2 12:48:51 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=785730

            Bug ID: 785730
           Summary: proposal for new SRT src/sink elements
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: justin.joy.9to5 at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

SRT is another type of UDP-based protocol that optimizes streaming across
unpredictable networks. The SRT library is developing in
github(https://github.com/Haivision/srt).

I created an initial version of srtsrc and srtsink. Although the protocol is
based on UDP, the APIs look like connection oriented protocol so in my initial
version, srtsrc is a client, srtsink is a server.

I tested streaming by the below pipeline.

For srtsink, I couldn't find a proper TS file so I just transcoded sintel
trailer.

 gst-launch-1.0 -v \
    filesrc location=~/trailer.mp4 \
    ! decodebin name=d d. ! vaapih264enc ! queue ! mpegtsmux name=mux !
rtpmp2tpay ! srtsink \
    d. ! avenc_ac3 ! mux.


 gst-launch-1.0 -v \
    srtsrc uri="srt://127.0.0.1:7001" \
    caps="application/x-rtp, media=(string)video, clock-rate=(int)90000,
encoding-name=(string)MP2T" \
    ! rtpmp2tdepay ! decodebin name=d d. ! autovideosink sync=false d. !
autoaudiosink sync=false

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list