Closed krcm0209 closed 1 year ago
The RPi hardware decoder does not support resolutions greater than 1920x1080 for h264
The RPi hardware decoder does not support resolutions greater than 1920x1080 for h264
Are you aware of support for higher resolutions with h265?
The RPi hardware decoder does not support resolutions greater than 1920x1080 for h264
Are you aware of support for higher resolutions with h265?
It is higher at 3840x2160 but ffmpeg doesn't have much support for the RPi h.265 decoder
I can verify that setting my camera to a lower output resolution fixed this issue.
On h.265: I can't recall the specifics, but I think I had tried switching to h.265 as a troubleshooting step, and was met with different errors, but ultimately it still would not work. At this time, is Frigate unable to support hardware decoding at 4K on Raspberry Pi 4 until the RPi distribution of ffmpeg supports it?
At this time, is Frigate unable to support hardware decoding at 4K on Raspberry Pi 4 until the RPi distribution of ffmpeg supports it?
No, it won't be supported until then.
to be clear, would it be better to just don't use hardware acceleration and accept performance penalties but using higher resolution because of the supporting cam, using a coral. Or should you lower the resolution to ensure the hwaccel is getting utilized?
When I wasn't using HW acceleration in my setup, I was seeing CPU usage percentages higher than I'd like. Probably more of a case-by-case thing folks need to determine for themselves based on their own setups and tolerances.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the problem you are having
Frigate / FFmpeg cannot process the RTSP video stream when I attempt to use hardware accelerated decoding. I currently have my camera set to use h.264 encoding because I figured it would be less problematic than h.265. Everything works when I am not attempting to use hardware accelerated decoding. That is, when I comment out the ffmpeg global section in the
frigate.yml
file.Version
0.12.0-beta9
Frigate config file
docker-compose file or Docker CLI command
Relevant log output
FFprobe output from your camera
Operating system
HassOS
Install method
HassOS Addon
Network connection
Wireless
Camera make and model
Amcrest AD410
Any other information that may be helpful
I did not increase the allocated RAM for the Pi4 GPU to at least 128 as recommended in the beta docs, because according to the official Pi documentation for the Pi4, 76 is the default allocation, and the
gpu_mem
recommended maximum is also 76.