I am taking in a live audio source, converting it to mp3 with ffmpeg, and pushing that stream to Wowza. I have followed all the examples with live streaming and used the recommended Application.xml configurations. However, I cannot play the stream from Wowza.
If I stream a video source such as the following:
ffmpeg -y -f video4linux2 -async 1 -i /dev/video0 -f alsa -ac 2 -ar 44100 -b:a 64k -i hw:0,0 -c:a aac -strict -2 -b:v 800k -g 15 -s 1280x720 -c:v libx264 -f flv rtmp://myip:1935/live/mp4:test
it works just fine.
But if I take out everything but the audio and switch to mp3 like so:
ffmpeg -y -f alsa -ac 2 -ar 44100 -b:a 64k -i hw:0,0 -c:a mp3 -strict -2 -f mp3 rtmp://myip:1935/live/mp3:test
I receive a “dead stream” or “no source” when trying to play it.
Any ideas?