Streaming 3 video files in parallel over RTSP on Windows

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
chrswh
New Cone
New Cone
Posts: 1
Joined: 22 Jul 2013 22:39

Streaming 3 video files in parallel over RTSP on Windows

Postby chrswh » 22 Jul 2013 23:05

My goal is to trigger (from a script, so through the command line) the streaming of 3 videos in parallel over 3 rtsp streams. I have 3 separate video capture devices which can consume rtsp streams as their sources. I've read through the documentation, but I can't seem to make heads or tails of what is the right way to go about this. I've tried multiple iterations of a config file, but no cigar so far.

Here is what I have:

Code: Select all

new channel1 broadcast enabled setup channel1 input "file://C:/videos/vid1.avi" setup channel1 output #rtp{mux=ts,dst=192.168.215.112,port=5004,sdp=rtsp://192.168.215.112:5554/channel1.sdp,name="channel 1"} new channel2 broadcast enabled setup channel2 input "file://C:/videos/vid2.avi" setup channel2 output #rtp{mux=ts,dst=192.168.215.112,port=5004,sdp=rtsp://192.168.215.112:5554/channel2.sdp,name="channel 2"} new channel3 broadcast enabled setup channel3 input "file://C:/videos/vid3.avi" setup channel3 output #rtp{mux=ts,dst=192.168.215.112,port=5004,sdp=rtsp://192.168.215.112:5554/channel3.sdp,name="channel 3"} control channel1 play control channel2 play control channel3 play
I'm calling this with:

Code: Select all

vlc --vlm-conf="my_vlm_config_file.txt"
Some of these things might be ridiculous at this point. I'm not convinced that file:// should prefix C://, but I can't seem to make this work. What have I done incorrectly in my script to get these 3 video files to be streaming over RTSP? Thanks!

Return to “VLM”

Who is online

Users browsing this forum: No registered users and 25 guests