# SRT to RTMP multitrack audio

**URL:** <https://community.wowza.com/t/srt-to-rtmp-multitrack-audio/92192>\
**Category:** Wowza Streaming Engine\
**Tags:** wowza-streaming-server-java-api\
**Created:** [October 23, 2020, 10:48am UTC](https://community.wowza.com/t/srt-to-rtmp-multitrack-audio/92192 "2020-10-23T10:48:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martyn\_Gilbert](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@Martyn\_Gilbert](https://community.wowza.com/u/Martyn_Gilbert)\
**Post date:** [October 23, 2020, 10:48am UTC](https://community.wowza.com/t/srt-to-rtmp-multitrack-audio/92192/1 "2020-10-23T10:48:30Z")

</div>

Hello,

I have multitrack SRT sources being streamed into Wowza Streaming Engine.  
I need to make these available as **RTMP** this is working perfectly for the first audio track but the rest of the audio tracks are lossed from the RTMP output.

How can I include all input audio tracks in my RTMP outputs?

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [October 23, 2020, 7:29pm UTC](https://community.wowza.com/t/srt-to-rtmp-multitrack-audio/92192/2 "2020-10-23T19:29:48Z")

</div>

Can you provide more info? Is this a multi-track audio for the same video? Audio only? Are you using a smil file or schedule? We’d like to have a better understanding of the workflow and how you have it set up. Thanks.

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [October 23, 2020, 8:17pm UTC](https://community.wowza.com/t/srt-to-rtmp-multitrack-audio/92192/3 "2020-10-23T20:17:41Z")

</div>

Are the tracks identified by PID? In that case you could maybe enable UDP sharing, and create multiple .stream files that listen to the same port but different PIDs. Just a guess, it’s been a while since I tested that and I don’t remember the exact test results.

---

<div class="post-metadata">

**Author:** ![Martyn\_Gilbert](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@Martyn\_Gilbert](https://community.wowza.com/u/Martyn_Gilbert)\
**Post date:** [October 24, 2020, 1:59pm UTC](https://community.wowza.com/t/srt-to-rtmp-multitrack-audio/92192/4 "2020-10-24T13:59:26Z")

</div>

My use case is actually very straight forward.  
I have SRT sources (mpegts) that contain 8 audio pids.  
These are received in Wowza.  
These are then made available as they are, no transcoding no audio mapping required just RTMP stream containing video pid and all 8 audio pids.

The suggestion to create multiple stream files won’t work for me as I really need a single stream that contains all the input audio pids for the downstream application to switch between.

Essentially Im looking for a basic SRT (Containing mpegts) to RTMP passthrough with no processing.

Many thanks

---

<div class="post-metadata">

**Author:** ![Egbert\_Williams](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/egbert_williams/32/453_2.png) [@Egbert\_Williams](https://community.wowza.com/u/Egbert_Williams)\
**Post date:** [October 25, 2020, 2:50am UTC](https://community.wowza.com/t/srt-to-rtmp-multitrack-audio/92192/5 "2020-10-25T02:50:38Z")

</div>

@Martyn_Gilbert Can I ask what encoder did you use to create the SRT stream?

---

<div class="post-metadata">

**Author:** ![Martyn\_Gilbert](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@Martyn\_Gilbert](https://community.wowza.com/u/Martyn_Gilbert)\
**Post date:** [October 25, 2020, 6:34am UTC](https://community.wowza.com/t/srt-to-rtmp-multitrack-audio/92192/6 "2020-10-25T06:34:38Z")

</div>

@Egbert_Williams I’m using ffmpeg to generate the srt.

---

<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:** [November 5, 2020, 4:33pm UTC](https://community.wowza.com/t/srt-to-rtmp-multitrack-audio/92192/7 "2020-11-05T16:33:38Z")

</div>

I had made a feature request on this forum.: [srt stream file : enable all mpegts options](http://community.wowza.com/t/srt-stream-file-enable-all-mpegts-options/51352)  
With mpegts + udp, pid selection works fine.  
With mpegts + srt, it works on nimble server. But not on wowza which is disappointing.
