Question / Help Possible to setup recurring daily start/stop times for live stream?

lifeaquatic___

New Member
Hi all,
I have a client who wants to live stream, only in daylight hours, but on an unattended PC. For our other customers, we just use OBS and YouTube, since they can start and stop the feeds manually. However, is it possible to use OBS and YouTube (or any other platform) so that we can setup for example, a daily feed, starting at 7am, stopping at 6pm. The PC and camera can be on 24/7, but we need the stream to only be during those times.

Testing using YouTube, it looks like scheduling isn't much use, since you still have to manually press "Go Live". We would prefer to avoid a TeamViewer/remote access solution, as I've read that can be quite draining on PC resources and affect the live stream.

Any advice or directions to look in would be much appreciated.

Thanks!
 

FerretBomb

Active Member
Ok thanks. But is it possible for YouTube live to remain "open" without an input source and stream the feed once OBS starts? I didn't think that was possible. If not, perhaps other platforms?
Thanks!
For that you're looking at running a 24/7 RTMP relay server. Doing that is outside the scope of OBS, and OBS Support.

Take a look at nginx-rtmp, or the RED5 server. Both can be set up to stream to a destination, pulling from a pool of dead-file videos or just sending an image blank, then interrupt and swap over when an incoming live feed is received.

Again, far outside the scope of OBS Support so we cannot help you with it, but technically possible with enough geekery.
 

lifeaquatic___

New Member
ok, great, thanks so much for your help. Currently I am testing YouTube. So far the live stream has remained up for over 30mins without a video input, and when I start OBS with a camera, the YouTube stream does start back up. So perhaps I can get away with just using Windows Task scheduler to start OBS at set times...Will post results later
 

lifeaquatic___

New Member
ok, tested today, and YouTube kept the live stream "active" for at least 3 hours (have run out of time to continue test), so I think scheduling OBS will work.


I have tried to setup the operation in Task Scheduler (Windows 10), however am having the following issue:
-OBS is set to launch from c>program files (x86)>obs-studio>bin>64-bit>obs64.exe. It launches fine from there when I click it, but when launched by Task Scheduler, I get "failed to find locale/en-US.ini" and "failed to load locale". I have tried a different shortcut location (desktop, with the same result). Using the latest update. What am I doing wrong here?
-is the --startstreaming command added to the "Add arguments" field when completing the "Create basic task" wizard?

Thanks a lot
 

koala

Active Member
You need to enter the directory of obs64.exe in the "Start in" field of task scheduler.

This is a series of appropriate screenshots for starting OBS with the help of the task scheduler. If you don't need to run OBS as administrator, don't check "run with highest privileges".
 

lifeaquatic___

New Member
Perfect, thanks so much. That works, auto streaming works, taskkill closes it after x hours, and then we can restart again the next day. Thanks heaps!!
 

Dihelson

Member
Ok thanks. But is it possible for YouTube live to remain "open" without an input source and stream the feed once OBS starts? I didn't think that was possible. If not, perhaps other platforms?
Thanks!

Perhaps you could use "castr.io" system to be waiting 24/7 for your stream ( it does that ) and configure to when receive any stream push it to the platforms. I can assure it works with Facebook, but I don't know for sure if with YouTube, you still have to press the "go live" button. There must be a way and I wish to know if it works for YouTube.
 
Top