From a659019d1ad6d75206c9bf2f863c46471c4a3407 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Sun, 8 Dec 2019 06:35:38 -0600 Subject: [PATCH] move config example --- .gitignore | 2 ++ config/{config.yml => config.example.yml} | 10 +++------- 2 files changed, 5 insertions(+), 7 deletions(-) rename config/{config.yml => config.example.yml} (91%) 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.