# Input with multiple audio streams

**URL:** <https://community.wowza.com/t/input-with-multiple-audio-streams/37044>\
**Category:** Wowza Streaming Engine\
**Created:** [January 17, 2012, 7:14am UTC](https://community.wowza.com/t/input-with-multiple-audio-streams/37044 "2012-01-17T07:14:58Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Creese1](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@James\_Creese1](https://community.wowza.com/u/James_Creese1)\
**Post date:** [January 17, 2012, 7:14am UTC](https://community.wowza.com/t/input-with-multiple-audio-streams/37044/1 "2012-01-17T07:14:58Z")

</div>

Hi,

Is there any plans on the roadmap to facilitate an input stream with multiple audio languages, to encode the video once and then have multiple output streams, each with a different language audio? We’ve got an input stream with 5 languages and it seems a shame to transcode the video 5 times just to achieve different audio tracks.

Thanks

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 17, 2012, 3:23pm UTC](https://community.wowza.com/t/input-with-multiple-audio-streams/37044/2 "2012-01-17T15:23:16Z")

</div>

Yes, take a look at this article:

[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)

And these:

[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)

[https://www.wowza.com/docs/how-to-control-video-and-audio-pid-and-streamids-for-outgoing-mpeg-ts](https://www.wowza.com/docs/how-to-control-video-and-audio-pid-and-streamids-for-outgoing-mpeg-ts)

Richard

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [January 17, 2012, 1:30pm UTC](https://community.wowza.com/t/input-with-multiple-audio-streams/37044/3 "2012-01-17T13:30:18Z")

</div>

You can do this but you need to ingest and encode the stream separately for each video language combination. Turn on udp port sharing and use query params to select the video/audio pid for each combination.

Charlie

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 17, 2012, 3:33pm UTC](https://community.wowza.com/t/input-with-multiple-audio-streams/37044/4 "2012-01-17T15:33:42Z")

</div>

Sorry, I overlooked the category. I don’t think Wowza Transcoder supports multiple tracks at present.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 19, 2012, 9:18pm UTC](https://community.wowza.com/t/input-with-multiple-audio-streams/37044/5 "2012-01-19T21:18:21Z")

</div>

You would have to do multiple transcodes, one for each language you select in a .stream file or alias rule

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 6, 2012, 10:48am UTC](https://community.wowza.com/t/input-with-multiple-audio-streams/37044/6 "2012-10-06T10:48:19Z")

</div>

No, it hasn’t.

Richard

---

<div class="post-metadata">

**Author:** ![James\_Creese1](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@James\_Creese1](https://community.wowza.com/u/James_Creese1)\
**Post date:** [January 17, 2012, 7:28am UTC](https://community.wowza.com/t/input-with-multiple-audio-streams/37044/7 "2012-01-17T07:28:03Z")

</div>

Hi Richard,

Those links don’t seem to quite fit the bill. I have an incoming UDP stream with one video track and then N languages (let’s say english, french, and audio described), what I want to happen is for the transcoder to take the video track and the 3 audio tracks in, transcode them all and then be able to access each language independently e.g. rtmp://localhost/live/test.stream\_360p\_en, rtmp://localhost/live/test.stream\_360p\_fr, rtmp://localhost/live/test.stream\_360p\_ad I don’t believe this is currently possible?

Thanks

---

<div class="post-metadata">

**Author:** ![James\_Creese1](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@James\_Creese1](https://community.wowza.com/u/James_Creese1)\
**Post date:** [January 17, 2012, 2:51pm UTC](https://community.wowza.com/t/input-with-multiple-audio-streams/37044/8 "2012-01-17T14:51:08Z")

</div>

Hi Charlie,

Would this mean we’d have to transcode the video multiple times, or would we get away with transcoding the video once? (which is what I’m trying to achieve, to save CPU resources)

Thanks

---

<div class="post-metadata">

**Author:** ![Matt\_Youngblut](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@Matt\_Youngblut](https://community.wowza.com/u/Matt_Youngblut)\
**Post date:** [October 5, 2012, 3:49pm UTC](https://community.wowza.com/t/input-with-multiple-audio-streams/37044/9 "2012-10-05T15:49:54Z")

</div>

> Hi Charlie,
> 
> Would this mean we’d have to transcode the video multiple times, or would we get away with transcoding the video once? (which is what I’m trying to achieve, to save CPU resources)
> 
> Thanks

> You would have to do multiple transcodes, one for each language you select in a .stream file or alias rule
> 
> Richard

This hasn’t changed since January, by chance, has it?

---

<div class="post-metadata">

**Author:** ![Matt\_Youngblut](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@Matt\_Youngblut](https://community.wowza.com/u/Matt_Youngblut)\
**Post date:** [October 10, 2012, 3:43pm UTC](https://community.wowza.com/t/input-with-multiple-audio-streams/37044/10 "2012-10-10T15:43:56Z")

</div>

If I were to use PassThru for the transcoder audio settings and the inbound transport stream had two audio PIDs, would both pass through? If not, which PID would get selected? The first one defined in the PMT?
