Skip to main content

Utility for synchronize multiple instances of VLC. Supports seek, play and pause.

Project description

VLC Sync

Utility for synchronize multiple instances of VLC. Supports seek, play and pause/stop, playlist and volume sync.

Motivation

Strongly inspired by F1 streams with extra driver tracking data streams. Did not find reasonable alternative for Linux for playing several videos synchronously. So decided to write my own solution.

Install

pip3 install -U vlcsync

or

Run

Vlc players should open with --rc-host 127.0.0.42 option OR configured properly from gui (see how configure vlc)

# Run vlc players 
$ vlc --rc-host 127.0.0.42 SomeMedia1.mkv &
$ vlc --rc-host 127.0.0.42 SomeMedia2.mkv &
$ vlc --rc-host 127.0.0.42 SomeMedia3.mkv &

# vlcsync will monitor and syncing all players
$ vlcsync

# Started from version 0.2.0

# For control remote vlc instances, 
# remote port should be open and rc interface listen on 0.0.0.0
$ vlcsync --rc-host 192.168.1.100:12345 --rc-host 192.168.1.50:54321

# For disable local discovery (only remote instances)
$ vlcsync --no-local-discovery --rc-host 192.168.1.100:12345

# Started from version 0.3.0 (playlists sync)
# Support volume sync for exotic cases
$ vlcsync --volume-sync

# For help and see all options
$ vlcsync --help

Awesome

Awesome use-case ideas

Demo

vlcsync

Limitations

  • Frame-to-frame sync NOT provided. vlc does not have precise controlling via rc interface out of box. Difference between videos can be up to ~0.5 seconds in worst case. Especially when playing from network share, due buffering time and network latency.

  • Currently, tested on:

    • Linux (Ubuntu 20.04)
    • Windows 7 (32-bit)
    • Windows 10 (64-bit)

Alternatives

  • vlc
    • There is a netsync but seem only master-slave (tried, but not working by some reason)
    • Open additional media. Seems feature broken in vlc 3 (also afaik limited only 2 streams)
  • Syncplay - very promised, but little complicated for sync different videos
  • bino - working, very strange controls, file dialog not working and only fullscreen
  • gridplayer - low fps by some reason
  • mpv - with mixing multiple videos in one window. Unfortunately does not support multiple screens
  • AVPlayer - only Win, macOS, up to 4 videos in free version

Contributing

Any thoughts, ideas and contributions welcome!

A special thanks to KorDen32 for inspiration! F1

Enjoy!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vlcsync-0.3.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

vlcsync-0.3.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file vlcsync-0.3.0.tar.gz.

File metadata

  • Download URL: vlcsync-0.3.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.4.0-156-generic

File hashes

Hashes for vlcsync-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8409987e018c49114afe6ca3dc3bd2d86ba489c0030be12ce66f6a55929c85a3
MD5 9fc4d2d5f7cbfb1821d7e10968b4e691
BLAKE2b-256 fa31132895e254be2c8acb995bdc2ed5cd3c4e4a1c27800a4e606b59f93c297a

See more details on using hashes here.

File details

Details for the file vlcsync-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: vlcsync-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.4.0-156-generic

File hashes

Hashes for vlcsync-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3623a730cff2532afb233b62d9516eadb53f6af7d15d2ca1f21195a7f59f1d2
MD5 2c5cd445ec221933bd60042ad10a197e
BLAKE2b-256 2a7752ccdbfae9992cc500f69f2f8bbf93b5d0a3e9402ca11f31cc303d3b084e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page