this post was submitted on 24 Feb 2024
5 points (100.0% liked)

homeassistant

11833 readers
10 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] d2k1@feddit.de 1 points 6 months ago (1 children)

Please format your config so it is readable. What you have posted here is completely unintelligible, especially on mobile. Use code blocks for formatting or link to a pastebin or Github Gist.

[โ€“] peregus@lemmy.world 1 points 6 months ago

Sorry, I've realized that as soon as I posted it, but I got banned straight away.