Multiple streams not in sync

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
joostvdl
New Cone
New Cone
Posts: 4
Joined: 13 Oct 2006 17:28

Multiple streams not in sync

Postby joostvdl » 21 Jan 2007 13:37

Hi

I try to stream 3 MPEG2 streams to 3 different players. These streams have to be in sync.
I use VLM with the following config file:

Code: Select all

# VLC media player VLM command batch # http://www.videolan.org/vlc/ new monitor32_1 broadcast enabled loop setup monitor32_1 input "file:///home/mediafiles/32/monitor_d01_links.mpg" setup monitor32_1 output #standard{mux=ts,access=udp,dst=10.0.0.150:4951} new monitor32_2 broadcast enabled loop setup monitor32_2 input "file:///home/mediafiles/32/monitor_d01_links.mpg" setup monitor32_2 output #standard{mux=ts,access=udp,dst=10.0.0.150:4952} new monitor32_3 broadcast enabled loop setup monitor32_3 input "file:///home/mediafiles/32/monitor_d01_links.mpg" setup monitor32_3 output #standard{mux=ts,access=udp,dst=10.0.0.150:4953} control monitor32_1 play control monitor32_2 play control monitor32_3 play
I use now one Client with three VLC players to check the sync. Normaly the destination are three different clients, all on the port 4951.

Then I start with:

Code: Select all

# vlc --vlm-conf streamer32.vlc -I telnet
The first run of the loop all the streams are in sync, but by the second loop the streams are not in sync any more.

Is this the way to sync streams or is there an other solution? Or is there maybe a bug in the software that causes the delay in the different streams?

I use Debian Etch with VLC 0.8.6-svn2 (default from debian set). Also tested with VLC 0.8.6 on Mac OSX.

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

Postby dionoea » 22 Jan 2007 14:10

You should have a look at the netsync module. (Or just use duplicate to make sure that all the streams use the same source.)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

joostvdl
New Cone
New Cone
Posts: 4
Joined: 13 Oct 2006 17:28

Postby joostvdl » 22 Jan 2007 14:35

(Or just use duplicate to make sure that all the streams use the same source.)
I don't know about the duplicate function but I have to add to this that there are in the final setup three different video streams. The code I wrote before is just as a test to determine if there is a difference.

So the working code should be:
# VLC media player VLM command batch
# http://www.videolan.org/vlc/

new monitor32_1 broadcast enabled loop
setup monitor32_1 input "file:///home/mediafiles/32/monitor_d01_links.mpg"
setup monitor32_1 output #standard{mux=ts,access=udp,dst=10.0.0.1:4951}
new monitor32_2 broadcast enabled loop
setup monitor32_2 input "file:///home/mediafiles/32/monitor_d02_midden.mpg"
setup monitor32_2 output #standard{mux=ts,access=udp,dst=10.0.0.2:4951}
new monitor32_3 broadcast enabled loop
setup monitor32_3 input "file:///home/mediafiles/32/monitor_d03_rechts.mpg"
setup monitor32_3 output #standard{mux=ts,access=udp,dst=10.0.0.3:4951}
control monitor32_1 play
control monitor32_2 play
control monitor32_3 play

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

Postby dionoea » 22 Jan 2007 14:56

You can't synchronise 3 different streams (at least not that i know)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

CarlO_321
New Cone
New Cone
Posts: 8
Joined: 22 Apr 2007 07:02

Postby CarlO_321 » 02 Jun 2007 11:24

Hi,
I suppose to have a similar problem: streaming two, or more, videos in multicast, so that all the video are perfectly in sync among them. Have you been able to deal with your sync problem? Thank you,
Best regards,
Carlo


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 0 guests