Skip to content
Discussion options

You must be logged in to vote

You can setup a duplicate camera and use ffmpeg to generate a low-res black stream as the detect stream. This should use minimal CPU.

cameras:
  duplicate_for_record_only:
    ffmpeg:
      inputs:
        - path: /dev/zero
          input_args: -re -s 640x480 -f rawvideo -pix_fmt rgb24 -r 1
          roles:
            - detect
        - path: rtsp://<high_res>
          roles:
            - record
    detect:
        enabled: False
        height: 480
        width: 640
        fps: 1

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@transplier
Comment options

transplier Dec 17, 2021
Author Sponsor

@ceandraka
Comment options

@blakeblackshear
Comment options

@ceandraka
Comment options

@ceandraka
Comment options

Answer selected by transplier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants