blu commented on issue starred/frigate-blakeblackshear-2#4245 2026-02-06 12:25:07 -08:00
[HW Accel Support]: Adding go2rtc presets

@MarcA711 commented on GitHub (Nov 18, 2023):

Apparently, the hardware presets were not the only issue. The problem still occurs. I will update the issue tomorrow with new log outputs etc.

blu commented on issue starred/frigate-blakeblackshear-2#4246 2026-02-06 12:25:07 -08:00
[Support]: WARNING : Unable to keep up with recording segments in cache for ... Keeping the 5 most recent segments out of 6 and discarding the rest...

@quantummobile commented on GitHub (Nov 18, 2023):

Okay I understand what is going on here. Your pre_capture is 120 seconds which is too long for the assumptions made by the recordings…

blu commented on issue starred/frigate-blakeblackshear-2#4246 2026-02-06 12:25:06 -08:00
[Support]: WARNING : Unable to keep up with recording segments in cache for ... Keeping the 5 most recent segments out of 6 and discarding the rest...

@NickM-27 commented on GitHub (Nov 18, 2023):

You can get a shell in the container with docker exec -it frigate /bin/bash then run ls /tmp/cache

blu commented on issue starred/frigate-blakeblackshear-2#4245 2026-02-06 12:25:06 -08:00
[HW Accel Support]: Adding go2rtc presets

@NickM-27 commented on GitHub (Nov 18, 2023):

That would indicate that ffmpeg is not receiving any data. I'm assuming it's the same when using the restream preset?

blu commented on issue starred/frigate-blakeblackshear-2#4246 2026-02-06 12:25:06 -08:00
[Support]: WARNING : Unable to keep up with recording segments in cache for ... Keeping the 5 most recent segments out of 6 and discarding the rest...

@NickM-27 commented on GitHub (Nov 18, 2023):

it would also be helpful to know at what time the event occurred that had missing recording segments

blu commented on issue starred/frigate-blakeblackshear-2#4245 2026-02-06 12:25:06 -08:00
[HW Accel Support]: Adding go2rtc presets

@MarcA711 commented on GitHub (Nov 18, 2023):

Yes, the restream preset doesn't work as well. This is confusing, since I can save the go2rtc stream to a mp4 file on my host machine that uses the…

blu commented on issue starred/frigate-blakeblackshear-2#4245 2026-02-06 12:25:06 -08:00
[HW Accel Support]: Adding go2rtc presets

@NickM-27 commented on GitHub (Nov 18, 2023):

Yes if you open http://frigate:5000/api/config you will find the ffmpeg_cmds

blu commented on issue starred/frigate-blakeblackshear-2#4246 2026-02-06 12:25:06 -08:00
[Support]: WARNING : Unable to keep up with recording segments in cache for ... Keeping the 5 most recent segments out of 6 and discarding the rest...

@NickM-27 commented on GitHub (Nov 18, 2023):

by the way, it looks like you kept the old motion detection values despite the release notes explaining motion detection has changed and these old…

blu commented on issue starred/frigate-blakeblackshear-2#4245 2026-02-06 12:25:06 -08:00
[HW Accel Support]: Adding go2rtc presets

@MarcA711 commented on GitHub (Nov 18, 2023):

Ah, I see the problem. My cam streams h265. I want to record h264. So, I transcode it using go2rtc.

Now, I used the hardware accel preset…

blu commented on issue starred/frigate-blakeblackshear-2#4246 2026-02-06 12:25:06 -08:00
[Support]: WARNING : Unable to keep up with recording segments in cache for ... Keeping the 5 most recent segments out of 6 and discarding the rest...

@quantummobile commented on GitHub (Nov 18, 2023):

You can get a shell in the container with docker exec -it frigate /bin/bash then run ls /tmp/cache

ls /tmp/cache mainhallway-e1pro@2023…

blu commented on issue starred/frigate-blakeblackshear-2#4245 2026-02-06 12:25:06 -08:00
[HW Accel Support]: Adding go2rtc presets

@MarcA711 commented on GitHub (Nov 18, 2023):

I looked it up in the docs, I can set the hwaccel args for each input. This would solve the problem, I will try it out later.

blu commented on issue starred/frigate-blakeblackshear-2#4246 2026-02-06 12:25:06 -08:00
[Support]: WARNING : Unable to keep up with recording segments in cache for ... Keeping the 5 most recent segments out of 6 and discarding the rest...

@quantummobile commented on GitHub (Nov 18, 2023):

by the way, it looks like you kept the old motion detection values despite the release notes explaining motion detection has changed and these…

blu commented on issue starred/frigate-blakeblackshear-2#4246 2026-02-06 12:25:06 -08:00
[Support]: WARNING : Unable to keep up with recording segments in cache for ... Keeping the 5 most recent segments out of 6 and discarding the rest...

@NickM-27 commented on GitHub (Nov 18, 2023):

Okay I understand what is going on here. Your pre_capture is 120 seconds which is too long for the assumptions made by the recordings maintainer.…

blu commented on issue starred/frigate-blakeblackshear-2#4245 2026-02-06 12:25:06 -08:00
[HW Accel Support]: Adding go2rtc presets

@NickM-27 commented on GitHub (Nov 18, 2023):

There's no particular reason, just that the record and detect can be done in the same ffmpeg process so it didn't make sense to force it out for…

blu commented on issue starred/frigate-blakeblackshear-2#4246 2026-02-06 12:25:02 -08:00
[Support]: WARNING : Unable to keep up with recording segments in cache for ... Keeping the 5 most recent segments out of 6 and discarding the rest...

@quantummobile commented on GitHub (Nov 18, 2023):

While this is happening it will be good to know the contents of /tmp/cache

How would I get these?

blu commented on issue starred/frigate-blakeblackshear-2#4245 2026-02-06 12:25:02 -08:00
[HW Accel Support]: Adding go2rtc presets

@NickM-27 commented on GitHub (Nov 18, 2023):

Do you see anything being created in /tmp/cache ?

blu commented on issue starred/frigate-blakeblackshear-2#4245 2026-02-06 12:25:02 -08:00
[HW Accel Support]: Adding go2rtc presets

@MarcA711 commented on GitHub (Nov 18, 2023):

No, the folder is empty.

blu commented on issue starred/frigate-blakeblackshear-2#4246 2026-02-06 12:25:02 -08:00
[Support]: WARNING : Unable to keep up with recording segments in cache for ... Keeping the 5 most recent segments out of 6 and discarding the rest...

@quantummobile commented on GitHub (Nov 18, 2023):

Also there's no reason not to use a coral, it would only help

I am using coral on another machine, works like a charm, though the same…

blu commented on issue starred/frigate-blakeblackshear-2#4245 2026-02-06 12:25:00 -08:00
[HW Accel Support]: Adding go2rtc presets

@MarcA711 commented on GitHub (Nov 18, 2023):

This is the full log after some minutes:

blu commented on issue starred/frigate-blakeblackshear-2#4246 2026-02-06 12:25:00 -08:00
[Support]: WARNING : Unable to keep up with recording segments in cache for ... Keeping the 5 most recent segments out of 6 and discarding the rest...

@NickM-27 commented on GitHub (Nov 18, 2023):

Also there's no reason not to use a coral, it would only help