[MPlayer-dev-eng] [PATCH] Network synchronized playback using UDP
Jason Holt
jholt at google.com
Tue Mar 17 22:46:16 CET 2009
I hacked in a simple mechanism to synchronize playback between multiple
instances of mplayer over a network. The master sends a UDP datagram to
announce its position in the video each time it plays a frame. The slaves
check to see if they're within epsilon of the master. If they are, they
just advance by a frame. If not, they seek to where the master is.
This works out nicely because I can dynamically tweak frame rate, seek and
pause on the master and the slaves all follow along.
The patch is not compliant with your coding standards. Before I do that
work, I wanted to make sure it's a patch you're interested in, and see if
you have any particular guidance on things I should move or change.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-udp-patch.diff
Type: text/x-diff
Size: 5446 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090317/d20224db/attachment.diff>
More information about the MPlayer-dev-eng
mailing list