Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/70sh1/mpv-switch-both-audio
An mpv script that allows switching between playing one or two audio tracks simultaneously upon file load or with a hotkey
https://github.com/70sh1/mpv-switch-both-audio
audio mpv mpv-script mpv-scripts
Last synced: 3 months ago
JSON representation
An mpv script that allows switching between playing one or two audio tracks simultaneously upon file load or with a hotkey
- Host: GitHub
- URL: https://github.com/70sh1/mpv-switch-both-audio
- Owner: 70sh1
- Created: 2023-11-13T12:46:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-05T15:38:47.000Z (7 months ago)
- Last Synced: 2024-06-30T12:36:19.042Z (5 months ago)
- Topics: audio, mpv, mpv-script, mpv-scripts
- Language: Lua
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mpv - switch-both-audio - Switch between playing one or two audio tracks simultaneously upon file load or with a hotkey. (Audio)
README
# mpv-switch-both-audio
An mpv script that allows switching between playing one or two audio tracks simultaneously upon file load or with a hotkey.Note that the file must have exactly two audio tracks for this script to activate, otherwise the file will be ignored.
This script overrides user defined `lavfi-complex` behavior.## Add a keybind
To set a keybind, add `{key} script-message switch-both-audio` line to your `input.conf` e.g:`n script-message switch-both-audio`
## Default state
To switch the default state to "on" upon opening a file, create `switch_both_audio.conf` file in `portable_config/script-opts` directory
and add `enabled_on_start=yes` line to it.