26 lines
415 B
Markdown
26 lines
415 B
Markdown
# 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]
|
|
``` |