Sending Audio and Video over RTMP
Patrick Cusack
patrickcusack at mac.com
Wed Jun 10 19:28:09 UTC 2020
I am sending a decklink signal (audio and video) to an RTMP server. I can send the video fine, but the audio does not come through. I am confident that the audio is properly routed. Would anything in my script explain why the audio isn’t muxed into my stream?
RTMP_DEST=rtmp://www.myaddress.com:1935/live/stream1
gst-launch-1.0 \
decklinkvideosrc device-number=0 mode=1080p2398 connection=sdi \
! videoconvert \
! videorate \
! x264enc speed-preset=veryfast tune=zerolatency bitrate=2000 \
! video/x-h264, profile=baseline \
! queue \
! flvmux name=mux \
! rtmpsink location=$RTMP_DEST
decklinkaudiosrc device-number=0 \
! audioconvert \
! audioresample \
! audio/x-raw,channels=2,rate=48000 \
! voaacenc bitrate=128000 \
! audio/mpeg \
! aacparse \
! audio/mpeg, mpegversion=4 \
! mux.
More information about the gstreamer-devel
mailing list