Syncronising a multicast audio stream

About encoding, codec settings, muxers and filter usage
alt
Blank Cone
Blank Cone
Posts: 13
Joined: 21 Oct 2005 12:53

Syncronising a multicast audio stream

Postby alt » 01 Apr 2006 11:54

I'm trying to set up a multicast stream, playing mp3s to various computers around my house. Have managed to get it working, but of course the audio comes out of the computers out of sync. Is there any way of syncing the outputs, or is this a well-known problem with streaming?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 01 Apr 2006 14:19

You can use the netsync module. On the server, just add the option "--netsync-master" and on the clients (those who actually play the stream), add the option "--netsync-master-ip <ip of the server>".
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

alt
Blank Cone
Blank Cone
Posts: 13
Joined: 21 Oct 2005 12:53

Postby alt » 02 Apr 2006 13:35

Ooh didn't know anything about that. I'll check it out. Thanks!

alt
Blank Cone
Blank Cone
Posts: 13
Joined: 21 Oct 2005 12:53

Postby alt » 02 Apr 2006 14:06

Is it possible to control the netsync properties through the Telnet or RC interfaces, rather than at startup?

I occasionally play stuff from a different computer to my master, so will need to change the netsync stuff to point to that one, and don't really want to have to restart vlc to do it!

Thanks

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 02 Apr 2006 14:16

You can change it in the preferences if you use the GUI... but i don't know if that takes effect if you don't restart VLC.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

alt
Blank Cone
Blank Cone
Posts: 13
Joined: 21 Oct 2005 12:53

Postby alt » 02 Apr 2006 14:20

Ok. Well if I really don't want to restart vlc, I could always stream the file from the other computer to the main computer, and then stream it to everyone from there!


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 32 guests