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
Then I start with:
Code: Select all
# vlc --vlm-conf streamer32.vlc -I telnet
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.