0.0.1 • Published 5 years ago
mpv-sync v0.0.1
mpv-sync
mpv-sync is a small javascript application which distributes a range of events and property changes between multiple instances of the MPV video player, the overall goal being to synchronise their playback streams.
Communication between mpv-sync and the mpv instances uses IPC sockets (1 per mpv instance) created by the multisocket.lua script (see below) as each mpv instance starts up. At the moment, this means that all mpv instances must be running on the same host machine as mpv-sync itself.
Usage
./reflect [offset]
where offset is some amount of time (in seconds) by which to offset the first
mpv instance from the others.
Requirements
- mpv instances must have been built with support for javascript.
- the host system must have nodejs installed
- the user's scripts directory should contain this multisocket.lua script.
The user's scripts directory (which may need to be created) is most likely to be:
- Linux: $HOME/.config/mpv/scripts
- Windows:
- OSX:
0.0.1
5 years ago