[Camera Support]: EmpireTech IPC-T54IR-AS 2.8mm S3 image squished #20452
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 13 replies
-
Based on your ffprobe output showing a 2688x1520 resolution stream, the black bars are likely appearing because Frigate's default display assumes a standard 16:9 aspect ratio, but your camera has a different aspect ratio. Your EmpireTech camera appears to be using Dahua/Amcrest RTSP format. For optimal configuration, you should specify the detect resolution to match your camera's actual resolution (1): basement_camera:
ffmpeg:
inputs:
- path: rtsp://userid:pw@ipaddr/cam/realmonitor?channel=1&subtype=0
roles:
- record
- path: rtsp://userid:pw@ipaddr/cam/realmonitor?channel=1&subtype=1
roles:
- detect
detect:
width: 2688
height: 1520
fps: 5 The RTSP URL format you're using follows the Amcrest & Dahua pattern documented in Frigate (2). The For camera optimization:
Your current configuration looks good overall, but adding the explicit detect resolution should resolve the display aspect ratio issue. 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
You're using the low quality sub stream. You should enable sub stream 2 and 3 |
Beta Was this translation helpful? Give feedback.
-
I'd recommend configuring go2rtc and setting up the streams for the UI. Frigate doesn't take advantage of any camera's onboard AI features - they usually are not exposed in any useful way, and even if they were, they'd be too slow for Frigate to use them. |
Beta Was this translation helpful? Give feedback.
-
Well here's a freaky issue. I 'previously had a camera named "basement_camera", then today I switched everything to go2rtc. Out of 11 cameras 10 converted with no problem, but basement_camera worked but in live view it said that streams were not enabled (despite that the camera was using the go2rtc rtsp link and worked. It wasn't until I renamed the camera to something else (as a test I tried basement_camera1 that it started working, then I renamed it back and it stopped working again. So I'm wondering if there's some old info with the old name in a file or db file somewhere that prevents it from working with that one old name. Any idea where this might be and how to clear it out? |
Beta Was this translation helpful? Give feedback.
Based on your ffprobe output showing a 2688x1520 resolution stream, the black bars are likely appearing because Frigate's default display assumes a standard 16:9 aspect ratio, but your camera has a different aspect ratio.
Your EmpireTech camera appears to be using Dahua/Amcrest RTSP format. For optimal configuration, you should specify the detect resolution to match your camera's actual resolution (1):