Two simple python scripts to start and stop a twitch stream.
| .gitignore | ||
| constants.example.py | ||
| README.md | ||
| stream_start.py | ||
| stream_stop.py | ||
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]