neuring / mpv_video_sync

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MPV video synchronization

This project contains a server and client for syncing MPV instances on different computers.

Building

A somewhat recent rust toolchain (>= 1.65) is required to build this project.

cargo build --release

This command builds both the client and server. The respective binaries are located inside target/release as mpv_sync_client and mpv_sync_server.

Running

On your server run the command

./mpv_sync_server <server-addr>:<port>

Each client runs:

./mpv_sync_client <server-addr>:<port> <video-file>

It is assumed that each client has mpv installed. Furthermore, by default, the os username is chosen as the username. This behavior can be changed using the -u flag.

About

License:MIT License


Languages

Language:Rust 100.0%