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

homeassistant

11995 readers
17 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:[email protected]:554/cam/realmonitor?channel=1&subtype=2 #rtsp://127.0.0.1:8554/camera_fronte_ingresso  #rtsp://USER:[email protected]:554/cam/realmonitor?channel=1&subtype=1
          input_args: preset-rtsp-restream
          roles:
            - detect
        - path: rtsp://USER:[email protected]: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:[email protected]:554/cam/realmonitor?channel=1&subtype=1
          input_args: preset-rtsp-restream
          roles:
            - detect
        - path: rtsp://USER:[email protected]: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
[โ€“] [email protected] 1 points 8 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.

[โ€“] [email protected] 1 points 8 months ago

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