Skip Navigation

[SOLVED] Frigate: vertical camera shrinked vertically

Hi all, I'm pretty new to HA and Frigate. When I installed the cameras (they are all vertical, 9:16), they were correct, I could see all the vertical images. Since about a week they are all shrinked in a 16:9 images/videos, even if they are 9:16

Here is my config

  host: 192.168.31.5

detectors: # <---- add detectors
  coral:
    type: edgetpu
    device: usb

#go2rtc:
#  streams:
#    camera_fronte_ingresso:
#      - rtsp://127.0.0.1:8554/cam/realmonitor?channel=1&subtype=2
#    camera_lato:
#    camera_portico:  
#  log:
#    exec: trace

objects:
  track:
    - person
    - car
    - cat
    - dog
    - truck

cameras:
  camera_fronte_ingresso:
    ffmpeg:   
      inputs:
        - path: rtsp://USER:PW@192.168.31.201:554/cam/realmonitor?channel=1&subtype=2 #rtsp://127.0.0.1:8554/camera_fronte_ingresso  #rtsp://USER:PW@192.168.31.201:554/cam/realmonitor?channel=1&subtype=1
          input_args: preset-rtsp-restream
          roles:
            - detect
        - path: rtsp://USER:PW!@192.168.31.201:554/live # <----- Add stream you want to record from
          roles:
            - record
      hwaccel_args: preset-vaapi
    detect:
      enabled: true # <---- disable detection until you have a working camera feed
      width: 1280 # <---- update for your camera's resolution
      height: 720 # <---- update for your camera's resolution
    record: # <----- Enable recording
      enabled: True
    snapshots: # <----- Enable snapshots
      enabled: True
  camera_fronte_garage:
    ffmpeg:   
      inputs:
        - path: rtsp://USER:PW@192.168.31.201:554/cam/realmonitor?channel=1&subtype=1
          input_args: preset-rtsp-restream
          roles:
            - detect
        - path: rtsp://USER:PW!@192.168.31.202:554/live # <----- Add stream you want to record from
          roles:
            - record
      hwaccel_args: preset-vaapi
    detect:
      enabled: true # <---- disable detection until you have a working camera feed
      width: 1280 # <---- update for your camera's resolution
      height: 720 # <---- update for your camera's resolution
    record: # <----- Enable recording
      enabled: True
    snapshots: # <----- Enable snapshots
      enabled: True

What the heck is going on? Thanks!

3
3 comments