[Config Support]: Aspect ratio 16:9 / 4:3 with go2rtc #19804
Replies: 3 comments 3 replies
-
|
There is no way to directly force go2rtc or Frigate to always display a specific aspect ratio (such as 16:9) in the Live UI. The aspect ratio used in the Frigate web UI is determined by the stream resolution and client/browser handling, not by a Frigate config parameter. Attempting to set From available discussion, Frigate may intelligently select between MSE and WebRTC streams for live view, and certain browsers (like Chrome) may display 4:3 while others (like Firefox or Safari with WebRTC) show 16:9(3). There is currently no setting to strictly enforce which protocol or aspect ratio the UI will use, and the selection is not user-configurable within Frigate(3). Video recordings will use the resolution/aspect ratio of the source stream as configured in your If you want to ensure a consistent aspect ratio, make sure your camera stream itself is always 16:9 and that all Frigate Check out these potentially useful sources:
Would you like a general answer about video aspect ratios in streaming applications instead? 📚 Sources:
Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
What browser are you using? |
Beta Was this translation helpful? Give feedback.
-
|
I had this issue before, I am using imou ranger s2 camera. I solved it using SmartPSS software from dahua website, and changed the sub-stream camera encoding to NHD(16:9), it was VGA (4:3) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
Good morning everyone,
I have implemented go2rtc in my setup.
However, I noticed that on the main page the aspect ratio is 4:3, but sometimes it changes to 16:9.
If I enter the camera view (still in Frigate), the aspect ratio is 4:3.
On the recordings/timeline page, it is 16:9 and the videos are recorded in 16:9.
Is there a way to force go2rtc to always use 16:9?
I tried adding #width=1920#height=1080 in the ffmpeg configuration, but without success.
(I’ve read that there are some previous posts about this, but I don’t know if anything has changed over time or with the latest versions of Frigate.)
Thankyou!
Version
version: 0.16-0
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
Frigate stats
No response
Operating system
Debian
Install method
Docker
docker-compose file or Docker CLI command
Object Detector
Coral
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions