First let me thank you man. I have been using mplayer in multi monitors for nearly 15 years now. I was simply never able to get it working and I found nothing on the internet that worked. It felt so ridiculous like why has no one ever thought of this?
Man your script worked and I couldnt believe it, after all this time! Thanks so much man! I scripted it into files masterVideo and slavedVideo, I added the command line args to the file so i can call masterVideo and slavedVideo with the movie name as well. I also added -volume 0 to the slave script cause the sound was echoing. Its rough and hacky but its working!
On the same computer is working fine... I am now trying to use this script across the network, but it only works on the same computer for now. Is there a way to launch a slavedVideo across the network using the ip address? When I try it only works if the master and slave are on the same machine. Here is the exact error
armel@shiva:~/tmp$ ../bin/slavedVideo movie.avi
76666
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
[mpeg4 @ 0x7f63c469c380]Requested frame threading with a custom
get_buffer2() implementation which is not marked as thread safe. This is
not supported anymore, make your callback thread-safe.
(standard_in) 1: illegal character: _
(standard_in) 1: syntax error
^C
MPlayer interrupted by signal 2 in module: sleep_timer
I searched it and ended up putting lirc=no in my .mplayer/config file, then the movie would start paused but never sync and I would get this error. The movies are exactly the same file.
armel@shiva:~/tmp$ ~/bin/slavedVideo movie.avi
936655
[mpeg4 @ 0x7fdb253d7380]Requested frame threading with a custom
get_buffer2() implementation which is not marked as thread safe. This is
not supported anymore, make your callback thread-safe.
^C
MPlayer interrupted by signal 2 in module: calc_sleep_time
So I added on to the solution, but networking is not working... Is there some additional setup required to get this working across the network? Both machines are connected fine with ssh. I realize this post was a long time ago, thought I would reach out and try anyway. What you have already done has been extremely helpful man thanks. :)