How to automatically switch to a different streaming source after a specified amount of time

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Nobody777
New Cone
New Cone
Posts: 1
Joined: 23 Jun 2016 17:42

How to automatically switch to a different streaming source after a specified amount of time

Postby Nobody777 » 23 Jun 2016 17:59

I have a product I'm using to stream two camera feeds on my office network from a specific IP address. I'm using VLC to receive the streaming video feeds on individual workstations. The purpose is so that people sitting at their workstations can view the camera feeds and watch the front door for customers coming in.

On each workstation, I have VLC setup to receive the stream from each camera on the IP via URL. They are labeled alternatively: (for example) http://192.168.1.187:1030 and http://192.168.1.187:1031.

I can easily view the feed from each camera by either clicking Next on the player or double-clicking on either URL in the playlist, but here's my challenge... I would prefer these two streams to play in an automated sequence; For example, the first camera to play for 10 seconds and then automatically switch to the other camera feed for 10 seconds and then repeat the loop continuously. Since both feeds are continuous at the source, I don't know how to assigned timed viewing for each on the workstations. Is this even possible?

Thanks for any help you can offer.

kmf31
Cone that earned his stripes
Cone that earned his stripes
Posts: 308
Joined: 11 Mar 2007 21:47

Re: How to automatically switch to a different streaming source after a specified amount of time

Postby kmf31 » 23 Jun 2016 20:13

Try a playlist (saving to a file.m3u) for both streaming sources and add to each item the option "#EXTVLCOPT:run-time=10" (in the line preceeding the streaming link). Then you only need the standard "repeat" button pushed (and be careful not to have "shuffled" pushed to avoid "random" selection between the two items).


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 35 guests