blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:22 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@jagheterfredrik commented on GitHub (Feb 10, 2024):

I managed to statically compile https://github.com/nyanmisaka/ffmpeg-rockchip using @MarcA711's [patches](https://github.com/MarcA711/Rockchip-…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:22 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@MarcA711 commented on GitHub (Feb 10, 2024):

Hey @jagheterfredrik, I also managed compiling https://github.com/nyanmisaka/ffmpeg-rockchip and https://github.com/hbiyik/FFmpeg statically.…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:22 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@jagheterfredrik commented on GitHub (Feb 10, 2024):

Recency: hbiyik update FFmpeg a month ago, then cloned nyanmisaka ffmpeg-rockchip two weeks ago and nyanmisaka/ffmpeg-rockchip is updated last…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:22 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@nyanmisaka commented on GitHub (Feb 11, 2024):

The biggest difference between our forks is whether each component - decoder/filter/encoder is modular. hbiyik's fork bundles RGA and MPP decoder…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:22 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@MarcA711 commented on GitHub (Feb 12, 2024):

@nyanmisaka thank you really much for your explanation. I guess I will switch to your fork then, because most people seem to use it and it is maybe…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:22 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@nyanmisaka commented on GitHub (Feb 12, 2024):

@nyanmisaka thank you really much for your explanation. I guess I will switch to your fork then, because most people seem to use it and it is…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:22 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@hbiyik commented on GitHub (Feb 12, 2024):

a general statement:

use https://github.com/nyanmisaka/ffmpeg-rockchip

https://github.com/hbiyik/FFmpeg is obselete now, propably i should…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:21 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@ThisIsLamer commented on GitHub (Jan 7, 2024):

I figured out the configuration and found a preset that suits me, where the processor is almost not loaded. It's still strange to me that decoding…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:21 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@spattinson commented on GitHub (Jan 28, 2024):

@NickM-27 Have you looked at this ffmpeg implementation https://github.com/nyanmisaka/ffmpeg-rockchip ? It has RGA support so pixel format and…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:21 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@MarcA711 commented on GitHub (Jan 28, 2024):

Hey, I am the guy, who maintains the rockchip image.

I am currently experimenting with the ffmpeg fork that you mentioned and with the fork of…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:21 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@spattinson commented on GitHub (Jan 29, 2024):

@MarcA711 Sounds great, I'll look out for that, I found it a struggle to get ffmpeg compiled static like the current one, gave up and added the…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:21 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@MarcA711 commented on GitHub (Jan 29, 2024):

@spattinson Yes, it is a real struggle to build the rockchip libs statically. The current ffmpeg build is a little bit hacky but it works. I've spent…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:21 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@spattinson commented on GitHub (Feb 5, 2024):

@MarcA711 The issue you are facing accessing the device tree to determine which shared library to use is failing. The device tree was linked in the…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:21 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@MarcA711 commented on GitHub (Feb 5, 2024):

As I mentioned earlier, the file /proc/device-tree/compatible is accessed by the [rknn_toolkit_lite2](https://github.com/rockchip-linux/rknn-toolkit2…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:19 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@NickM-27 commented on GitHub (Jan 5, 2024):

It uses 120-130% of the CPU, but it seems to be the only thing it does, which is copying the stream (I'm not sure about this).

that is decoding…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:19 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@ThisIsLamer commented on GitHub (Jan 6, 2024):

Hello everyone,

I conducted a small study and found that certain parameters heavily load the CPU: -f rawvideo -pix_fmt yuv420p /dev/null.

`/…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:19 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@ThisIsLamer commented on GitHub (Jan 6, 2024):

For some reason, FFmpeg is converting rawvideo using CPU resources. I don't know how to make it do this on the GPU.

After I removed these…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:19 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@NickM-27 commented on GitHub (Jan 6, 2024):

yes because you are entirely removing the decoding of the stream and only copying it for recording, so of course the load will be lower

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:17 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@ThisIsLamer commented on GitHub (Jan 5, 2024):

To be honest, I couldn't find a process that could decode the video stream in 720p, and why is it needed in general?

The only process I could…

blu commented on issue starred/frigate-blakeblackshear-2#4502 2026-02-06 12:47:16 -08:00
[HW Accel Support]: High CPU Usage and Low FPS in Frigate on Orange Pi 5 Plus with RK3588

@MarcA711 commented on GitHub (Jan 5, 2024):

Yeah, Software scaling explains the increased CPU usage. I plan to provide a new FFmpeg version that supports hardware scaling. If you would like to,…