Skip to content

Instantly share code, notes, and snippets.

@haade-administrator
Last active February 20, 2023 07:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haade-administrator/8275007ef9a895e69474c45a968d98aa to your computer and use it in GitHub Desktop.
Save haade-administrator/8275007ef9a895e69474c45a968d98aa to your computer and use it in GitHub Desktop.
esp32-cam AI Thinker integration Frigate
ESP32CAM: # Name of camera
ffmpeg:
input_args: -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -c:v mjpeg
output_args:
detect: -f rawvideo -pix_fmt yuv420p
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an
rtmp: -c:v libx264 -an -f flv
inputs:
- path: http://your-ip-address:8080
roles:
- detect
- rtmp
- record
detect:
width: 1024
height: 768
fps: 25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment