Skip to content
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

Help/guidance with circular buffered recording #133

Open
grancola opened this issue Jul 27, 2020 · 0 comments
Open

Help/guidance with circular buffered recording #133

grancola opened this issue Jul 27, 2020 · 0 comments

Comments

@grancola
Copy link

Hello, I'm using this plugin and works great but I wonder if I can get any assistance on how to get circular buffer implemented with camera-plus, and store 10 seconds before and after an event is picked up by the phone (sound)

A typical use-case for this sort of storage is security applications where one wishes to detect motion and only record to disk the video where motion was detected. This example keeps 20 seconds of video in memory until the event is detected (sound) Once the event is detected, the script waits 10 more seconds (so that the buffer contains 10 seconds of video from before the event, and 10 seconds after) and writes the resulting video to disk before going back to waiting

Any ideas? thanks

@grancola grancola changed the title Help/guidance circular buffered recording Help/guidance with circular buffered recording Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant