-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Support]: API bugs #6431
Comments
has_clip simply means that the camera currently has recording enabled, it's not an indication that the clip is ready. The segment hasn't finished processing from cache most likely. #2128 is a related feature request |
My task is obtain a video clip of the minimum possible length (but not less then -5:+5) within the range of -5:+5 seconds concerning the moment of event detection. Do you have any suggestions regarding a workaround? |
you'll need to give it some delay between when the message comes through and your request to get the recording |
I had hoped that the presence of the attribute "has_clip" means the existence of the record, rather than its potential availability 🙁 |
Right, but it doesn't, which is the reason for the pinned feature request I linked above |
Do you have any plans to make significant changes to the recording manager subsystem (#6248) in the near future? I have some ideas on how to resolve these issues and implement flexible recording storage settings, but I would prefer not to do parallel useless work. |
@blakeblackshear would be better to answer that question |
There aren't any additional plans to overhaul the recordings in the next release beyond what has already been merged into dev. I would definitely suggest outlining your ideas ahead of time in case I think they are problematic long term. |
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
I received an MQTT event with the following content:
I see that the has_clip field is true. This means I can get the video of this event.
I take the after.snapshot.frame_time field (1683526468.342398), as well as before.start_time (1683526465.197185) and try to get the video between these timestamps through the API. Just in case, I add 5 seconds on both sides.
I form a request to the API: curl http://localhost:5001/kitchen/recordings?before=1683526460&after=1683526468
I get the response: []
What I'm doing wrong?
Version
latest dev
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
No response
Operating system
Other Linux
Install method
HassOS Addon
Coral version
USB
Network connection
Wired
Camera make and model
camera-independent-issue
Any other information that may be helpful
No response
The text was updated successfully, but these errors were encountered: