Clear SD card based on storage capacity. #1315
Excalibur20
started this conversation in
Feature Requests
Replies: 1 comment 4 replies
-
Why not just use Clear 128GB before your Exit? Clear will only remove up the half the SD Card, and only the oldest files. Also on HERO12 and HERO13 you have the system variable 'f' for how full the SD card is.
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm sure this has probably been mentioned somewhere and I haven't seen it given how many people are looking to set up their GoPros as dashcams (myself included), but I was wondering if there was a way to clear the SD card only after it reaches a certain capacity. This would allow for a looping mode similar to dedicated dashcams, where the camera records videos of set length, stops and starts continuously until full and then overwrites the oldest files. I can set the camera to stop and start again using the block coding, but there doesn't seem to be a way to clear the SD card when it gets full. My current workaround is to clear it after a certain number of start/stop cycles. Here I have the partial code for what I'm trying to do:

The idea is that after 30 minutes, the camera starts a new file and it does that 4 times before clearing half the card to make more room. Ideally it would do that indefinitely until the card is full, and only then wipe half the card. Thanks for any help.
Beta Was this translation helpful? Give feedback.
All reactions