logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
ThomasK  
#1 Posted : Friday, March 6, 2020 6:23:40 AM(UTC)
ThomasK

Rank: Advanced Member

Groups: Registered
Joined: 8/11/2018(UTC)
Posts: 60
Man
Austria

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

doggy  
#2 Posted : Friday, March 6, 2020 6:53:23 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,095
Belgium
Location: Belgium

Thanks: 284 times
Was thanked: 922 time(s) in 761 post(s)
Click the gear icon of the stream quality setting and choose the Video Source AND/OR Audio Channel
ThomasK  
#3 Posted : Friday, March 6, 2020 8:18:58 AM(UTC)
ThomasK

Rank: Advanced Member

Groups: Registered
Joined: 8/11/2018(UTC)
Posts: 60
Man
Austria

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.
mavik  
#4 Posted : Friday, March 6, 2020 7:46:51 PM(UTC)
mavik

Rank: Advanced Member

Groups: Registered
Joined: 4/23/2017(UTC)
Posts: 1,146
Man
Location: Germany

Thanks: 3 times
Was thanked: 166 time(s) in 148 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.
thanks 1 user thanked mavik for this useful post.
ThomasK on 3/7/2020(UTC)
elvis55  
#5 Posted : Friday, March 6, 2020 8:25:58 PM(UTC)
elvis55

Rank: Advanced Member

Groups: Registered
Joined: 3/17/2017(UTC)
Posts: 415
Switzerland
Location: Luzern - Schweiz

Thanks: 61 times
Was thanked: 55 time(s) in 49 post(s)
thanks 1 user thanked elvis55 for this useful post.
ThomasK on 3/7/2020(UTC)
mavik  
#6 Posted : Friday, March 6, 2020 9:09:12 PM(UTC)
mavik

Rank: Advanced Member

Groups: Registered
Joined: 4/23/2017(UTC)
Posts: 1,146
Man
Location: Germany

Thanks: 3 times
Was thanked: 166 time(s) in 148 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.
ThomasK  
#7 Posted : Saturday, March 7, 2020 8:06:59 AM(UTC)
ThomasK

Rank: Advanced Member

Groups: Registered
Joined: 8/11/2018(UTC)
Posts: 60
Man
Austria

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.
ThomasK  
#8 Posted : Sunday, March 8, 2020 1:05:29 AM(UTC)
ThomasK

Rank: Advanced Member

Groups: Registered
Joined: 8/11/2018(UTC)
Posts: 60
Man
Austria

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.
ThomasK  
#9 Posted : Sunday, March 8, 2020 6:05:51 AM(UTC)
ThomasK

Rank: Advanced Member

Groups: Registered
Joined: 8/11/2018(UTC)
Posts: 60
Man
Austria

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}"


thanks 1 user thanked ThomasK for this useful post.
ProSonas on 3/8/2020(UTC)
elvis55  
#10 Posted : Sunday, March 8, 2020 8:46:22 PM(UTC)
elvis55

Rank: Advanced Member

Groups: Registered
Joined: 3/17/2017(UTC)
Posts: 415
Switzerland
Location: Luzern - Schweiz

Thanks: 61 times
Was thanked: 55 time(s) in 49 post(s)
Setup multi-camera events ???

youtube multi-camera events


Here's an example
Click on the double arrow icon (←→) at the bottom right next to the gear.
Users browsing this topic
Guest
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.