Page 1 of 1

Can VLC do this action?

Posted: 11 Dec 2006 00:40
by WaddleDee
Hello!

Say I have an .avi file, and I set up another computer's VLC on an internal network to somehow connect to my VLC, so when I play the .avi file, the other computer will play the same file (Without that comuter even having it) and be in sync with my VLC?

Actually, Our living room is set up in a weird layout, and is divided in 2 sections. (so all of us can't see the tv screen when we watch our family videos) But we do have a computer in each section, connected to our home network!

Posted: 11 Dec 2006 00:49
by DJ
While what you suggest can be done the original machine sending the stream will be in front of the rest by the delay needed to buffer the file. You can however call a second instance of the player providing the machine is hearty enough to support the CPU load without interfering with the stream.

http://wiki.videolan.org/index.php/Main_Page
Tons of information on formats, containers, streaming and how to

Posted: 11 Dec 2006 01:07
by WaddleDee
?

All i want to know is how do you play the same video on 2 computers and have them be synced to you see the video at the same speed and the same place as one original.

(And make it user friendly, I am new to VLC)

Posted: 11 Dec 2006 06:37
by gguruusa
what he's saying is that machine 1 (the server) will naturally be ahead in the video as compared to machine 2 (the 2nd computer) because it doesn't have to wait for the data to be transferred. So, in theory, you could start a 2nd instance of VLC on machine 1 (so now it has two instances: one serving the video, and one reading the streamed video the 2nd computer is also reading). It may take a beefy machine to act as server and player, depending on your video source.

I have no idea how close a sync that will yield. Seems unlikely it will be perfect, but it may be acceptable. Playing with the timeshift/buffering/timesync options may improve the synchronization further.

You'll probably want to mute one computer.

If you give it a go, let us know your results.

Posted: 11 Dec 2006 08:10
by DJ
There are also a few options you can play with in the suggested mode.

--network-synchronisation, --no-network-synchronisation
Network synchronisation (default disabled)

Network synchronisation
--netsync-master, --no-netsync-master
Act as master (default disabled)
--netsync-master-ip <string>
Master client ip address

Posted: 11 Dec 2006 15:48
by WaddleDee
All right! I will try the strings one first, and I'll let you know...

but how do I set up the 2nd computer?