VLC and --sout-all to play multiple audio tracks in recording

About encoding, codec settings, muxers and filter usage
OttoR
New Cone
New Cone
Posts: 1
Joined: 04 Feb 2024 20:42

VLC and --sout-all to play multiple audio tracks in recording

Postby OttoR » 04 Feb 2024 20:55

I'm on Windows 10, running latest (I hope) VLC 3.0.20 Vetinari.

I have recordings made in OBS with multiple audio tracks. I'm trying to play these using VLC, but get, of course, only one audio track at a time.

Searching has brought me to multiple sources, including a forum post here (https://forum.videolan.org/viewtopic.php?t=145140) suggesting that the following command line might resolve the issue:

Code: Select all

vlc --sout-all --sout #display
I put this in a Windows .bat file as follows:

Code: Select all

ECHO vlc.exe --sout-all --sout #display %1% pause press enter to run vlc.exe --sout-all --sout #display %1%
Dragging and dropping my recording file on this, I see the following output, so I'm assuming everything works as intended:

Code: Select all

C:\Program Files\VideoLAN\VLC>ECHO vlc.exe --sout-all --sout #display "E:\OBS\Videos\2024-01-31 07-42-51.mp4" vlc.exe --sout-all --sout #display "E:\OBS\Videos\2024-01-31 07-42-51.mp4" C:\Program Files\VideoLAN\VLC>pause press enter to run Press any key to continue . . .
Unfortunately, VLC launches and plays only the first audio track.

I've tried searching the wiki for additional documentation, but the --sout-all parameter fail to come up in any search I performed.

Any suggestions on what I can do next? Thanks!

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 5 guests