allow setting custom output params and setting the log level for ffmpeg

This commit is contained in:
blakeblackshear
2019-08-21 20:15:49 -05:00
committed by Blake Blackshear
parent 04fed31eac
commit ba71927d53
2 changed files with 20 additions and 5 deletions

View File

@@ -47,11 +47,22 @@ cameras:
# - -hwaccel_output_format
# - yuv420p
################
# FFmpeg log level. Default is "panic". https://ffmpeg.org/ffmpeg.html#Generic-options
################
# ffmpeg_log_level: panic
################
# Optional custom input args. Some cameras may need custom ffmpeg params to work reliably. Specifying
# these will replace the default input params.
################
# ffmpeg_input_args: []
################
# Optional custom output args. Some cameras may need custom ffmpeg params to work reliably. Specifying
# these will replace the default output params.
################
# ffmpeg_output_args: []
regions:
- size: 350