Streaming audio and video RTP

Patrick Cusack patrickcusack at mac.com
Wed Apr 29 05:38:01 UTC 2020


This is a new iteration on the script. I can send video successfully, but the audio does not register on my receiver.

gst-launch-1.0 \
        rtpbin name=rtpbin \
        filesrc location=starwars.mov ! qtdemux name=demux \
        demux.audio_0 ! decodebin ! audioconvert ! opusenc bandwidth=superwideband bitrate=96000 \
                ! rtpopuspay ! "application/x-rtp, media=(string)audio, clock-rate=(int)48000, encoding-name=(string)OPUS,payload=111"  ! rtpbin.send_rtp_sink_0 \
        demux.video_0 ! decodebin ! videoconvert ! x264enc tune=zerolatency speed-preset=1 dct8x8=true quantizer=25 pass=qual \
                ! rtph264pay ! "application/x-rtp,payload=(int)103,clock-rate=(int)90000"  ! rtpbin.send_rtp_sink_1 \
        rtpbin.send_rtp_src_0 ! udpsink host=www.myurl.com port=5052 sync=true async=false \
        rtpbin.send_rtcp_src_0 ! udpsink host=www.myurl.com port=5053 sync=false async=false \
        rtpbin.send_rtp_src_1 ! udpsink host=www.myurl.com port=5054 sync=true async=false \
        rtpbin.send_rtcp_src_1 ! udpsink host=www.myurl.com port=5055 sync=false async=false
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200428/12586c5d/attachment.htm>


More information about the gstreamer-devel mailing list