blu commented on issue starred/frigate-blakeblackshear-2#3908 2026-02-06 11:53:27 -08:00
FFMPEG h.265 -c:v copy workaround

@Zen3515 commented on GitHub (Nov 25, 2023):

For this problem, there's no direct way to fix it. But I found the perfect workaround, rather than patching frigate to support shell=true

I…

blu commented on issue starred/frigate-blakeblackshear-2#3909 2026-02-06 11:53:27 -08:00
[Config Support]: RPi4 High CPU Usage

@NickM-27 commented on GitHub (Sep 22, 2023):

No, I'm asking what the actual resolution of your camera streams are. You can use the ffprobe button in the frigate system page

blu commented on issue starred/frigate-blakeblackshear-2#3909 2026-02-06 11:53:27 -08:00
[Config Support]: RPi4 High CPU Usage

@hatmeh80 commented on GitHub (Sep 22, 2023):

its a 2MP dahua camera connected to a DVR

<img width="923" alt="Screenshot 2023-09-22 at 9 17 35 PM" src="https://github.com/blakeblackshear/frigat…

blu commented on issue starred/frigate-blakeblackshear-2#3908 2026-02-06 11:53:27 -08:00
FFMPEG h.265 -c:v copy workaround

@YBonline commented on GitHub (Apr 21, 2024):

I acquired a property that had 8x WBOX 0E-40DFIK10 (a Hikvision rebrand from my understanding) pre-installed. I initially switched them to H264…

blu commented on issue starred/frigate-blakeblackshear-2#3909 2026-02-06 11:53:27 -08:00
[Config Support]: RPi4 High CPU Usage

@NickM-27 commented on GitHub (Sep 22, 2023):

It's recommended to use substreams. Right now you are telling the pi to scale down the main stream to 1280x720 which uses a lot of CPU.

blu commented on issue starred/frigate-blakeblackshear-2#3909 2026-02-06 11:53:27 -08:00
[Config Support]: RPi4 High CPU Usage

@hatmeh80 commented on GitHub (Sep 22, 2023):

So , what should i do exactly ? Use the lower stream and remove the below detect option ?

detect: width: 1280 height: 720

blu commented on issue starred/frigate-blakeblackshear-2#3908 2026-02-06 11:53:26 -08:00
FFMPEG h.265 -c:v copy workaround

@Zen3515 commented on GitHub (Sep 23, 2023):

go2rtc 1.7 was only released a few weeks ago, based on your timeline it would seem you may be on the go2rtc 1.2 that is included in frigate 0.12 …

blu commented on issue starred/frigate-blakeblackshear-2#3909 2026-02-06 11:53:26 -08:00
[Config Support]: RPi4 High CPU Usage

@NickM-27 commented on GitHub (Sep 22, 2023):

it just means not indented, you could do it like this

blu commented on issue starred/frigate-blakeblackshear-2#3908 2026-02-06 11:53:26 -08:00
FFMPEG h.265 -c:v copy workaround

@NickM-27 commented on GitHub (Sep 23, 2023):

I think even if go2rtc native rtsp doesn't fix, using the ffmpeg input has a decent chance, because the stream that ffmpeg puts out should follow the…

blu commented on issue starred/frigate-blakeblackshear-2#3909 2026-02-06 11:53:26 -08:00
[Config Support]: RPi4 High CPU Usage

@hatmeh80 commented on GitHub (Sep 22, 2023):

Got it, will try now

blu commented on issue starred/frigate-blakeblackshear-2#3908 2026-02-06 11:53:26 -08:00
FFMPEG h.265 -c:v copy workaround

@Zen3515 commented on GitHub (Sep 23, 2023):

I think even if go2rtc native rtsp doesn't fix, using the ffmpeg input has a decent chance, because the stream that ffmpeg puts out should follow…

blu commented on issue starred/frigate-blakeblackshear-2#3909 2026-02-06 11:53:26 -08:00
[Config Support]: RPi4 High CPU Usage

@hatmeh80 commented on GitHub (Sep 22, 2023):

No luck , still at 95% , question does this choice in friaget card affect the cpu ? <img width="435" alt="Screenshot 2023-09-22 at 9 11 05 PM"…

blu commented on issue starred/frigate-blakeblackshear-2#3909 2026-02-06 11:53:26 -08:00
[Config Support]: RPi4 High CPU Usage

@NickM-27 commented on GitHub (Sep 22, 2023):

Not substantially. What are the resolutions of your cameras streams?

blu commented on issue starred/frigate-blakeblackshear-2#3908 2026-02-06 11:53:26 -08:00
FFMPEG h.265 -c:v copy workaround

@NickM-27 commented on GitHub (Sep 23, 2023):

So this type of setup would be native go2rtc handling

blu commented on issue starred/frigate-blakeblackshear-2#3908 2026-02-06 11:53:26 -08:00
FFMPEG h.265 -c:v copy workaround

@github-actions[bot] commented on GitHub (Oct 24, 2023):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.…

blu commented on issue starred/frigate-blakeblackshear-2#3909 2026-02-06 11:53:26 -08:00
[Config Support]: RPi4 High CPU Usage

@hatmeh80 commented on GitHub (Sep 22, 2023):

This is the only place i find resolution relevant config

blu commented on issue starred/frigate-blakeblackshear-2#3908 2026-02-06 11:53:22 -08:00
FFMPEG h.265 -c:v copy workaround

@NickM-27 commented on GitHub (Sep 23, 2023):

go2rtc 1.7 was only released a few weeks ago, based on your timeline it would seem you may be on the go2rtc 1.2 that is included in frigate 0.12

In…

blu commented on issue starred/frigate-blakeblackshear-2#3909 2026-02-06 11:53:21 -08:00
[Config Support]: RPi4 High CPU Usage

@hatmeh80 commented on GitHub (Sep 22, 2023):

Lol , Noob here , no idea how to set it globaly :)

blu commented on issue starred/frigate-blakeblackshear-2#3909 2026-02-06 11:53:19 -08:00
[Config Support]: RPi4 High CPU Usage

@NickM-27 commented on GitHub (Sep 22, 2023):

or you can just set it globally

blu commented on issue starred/frigate-blakeblackshear-2#3908 2026-02-06 11:53:19 -08:00
FFMPEG h.265 -c:v copy workaround

@Zen3515 commented on GitHub (Sep 23, 2023):

looking into those issues more, this seems to be the problem:

ffmpeg looks for codec extradata only in first packet but the RTSP input…