Set User Agent for FFmpeg calls (#4555)

* Set User Agent for FFmpeg calls

* Allow to use shell-like string args

* Add test for arg as string with space
This commit is contained in:
Felipe Santos
2022-11-30 19:53:45 -03:00
committed by GitHub
parent 5ad391977e
commit 4523c9b06d
8 changed files with 40 additions and 6 deletions

View File

@@ -142,7 +142,7 @@ birdseye:
# Optional: ffmpeg configuration
ffmpeg:
# Optional: global ffmpeg args (default: shown below)
global_args: -hide_banner -loglevel warning
global_args: -hide_banner -loglevel warning -user_agent "FFmpeg Frigate"
# Optional: global hwaccel args (default: shown below)
# NOTE: See hardware acceleration docs for your specific device
hwaccel_args: []