# Live Streaming: Split 1 video with 16 audio into 16 unique video (each with 1 audio) and push to YT + FB ?

**URL:** <https://community.wowza.com/t/live-streaming-split-1-video-with-16-audio-into-16-unique-video-each-with-1-audio-and-push-to-yt-fb/48600>\
**Category:** Wowza Streaming Engine\
**Created:** [April 25, 2017, 9:14am UTC](https://community.wowza.com/t/live-streaming-split-1-video-with-16-audio-into-16-unique-video-each-with-1-audio-and-push-to-yt-fb/48600 "2017-04-25T09:14:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdul\_rauf](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@abdul\_rauf](https://community.wowza.com/u/abdul_rauf)\
**Post date:** [April 25, 2017, 9:14am UTC](https://community.wowza.com/t/live-streaming-split-1-video-with-16-audio-into-16-unique-video-each-with-1-audio-and-push-to-yt-fb/48600/1 "2017-04-25T09:14:14Z")

</div>

We have SDI input using Black Magic studio express, using just one source stream with 1 video + 16 audio channels, we want to push this stream as 16 frigging video streams. is it possible to split this video with 16 audio into 16 unique video (each with 1 audio) and push to YT + FB ?

---

<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:** [April 25, 2017, 8:52pm UTC](https://community.wowza.com/t/live-streaming-split-1-video-with-16-audio-into-16-unique-video-each-with-1-audio-and-push-to-yt-fb/48600/2 "2017-04-25T20:52:48Z")

</div>

yes it is possible; I pushed to 24 streamtargets in Youtube live + facebook live + dailymotion without issues.

I am assuming that you don’t want to split audio from video and remux at the onsite production but achieve that at the dedicated server running your wowza server.

Reason is you want of course to save your bandwidth.

So as pre-requisite:

1. encode your capture locally in mpeg-ts using either hardware or software (cheapest way is to use ffmpeg but it does not have any advanced network capabitlity) and stream it either in udp or tcp.

I am assuming you know how to encode in mpeg-ts and are familiar with pid, programs etc … If not , google or hire someone.

there are then several possibilities:

1. if using udp, stream directly to wowza using:

[https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder](https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder)

Then check here:

[https://www.wowza.com/docs/How-to-specify-per-stream-settings-in-stream-files#mpegtsstreams](https://www.wowza.com/docs/How-to-specify-per-stream-settings-in-stream-files#mpegtsstreams)

You want to create as many stream files as you have audio channels.

In each one , the language will be specified either by: mpegtsAudioPID or mpegtsAudioLanguage

(depending on how you have created your mpeg-ts stream); don’t forget to specify the mpegtsVideoPID.

Each of the stream file is now a new stream which can be pushed using the stream targets capability of wowza.

1. second option, if you use tcp:

wowza can pull a tcp stream , check:

[https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-over-tcp-ip](https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-over-tcp-ip)

What is unclear in the tutorial is that your encoder should not push to wowza; rather wowza pulls from it.

In other words your encoder should act as a server. ffmpeg is able to do that.

The rest is as in option (1)

1. option 3 which is the one I routinely use:

I push a tcp mpeg-ts stream to an intermediate tcp listener (ffmpeg) which remuxes with no re-encodes in 16 rtmp pushed to wowza

The difference with option (2) is that the mpeg-ts stream is pushed in tcp to wowza and not pulled from encoder to wowza. It’s simpler to setup.

The pointers I’ve provided should be enough but if you don’t manage it, consider hiring someone to help you for that. If you’re interested PM me so that I can put you in touch with someone knowledgeable who can set it up for you for a reasonable fee. We reached 1.2 million people on a two hour talk on facebook live in 9 languages pushed at the same time on dalilymotion + youtube.

---

<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:** [April 26, 2017, 8:17pm UTC](https://community.wowza.com/t/live-streaming-split-1-video-with-16-audio-into-16-unique-video-each-with-1-audio-and-push-to-yt-fb/48600/3 "2017-04-26T20:17:23Z")

</div>

1. another option is to encode locally all audio channels into independent rtmp streams; they have to be in sync (this is the difficult thing). The video is encodec with one language as rtmp stream

One can then use the AVMix module:

[https://www.wowza.com/docs/how-to-mix-audio-and-video-from-different-live-sources-moduleavmix](https://www.wowza.com/docs/how-to-mix-audio-and-video-from-different-live-sources-moduleavmix)

This allows to remux audio and video into 16 rtmp streams with both video and audio

I also use this method routinely; works extremely well

---

<div class="post-metadata">

**Author:** ![abdul\_rauf](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@abdul\_rauf](https://community.wowza.com/u/abdul_rauf)\
**Post date:** [April 27, 2017, 11:21am UTC](https://community.wowza.com/t/live-streaming-split-1-video-with-16-audio-into-16-unique-video-each-with-1-audio-and-push-to-yt-fb/48600/4 "2017-04-27T11:21:31Z")

</div>

[@kv pham](http://community.wowza.com/community/questions/43376/live-streaming-split-1-video-with-16-audio-into-16.html#)

Thanks for the answers. I appreciate it 🙂

Basically we are trying mpeg dash as a hack to deal with inconsistent upstream,

so **mpeg dash =\> mpeg ts =\> wowza =\> yt + fb channels ,** did you happen to work with mpeg dash?

Also, can you please introduce to the guy? I can be reached on ‘abdulraufhaseeb[at]gmail’

---

<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:** [April 28, 2017, 9:21am UTC](https://community.wowza.com/t/live-streaming-split-1-video-with-16-audio-into-16-unique-video-each-with-1-audio-and-push-to-yt-fb/48600/5 "2017-04-28T09:21:19Z")

</div>

if you use mpeg-ts tcp, packet loss is much less an issue ;

so no , I never used mpeg dash on the encoder side. It’s much simpler to encode directly in mpeg-ts.

Don’t understand how mpeg-dash would help.

I’ll email you the email of the consultant who worked with me on this setup.

---

<div class="post-metadata">

**Author:** ![Jeffrey\_Yim](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@Jeffrey\_Yim](https://community.wowza.com/u/Jeffrey_Yim)\
**Post date:** [January 19, 2018, 12:56pm UTC](https://community.wowza.com/t/live-streaming-split-1-video-with-16-audio-into-16-unique-video-each-with-1-audio-and-push-to-yt-fb/48600/6 "2018-01-19T12:56:55Z")

</div>

Please can you also introduce the consultant to me as I would also like to do the same setup.

---

<div class="post-metadata">

**Author:** ![Jeffrey\_Yim](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@Jeffrey\_Yim](https://community.wowza.com/u/Jeffrey_Yim)\
**Post date:** [January 20, 2018, 3:49am UTC](https://community.wowza.com/t/live-streaming-split-1-video-with-16-audio-into-16-unique-video-each-with-1-audio-and-push-to-yt-fb/48600/7 "2018-01-20T03:49:12Z")

</div>

@kv pham

Please can you also introduct the consultant to me as I would aslo like to do a similar setup with Wowza.

Thanks,

Jeffrey Yim
