rtmpsrc will stuck if the stream does not have audio track

leeoxiang leeoxiang at gmail.com
Mon Jul 8 05:44:58 UTC 2019


Hi,  I am using rtmpsrc  and flvdemux to demux the rtmp stream and then send
video and audio with udp ,

My src stream does not have audio track sometimes,  in this case,  it will
stuck the pipeline.

Anyone can help me with this?

```
gst-launch-1.0 -v rtmpsrc location=rtmp://localhost/live/stream  ! flvdemux
name=demux demux.audio ! queue ! decodebin ! audioconvert ! audioresample !
opusenc ! rtpopuspay timestamp-offset=0  ! udpsink  host=127.0.0.1 port=5000
demux.video! queue ! h264parse ! rtph264pay timestamp-offset=0
config-interval=-1  ! udpsink  host=127.0.0.1 port=5002
``





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list