Question / Help Stop stream timer

Goose

New Member
Hey,

I want to start recording something and have OBS stop recording after a set amount of time. Sounds pretty simple, but I haven't been able to find anything that can do this. I'm guessing it should be possible to write a script that just "presses" the 'stop streaming' buttong but I'm not any good at programming so I have no clue. Any ideas?

Thanks in advance!
Goose.
 

ColterTV

Member
You can do a simple batch file that starts OBS, waits a certain amount of time, and then kills the OBS process. Something roughly as

obs.cmd

start c:\program files\obs\obs.exe <-- launch OBS
timeout /T 600 <-- wait 10 minutes
taskkill /im obs.exe <-- end the OBS process

And presto :)
You can even start OBS with the -start switch so it starts to record/stream immediately
 
Last edited:
Top