Question / Help How to start automatic transmission

You can use the launch parameters:

--startstreaming
  • Automatically start streaming.
--startrecording
  • Automatically start recording.

Just append them to the OBS shortcut.
 
Thank you, I get it. I created a batch file, and now how would it be to stop the transmission automatically, would it put --stopstreaming
 
Last edited:
How do you append the command to startstreaming? Can you please give example. I have tried with no luck. I am want to make a scheduled start using task scheduler.

Thx
 
Add it to the shortcut, in the target field.

Example:

"C:\Program Files (x86)\obs-studio\bin\64bit\obs64.exe" --startstreaming
 
Thx this works great manually. Any idea how to make this work at a specific time. I've been playing with Autohotkey and Task scheduler with no luck. Seems like it should be simple but maybe I am missing something. Been searching thru the forum.

Thx
 
Compile with AutoIt and copy it in your obs-studio Folder
C:\Program Files (x86)\obs-studio

then create a task schedule

Code:
;AutoIt
;*****************************************
#include <Array.au3>
If ProcessExists("obs32.exe") Or ProcessExists("obs64.exe") Then
 ConsoleWrite("OBS-Studio can't start because it is already running" & @CRLF)
 MsgBox(64, "OBS-Studio", "OBS-Studio can't start because it is already running", 0)
 Exit
ElseIf @OSArch = "X86" Then
 ConsoleWrite(@ScriptDir & "\bin\32bit" & @CRLF)
 Run("bin\32bit\obs32.exe --startstreaming", @ScriptDir & "\bin\32bit")
ElseIf @OSArch = "X64" Then
 ConsoleWrite(@ScriptDir & "\bin\64bit" & @CRLF)
 Run("bin\64bit\obs64.exe --startstreaming", @ScriptDir & "\bin\64bit")
Else
EndIf
 
Back
Top