21 lines
668 B
Bash
21 lines
668 B
Bash
# Moonraker's HTTP API, usually exposed beside Mainsail on port 7125.
|
|
MOONRAKER_URL=http://host.docker.internal:7125
|
|
|
|
# Snapshot endpoint for the camera configured in Mainsail.
|
|
CAMERA_SNAPSHOT_URL=http://host.docker.internal/webcam/?action=snapshot
|
|
CAMERA_STREAM_URL=http://host.docker.internal/webcam/?action=stream
|
|
|
|
# Polling and capture behavior.
|
|
POLL_INTERVAL_SECONDS=0.5
|
|
MIN_LAYER_HEIGHT_MM=0.05
|
|
HTTP_TIMEOUT_SECONDS=10
|
|
|
|
# Storage and rendering.
|
|
OUTPUT_DIR=/timelapses
|
|
VIDEO_FPS=12
|
|
VIDEO_CODEC=libx264
|
|
VIDEO_CRF=18
|
|
VIDEO_PRESET=medium
|
|
VIDEO_PIXEL_FORMAT=yuv420p
|
|
# Number of copies of the final snapshot to append. 0 disables the hold.
|
|
VIDEO_DUPLICATE_END_FRAMES=0 |