FFmpeg RTSP send audio stream to Wowza

0

1

I am trying to send an audio-stream to my Wowza Cloud Service (trial account) using RTSP. This works fine using LibStreamer library for Android.

I am now trying to do the same with FFmpeg on my desktop streaming my webcam's audio.

I have tried the following command (authentication disabled on Wowza):

ffmpeg -f dshow -re -i audio="Desktop Microphone (HD-3000 - Microsoft LifeCam.)" -acodec aac -strict -2 -f rtsp -muxdelay 0.1 rtsp://52.57.81.141:1935/app-xxx/yyyyyy

FFmpeg seems to do its thing however I would have expected that the webconsole of Wowza would show "connected" when receiving the stream from FFMpeg.

Any ideas? It might actually be a problem with Wowza but I checked their forum and I couldn't find any post describing my problem.

moster67

Posted 2017-04-03T08:02:51.470

Reputation: 145

Answers

0

Well, it turned out that I needed to include H264 and then I got it working. Below command works although it includes video parameters which is not what I want but it does connect and stream audio.

ffmpeg -f dshow -re -i audio="Desktop Microphone (HD-3000 - Microsoft LifeCam.)" -c:v libx264 -profile:v baseline -level 3.0 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -vb 310k -c:a aac -ab 40k -ar 44100 -ac 2 -f rtsp -muxdelay 0.1 rtsp://wowza-ipaddress:1935/app-xxx/yyyyyy

moster67

Posted 2017-04-03T08:02:51.470

Reputation: 145