Rank: Advanced Member
Groups: Registered
Joined: 8/11/2018(UTC) Posts: 60 Thanks: 33 times Was thanked: 6 time(s) in 6 post(s)
|
Hi,
I searched the forum so far, but wonder if anyone has additional experience. We want to stream to Azure Media Services, which works fine
For the next live event, we have the requirement to send multiple audio tracks (for different languages), which vMix does not support out of the box?
Any suggestions on how accomplish it with vMix 23 with some workaround?
Thanks, Thomas
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Click the gear icon of the stream quality setting and choose the Video Source AND/OR Audio Channel
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/11/2018(UTC) Posts: 60 Thanks: 33 times Was thanked: 6 time(s) in 6 post(s)
|
Thanks, but that wont get me multiple tracks, so users can select which track they want to listen to, only one mixed track.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 4/23/2017(UTC) Posts: 1,214 Location: Germany Thanks: 3 times Was thanked: 168 time(s) in 150 post(s)
|
This requires a complete solution from ingest over CDN to player. #1 you could use the left and right for two languages. Then you have to program the player to understand what you are feeding. The downside. If you listen with headphones you will just hear it on the right or left. #2 you create two streams. same video but diffrent audio (cog). That doubles your upstream bandwidth. And you need a button on the webpage for each language. Pressing it will load the appropriate stream. Switching languages will load the other stream. This works with all platforms and CDNs #3 wowza I belief supports ts streams with multiple audio tracks as an ingest format. I have no experiences how this is digested inside the wowza and delivered to the player then. I assume this will only work in the wowza player then.
My way is option #2. It's the most easiest way in my eyes.
|
1 user thanked mavik for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/17/2017(UTC) Posts: 422 Location: Luzern - Schweiz Thanks: 63 times Was thanked: 55 time(s) in 49 post(s)
|
|
1 user thanked elvis55 for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 4/23/2017(UTC) Posts: 1,214 Location: Germany Thanks: 3 times Was thanked: 168 time(s) in 150 post(s)
|
Yes, I have two channels setup with my streaming provider so I can simultanious stream with two connections. I know, there is a lot of overhead with this solution but that is the solution where you can work with out of the shelf stuff.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/11/2018(UTC) Posts: 60 Thanks: 33 times Was thanked: 6 time(s) in 6 post(s)
|
Thanks, after research I will try to stream to external 1 - 4 with different audio channels and use ffmpeg to mix it and ingest it via rtmp.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/11/2018(UTC) Posts: 60 Thanks: 33 times Was thanked: 6 time(s) in 6 post(s)
|
Okay, no NDI input for ffmpeg anymore after a license clinch / violation of NewTek. So trying with DirectShow output of vMix.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/11/2018(UTC) Posts: 60 Thanks: 33 times Was thanked: 6 time(s) in 6 post(s)
|
Ok, works fine now into a mp4 file:
ffmpeg -report -y -f dshow -i video="vMix Video":audio="vMix Audio" -f dshow -i audio="vMix Audio - Bus A" -map 0:0 -map 0:1 -map 1:0 -r 25 -pix_fmt yuv420p -vcodec mpeg2video -maxrate:v 8M -minrate:v 8M -b:v 8M -acodec mp2 -b:a 384k "C:\recordedfile-3.mp4"
So replacing the target with
-f flv rtmp://targeturl:1935/live/event
should give us a nice live stream.
Explanation for map in this case (take audio and video from first stream and audio from second stream): Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg2video (native)) Stream #0:1 -> #0:1 (pcm_s16le (native) -> mp2 (native)) Stream #1:0 -> #0:2 (pcm_s16le (native) -> mp2 (native))
All available input sources from vMix can be listed via:
ffmpeg -list_devices true -f dshow -i dummy
[dshow @ 000001c9664c9380] "vMix Video" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{8E14549A-DB61-4309-AFA1-3578E927E938}" [dshow @ 000001c9664c9380] "vMix Video External 2" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{8E14549A-DB61-4309-AFA1-3578E927F974}" [dshow @ 000001c9664c9380] "vMix Video YV12" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{8E14549A-DB61-4309-AFA1-3578E927FF92}" [dshow @ 000001c9664c9380] "vMix Video External 2 YV12" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{8E14549A-DB61-4309-AFA1-3578E927FF94}" [dshow @ 000001c9664c9380] "vMix Audio" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{008E145B-DB61-4309-AEA1-3578E927E940}" [dshow @ 000001c9664c9380] "vMix Audio - Bus A" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{008E145B-DB61-4309-AEA1-3578E927E944}" [dshow @ 000001c9664c9380] "vMix Audio - Bus B" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{008E145B-DB61-4309-AEA1-3578E927E948}" [dshow @ 000001c9664c9380] "vMix Audio - M A B" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{008E145B-DB61-4309-AEA1-3578E927E952}" [dshow @ 000001c9664c9380] "vMix Audio - M A" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{008E145B-DB61-4309-AEA1-3578E927E956}" [dshow @ 000001c9664c9380] "vMix Audio - 16Ch" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{008E145B-DB61-4309-AEA1-3578E927F001}" [dshow @ 000001c9664c9380] "vMix Audio - Bus C" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{008E145B-DB61-4309-AEA1-3578E927F002}" [dshow @ 000001c9664c9380] "vMix Audio - Bus D" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{008E145B-DB61-4309-AEA1-3578E927F003}" [dshow @ 000001c9664c9380] "vMix Audio - Bus E" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{008E145B-DB61-4309-AEA1-3578E927F004}" [dshow @ 000001c9664c9380] "vMix Audio - Bus F" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{008E145B-DB61-4309-AEA1-3578E927F005}" [dshow @ 000001c9664c9380] "vMix Audio - Bus G" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{008E145B-DB61-4309-AEA1-3578E927F006}" [dshow @ 000001c9664c9380] "vMix Audio - M A B C 8Ch" [dshow @ 000001c9664c9380] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{008E145B-DB61-4309-AEA1-3578E927F101}"
|
1 user thanked ThomasK for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/17/2017(UTC) Posts: 422 Location: Luzern - Schweiz Thanks: 63 times Was thanked: 55 time(s) in 49 post(s)
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close