Skip to content

Instantly share code, notes, and snippets.

@ivelin
Created August 21, 2019 21:33
Show Gist options
  • Save ivelin/d3348ead68faf9707071bf9734616a94 to your computer and use it in GitHub Desktop.
Save ivelin/d3348ead68faf9707071bf9734616a94 to your computer and use it in GitHub Desktop.
frigate conf.yml example with ffmpeg parameters
################
# Optional ffmpeg input parameters. Change these only if you are experimenting with ffmpeg parameter optimization.
# Changing these parameters will override the default settings and may corrupt the video capture flow.
################
ffmpeg_input_args:
- -avoid_negative_ts
- make_zero
- -fflags
- nobuffer
- -flags
- low_delay
- -strict
- experimental
- -fflags
- +genpts
- -rtsp_transport
- tcp
- -stimeout
- 5000000
- -use_wallclock_as_timestamps
- 1
- -skip_frame
- nokey
# - -vsync
# - 0
# - -r
# - 6
################
# Optional ffmpeg output parameters. Change these only if you are experimenting with ffmpeg parameter optimization.
# Changing these parameters will override the default settings and may corrupt the video capture flow.
################
ffmpeg_output_args:
- -f
- rawvideo
- -pix_fmt
- rgb24
- -vsync
- 0
################
# Optional ffmpeg log level. Helpful when debugging issues related to ffmpeg.
################
ffmpeg_log_level: info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment