# Mpegts sub enabling?

**URL:** <https://community.wowza.com/t/mpegts-sub-enabling/52742>\
**Category:** Wowza Streaming Engine\
**Tags:** transcoder, encoder\
**Created:** [January 24, 2019, 5:09pm UTC](https://community.wowza.com/t/mpegts-sub-enabling/52742 "2019-01-24T17:09:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![serdal\_bozkurt](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@serdal\_bozkurt](https://community.wowza.com/u/serdal_bozkurt)\
**Post date:** [January 24, 2019, 5:09pm UTC](https://community.wowza.com/t/mpegts-sub-enabling/52742/1 "2019-01-24T17:09:15Z")

</div>

Hi, i have some mpegts streams in http format that have multiply audio and sub tracks, how do i force wowza to only use 1 of each ? so that theres only 1 audio and sub track, and is it possible to “force” the sub to allow be on?

When i select a one of my stream and click edit i have the “advanced” option where i can change the aduio with this function:

mpegtsAudioPID but where do i get the PID from, is there a way that wowza show available PID ?

---

<div class="post-metadata">

**Author:** ![serdal\_bozkurt](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@serdal\_bozkurt](https://community.wowza.com/u/serdal_bozkurt)\
**Post date:** [February 1, 2019, 9:57am UTC](https://community.wowza.com/t/mpegts-sub-enabling/52742/2 "2019-02-01T09:57:31Z")

</div>

anyone?. can it really be that no one is using wowza with mpegts and sub?

where do i define the SUB that i want… just like the audio

---

<div class="post-metadata">

**Author:** ![Emre\_Karatasoglu\_Adv](https://avatars.discourse-cdn.com/v4/letter/e/0ea827/32.png) [@Emre\_Karatasoglu\_Adv](https://community.wowza.com/u/Emre_Karatasoglu_Adv)\
**Post date:** [February 1, 2019, 6:18pm UTC](https://community.wowza.com/t/mpegts-sub-enabling/52742/3 "2019-02-01T18:18:54Z")

</div>

Hi Serdal, please correct me if I’m misunderstood. You have streams that have multiple audio & subtitles right ?

Lots of player ( jw & bitmovin player, maybe wowza player also ) support selecting audio channels but first you need to implement this module  
[https://www.wowza.com/docs/how-to-select-multiple-tracks-from-a-vod-file-modulemultitrackvod](https://www.wowza.com/docs/how-to-select-multiple-tracks-from-a-vod-file-modulemultitrackvod)

then you need to pass audioindex parameter, actually

it is for vod however live stream might work.

For multiple subtitle wowza has closed caption support you can also use wowzacaptionlanguages query string for request, but I generally use & suggest handling subtitle on player side.

If you want to detect which audio index represent which language, then you have to develop wowza module or you can look the audio map ( channels ) with ffmpeg, for more info maybe hiring consultant work for you 😉 In addition you can check this post also [https://www.wowza.com/docs/how-to-specify-per-stream-settings-in-stream-files](https://www.wowza.com/docs/how-to-specify-per-stream-settings-in-stream-files)
