Tuesday, 17 July 2012

Mplayer udp Synchronisation Shell script

ssh -f user@192.168.2.222 "DISPLAY=:0 nohup mplayer -osdlevel 0 -vo gl -xineramascreen 0 -udp-slave -loop 0 -fixed-vo -fs video1.mp4"&
ssh -f user@192.168.2.223 "DISPLAY=:0 nohup mplayer -osdlevel 0 -vo gl -xineramascreen 0 -udp-slave -loop 0 -fixed-vo -fs video2.mp4"&
mplayer -vo gl -xineramascreen 1 -udp-slave -osdlevel 0 -loop 0 -fixed-vo -fs video3& sleep 5
mplayer -vo gl -xineramascreen 0 -udp-master -loop 0 -osdlevel 0 -fixed-vo -fs -udp-ip 192.168.2.255 video4.mp4&

No comments:

Post a Comment