We’re using shoutcast for sending audio streams seperatelly from the server to our clients and we want to integrate all audio streams (2-5 languages…) into the wowza player. Is there any news about how to solve this?, besides what was already posted in this thread?
i am talking about multiple audio streams for a livestream, is your link also suitable for this?
Why is “a stream with multiple channels” not what i am asking for?
But that is surely somehow possible, no?
I investigated this deeply and ended finding a solution that is basically free and very easy without a component or anything fancy.
Setup a ffmpeg job on your server, the ffmpeg job should probably be per language you want to support.
The syntax is:
ffmpeg -itsoffset -5 -i “rtmp://127.0.0.1/live/StreamA.sdp live=1” -i “rtmp://127.0.0.1/live/StreamB.sdp live=1” -vcodec copy -acodec copy -shortest -f flv -map 0:0 -map 1:0 rtmp://127.0.0.1/live/StreamC.sdp
In my case I am using Wirecast for the first video+audio broadcast (StreamA.sdp) and flash media live encoder for StreamB which is just the translators voice.
The result of this is a new stream, StreamC which has the video of StreamA + the Audio of StreamB. the itsoffset is a parameter you can play with to give your translator some delay.
I am trying to add additional audio tracks to the video like many languages:
ffmpeg -i “F:\Video.mp4″ -i “F:\Audio.MP3″ -vcodec copy -acodec copy -shortest -f flv -map 0:0 -map 1:0 rtmp://IP/input.stream
But at the output I get the video without original audio with only mp3 audio, I cannot choose the audio track (original or additional mp3). Where could be the problem?