diff --git a/.gitignore b/.gitignore index 2c31dc4ca..bce858dc0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ *.pyc debug +.vscode +config/config.yml \ No newline at end of file diff --git a/config/config.yml b/config/config.example.yml similarity index 91% rename from config/config.yml rename to config/config.example.yml index 86e95b960..76704025a 100644 --- a/config/config.yml +++ b/config/config.example.yml @@ -8,13 +8,9 @@ mqtt: cameras: back: - rtsp: - user: viewer - host: 10.0.10.10 - port: 554 - # values that begin with a "$" will be replaced with environment variable - password: $RTSP_PASSWORD - path: /cam/realmonitor?channel=1&subtype=2 + # Source passed to ffmpeg after the -i parameter. + # Environment variables that begin with 'FRIGATE_' may be referenced in {} + ffmpeg_input: rtsp://viewer:{FRIGATE_RTSP_PASSWORD}@10.0.10.10:554/cam/realmonitor?channel=1&subtype=2 ################ ## Optional mask. Must be the same dimensions as your video feed.