Page 1 of 1

Live steam left/right separately bilingual audio feed

Posted: 08 Feb 2024 02:14
by NOYB
Please help me. How can I do this?

Live steam bilingual audio feed. Left channel is English. Right channel is Spanish.

How to make two streams? One mono English and the other mono Spanish.

So one stream would transcode line in left channel as mono and the other stream would transcode line in right channel as mono.

For instance. Something like this. But each encoding only the respective left (English) or right (Spanish) as mono mp3.

Windows/DOS Batch Script:

@REM English
START "Live Stream" /B "C:\Program Files\VideoLAN\VLC\vlc.exe" -I null ^
dshow:// :dshow-vdev=none :dshow-adev="Line In (SigmaTel High Definition Audio CODEC (for 64-bit Windows))" ^
:live-caching=300 ^
--input-title-format "$tLive Stream $/ $bLive Event $/ $English" ^
--sout "#transcode{vcodec=none,vb=0,scale=1,acodec=mp3,ab=16,channels=1,samplerate=11025,scodec=none} :standard{access=https,mux=mp3,dst=:8086/English}" ^
:sout-all :sout-keep ^

@REM Spanish
START "Live Stream" /B "C:\Program Files\VideoLAN\VLC\vlc.exe" -I null ^
dshow:// :dshow-vdev=none :dshow-adev="Line In (SigmaTel High Definition Audio CODEC (for 64-bit Windows))" ^
:live-caching=300 ^
--input-title-format "$ttransmisiĆ³n en vivo $/ $bEvento en vivo $/ $EspaƱol" ^
--sout "#transcode{vcodec=none,vb=0,scale=1,acodec=mp3,ab=16,channels=1,samplerate=11025,scodec=none} :standard{access=https,mux=mp3,dst=:8086/Spanish}" ^
:sout-all :sout-keep ^