live stream with multiple audio language

Hi, i have find in forum this post

https://www.wowza.com/docs/how-to-select-audio-data-and-or-video-channel-from-a-multi-channel-mp4-file-by-using-imediareaderactionnotify

https://www.wowza.com/docs/how-to-select-mpeg-ts-stream-by-program-id-and-also-audio-language-by-pid

can you suggest me a software that support multi audio track encoder in the same video stream?

i like to keep the video transcoder support as much as possible.

thanks to all

i like to find such a solution too!

operation should be done in transcoder…demuxing stereo audio and video and remuxing with other languages coming in as separate streams… so you can use any encoder for main stream an get all different streams available…

i hate to do that… but wowza programers can have a look to competition…: http://www.realnetworks.com/helix/helix-server-extensions.aspx

look for Multi-Track… sarry but i realy dream to see such option into wowza!

Good luck!

Daniel

You can do it with FFMPEG outside of Wowza – just combine separate video and audio streams into one new stream for each language you want:

You may also be able to use FFMPEG to combine your video stream and multiple audio streams into one single MPEG-TS stream, then just select different audio tracks for playback with different “.stream” files in Wowza (as described in wifisolution’s second link above). I have not tried this method, though. Instructions for FFMPEG as Wowza MPEG-TS encoder here:

You can do it with FFMPEG outside of Wowza – just combine separate video and audio streams into one new stream for each language you want:

Wowza multiple Live audio with video streaming.

You may also be able to use FFMPEG to combine your video stream and multiple audio streams into one single MPEG-TS stream, then just select different audio tracks for playback with different “.stream” files in Wowza (as described in wifisolution’s second link above). I have not tried this method, though. Instructions for FFMPEG as Wowza MPEG-TS encoder here:

Use FFmpeg to live stream with Wowza Streaming Engine

the latter solution works very well:

  1. ingest mpeg-ts over udp ==> to wowza

e.g. free solution is to use ffmpeg:

ffmpeg -i input -map 0:0 (encoding parameters for video) -map 0:1 (encoding parameters for audio) language=eng -map 0:2 language=fre (as many -map as audio tracks) -f mpegts udp://[server IP]:[port]?pkt_size=1316

  1. create stream files for each language specifying the video PID, audio PID or language, with URI: udp://localhost:[port]

The stream files can then be called by a player.

If the player loads a playlist with the streams, one can then select each language.

wowza has options for improving the udp (jitter buffer etc, search for tutorials for mpeg-ts among the articles).

We have devised another solution since we’re not interested in real time applications but rather on the reliability of the streams;

we encode with ffmpeg in tcp.

Then on the server we start an ffmpeg listener per:

ffmpeg -i tcp://[server IP]:[ingest port] -map 0:0 -vcodec copy -map 0:1 -acodec copy (etc for each audio channel) - mpegts udp://localhost:[port indicated in stream files on wowza, may differ from ingest port]?pkt_size=1316

The listener must be started before the encoder.

Since the tcp listener is on the same server as wowza, this minimizes packet loss.

We have solved this issue by using a encoder that can use TS and then embed’s the existing DVB based subtitles within the video stream. If you would like some info, we can supply.