Two simple python scripts to start and stop a twitch stream.
Go to file
2021-02-13 22:35:28 +01:00
.gitignore initial commit 2021-02-13 22:27:03 +01:00
constants.example.py initial commit 2021-02-13 22:27:03 +01:00
README.md added stream stop delay 2021-02-13 22:35:28 +01:00
stream_start.py initial commit 2021-02-13 22:27:03 +01:00
stream_stop.py added stream stop delay 2021-02-13 22:35:28 +01:00

Octoprint ffmpeg stream script

To get started copy constants.example.py to constants.py:

$ cp constants.example.py constants.py

Afterwards make stream_start.py and stream_stop.py executable:

$ chmod +x stream_start.py
$ chmod +x stream_stop.py

You can now start the stream by simply running

./stream_start.py

and stop the stream with

./stream_stop.py [wait_seconds]