Question / Help Run OBS and start streaming automatically

Manuel5cc

New Member
Is there any command to run the program and start streaming automatically? Let's say that I have all properly configured in a profile and I want to run OBS directly in streaming mode. Is there any command that I can run from command line or add to the shortcut (like -stream or -start or something) to do this?
 

Selim Atmaca

New Member
On Windows, I am using batch files to start and stop the stream. You can use windows task scheduler to run these batch files.

To start OBS and start streaming automatically

start /d "C:\OBS\obs-studio\bin\32bit" obs32.exe --startstreaming



To stop OBS

taskkill /F /IM obs32.exe
 

Selim Atmaca

New Member
Also,
OBS AUTO START STREAMING USING BATCH FILE

If you need to start and stop OBS automatically, you can use the batch commands below and use windows task scheduler to run them at specific times of the day.

To start OBS and start streaming automatically on Windows

start /d "C:\OBS\obs-studio\bin\32bit" obs32.exe --startstreaming

To stop OBS

taskkill /F /IM obs32.exe



OBS AUTO START STREAMING USING CRONNIX ON MAC OSX

If you are using Mac OSX for your encoder, You can use Cronnix application (free) to schedule start and stop task.

command to start obs streaming: open –a obs --args --startstreaming

command to stop obs: killall obs



OBS AUTO START STREAMING ON UBUNTU USING CRONTAB

On terminal start crontab, the first command below tell crontab to start streaming at 08:30 everyday and second code tells kill obs process at 18:30

crontab –e

30 08 * * * export DISPLAY=:0 && obs --startstreaming

00 18 * * * killall obs
 

lucenttop

New Member
Also,
OBS AUTO START STREAMING USING BATCH FILE

If you need to start and stop OBS automatically, you can use the batch commands below and use windows task scheduler to run them at specific times of the day.

To start OBS and start streaming automatically on Windows

start /d "C:\OBS\obs-studio\bin\32bit" obs32.exe --startstreaming

To stop OBS

taskkill /F /IM obs32.exe



OBS AUTO START STREAMING USING CRONNIX ON MAC OSX

If you are using Mac OSX for your encoder, You can use Cronnix application (free) to schedule start and stop task.

command to start obs streaming: open –a obs --args --startstreaming

command to stop obs: killall obs



OBS AUTO START STREAMING ON UBUNTU USING CRONTAB

On terminal start crontab, the first command below tell crontab to start streaming at 08:30 everyday and second code tells kill obs process at 18:30

crontab –e

30 08 * * * export DISPLAY=:0 && obs --startstreaming

00 18 * * * killall obs
Wow Perfect!!
 
Top