Page 1 of 1

VLC Sync over Network

Posted: 02 Jun 2021 12:40
by julius
Hi,

after thorough web research, and trying some things with the netsync option, i would like to ask if for future release it could be possible to sync playback of files that are local, instead of a network stream.

for a few years now, i run an open project called "mp4museum"(.org), which is a simple media player based on raspberry. in the past i have used omxplayer and its fork omxplayer-sync, but development of these projects has stalled / stopped.

in the current beta version, i have switched to python-vlc, which does a good job to play files locally.

but, the network sync option that i had with omxplayer-sync (have files stored locally, sync via network) is not possible with vlc.

i tried mplayer, which syncs, but has very poor performance in terms of playback, there seems to be no sort of hardware acceleration, or it is beyond my means to get it running.

a note on the omxplayer-sync: it just uses the playback location / time of the master to sync, so you can use different content on the players, for multi-screen setups.
you can find the project on https://github.com/turingmachine/omxplayer-sync
the method they used is for slave players to jump ahead, pause and resume when the master clock catches up.

any help solving this would be appreciated!

best, Julius.

PS:if someone has hints on how to get mplayer to use hardware acceleration on raspi, please send a DM ;)