# live stream with multiple audio language

**URL:** <https://community.wowza.com/t/live-stream-with-multiple-audio-language/34343>\
**Category:** Wowza Streaming Engine\
**Created:** [April 10, 2013, 10:27am UTC](https://community.wowza.com/t/live-stream-with-multiple-audio-language/34343 "2013-04-10T10:27:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefano\_Ravara](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@Stefano\_Ravara](https://community.wowza.com/u/Stefano_Ravara)\
**Post date:** [April 10, 2013, 10:27am UTC](https://community.wowza.com/t/live-stream-with-multiple-audio-language/34343/1 "2013-04-10T10:27:09Z")

</div>

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-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](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

---

<div class="post-metadata">

**Author:** ![Daniel\_Tremblay](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@Daniel\_Tremblay](https://community.wowza.com/u/Daniel_Tremblay)\
**Post date:** [April 10, 2013, 5:21pm UTC](https://community.wowza.com/t/live-stream-with-multiple-audio-language/34343/2 "2013-04-10T17:21:23Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![Jim\_Sustacek](https://avatars.discourse-cdn.com/v4/letter/j/b487fb/32.png) [@Jim\_Sustacek](https://community.wowza.com/u/Jim_Sustacek)\
**Post date:** [April 11, 2013, 12:18pm UTC](https://community.wowza.com/t/live-stream-with-multiple-audio-language/34343/3 "2013-04-11T12:18:48Z")

</div>

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.](http://community.wowza.com/t/-/35752):
>
> Dear Wowza team, We are going to cover a live event. We have arranged a Axis camera [Q6035-e-PTZ], which will provide us HD H.264 video feed. Now we will have three different audio feed coming in different language. We want to combine each audio feed with same video feed and have 3 output as Live Video||Live Audio 1, Live Video||Live Audio 2,Live Video||Live Audio 3. Can we create some kind of setup like this wowza server. Please let me know the possibility of combining it with 3rd software …

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](https://www.wowza.com/docs/how-to-live-stream-using-ffmpeg-with-wowza-streaming-engine)**
>
> Use FFmpeg as a live encoder with Wowza Streaming Engine.

---

<div class="post-metadata">

**Author:** ![kv\_pham](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kv\_pham](https://community.wowza.com/u/kv_pham)\
**Post date:** [December 9, 2015, 11:08pm UTC](https://community.wowza.com/t/live-stream-with-multiple-audio-language/34343/4 "2015-12-09T23:08:54Z")

</div>

> 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.](http://community.wowza.com/t/-/35752)
> 
> 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](https://www.wowza.com/docs/how-to-use-ffmpeg-with-wowza-media-server-mpeg-ts)

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.

---

<div class="post-metadata">

**Author:** ![Jan-Pieter\_Gerritsen](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@Jan-Pieter\_Gerritsen](https://community.wowza.com/u/Jan-Pieter_Gerritsen)\
**Post date:** [April 11, 2013, 9:39am UTC](https://community.wowza.com/t/live-stream-with-multiple-audio-language/34343/5 "2013-04-11T09:39:17Z")

</div>

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.
