Live steam left/right separately bilingual audio feed

About encoding, codec settings, muxers and filter usage
NOYB
Blank Cone
Blank Cone
Posts: 25
Joined: 11 Feb 2019 05:29

Live steam left/right separately bilingual audio feed

Postby NOYB » 08 Feb 2024 02:14

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 ^

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: Google [Bot] and 8 guests