Skip to content

Instantly share code, notes, and snippets.

@Delivator
Created May 31, 2020 13:37
Show Gist options
  • Select an option

  • Save Delivator/8f15ccf7f9f3b4ac514f6451fc75137f to your computer and use it in GitHub Desktop.

Select an option

Save Delivator/8f15ccf7f9f3b4ac514f6451fc75137f to your computer and use it in GitHub Desktop.
Adds "--sout-all --sout #display" arguments to VLC's .mp4 extension to play all available audio sources. Useful if you split audio tracks with shadowplay.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\VLC.mp4\shell\Open\command]
@="\"C:\\Program Files\\VideoLAN\\VLC\\vlc.exe\" --started-from-file --sout-all --sout \"#display\" \"%1\""
@ErraticFox

Copy link
Copy Markdown

Damn, you're a fuckin' legend bro.

@CatzHoekk

CatzHoekk commented Mar 23, 2024

Copy link
Copy Markdown

Thank you, that's exactly what i was looking for, and even exactly for that reason. Shadowplay recordings.

@YaHa12

YaHa12 commented Jul 24, 2025

Copy link
Copy Markdown

After using this tweak my VLC crashes if I click somewhere in the seek bar

@Gimmee1

Gimmee1 commented Oct 16, 2025

Copy link
Copy Markdown

4 @=""C:\Program Files\VideoLAN\VLC\vlc.exe" --started-from-file --sout-all --sout "#display" "%1""

For this part of the edit, is that supposed to replace the Data in (Default) or be added as a new String Value or Key entirely?

@Delivator

Copy link
Copy Markdown
Author

4 @=""C:\Program Files\VideoLAN\VLC\vlc.exe" --started-from-file --sout-all --sout "#display" "%1""

For this part of the edit, is that supposed to replace the Data in (Default) or be added as a new String Value or Key entirely?

@Gimmee1 gosh that was years ago but I think I just replaced to use this as a default! But I think for movies or other content it could be very annoying to have all audio tracks play at the same time! You could try adding it as a new entry but to be honest I'm not sure how that would work.

@Maxis1

Maxis1 commented Mar 15, 2026

Copy link
Copy Markdown

does this still work? i changed the string key in the registry but no changes happened

edit : it seems to work only issue is that i have to go through each and every audio track for it to work which defeats the whole purpose of click and play with this edit

@Delivator

Copy link
Copy Markdown
Author

does this still work? i changed the string key in the registry but no changes happened

edit : it seems to work only issue is that i have to go through each and every audio track for it to work which defeats the whole purpose of click and play with this edit

I've not used tis this scrip in years! I have since moved from shadowplay to using OBS with the replay buffer. OBS allows me to setup up to 6 audio tracks and I just made the first audio track a combined one with system audio + microphone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment