Page 1 of 1

Add audio to exist online rtsp audio stream

Posted: Thu Aug 08, 2019 6:53 am
by vasyldmytruk
I am streaming silence audio to wowza:

Code: Select all

ffmpeg -re -f lavfi -i anullsrc=r=48000:cl=mono -acodec libopus -compression_level 10 -f rtsp "rtsp://"
It creates on wowza Active Stream audio with rtsp url rtsp://

And I want to add to this stream short audio from wav file (many times). I tried:

Code: Select all

ffmpeg -re -i test.wav -acodec libopus -compression_level 10 -f rtsp "rtsp://"
But it doesn't work.

Is any way to stream silence and interrupt this silence with another audio from wav files?

Thanks in advance!