Dashcams can sometimes have a few seconds of gap between recordings when ending the current file and starting the next.
This is bad because it's possible for an emergency event during your drive to occur during one of those gaps. It's best to detect that your dashcam suffers from such recording gaps and address it before it matters most.
So, here's a quick tool to detect the gaps. I wrote more about it here.
Example command:
detect.py --dir "/memory_card/recordings"
Can output something like:
Detected 6408ms gap between ".../2017_0114_141750_008.MP4" and ".../2017_0114_141805_009.MP4"
Detected 3520ms gap between ".../2017_0114_141805_009.MP4" and ".../2017_0114_141816_010.MP4"
Detected 1000ms gap between ".../2017_0116_121056_017.MP4" and ".../2017_0116_121557_018.MP4"
Detected 1000ms gap between ".../2017_0205_153459_307.MP4" and ".../2017_0205_153959_308.MP4"
Every platform is different so these instructions are only in general terms.
- Download detector/detect.py and requirements.txt.
- Or install git and
git clone
this repository.
- Or install git and
- Use a Python virtual environment with pip to set up the dependency for this tool.
- Dependency installation command is typically:
python3 -m pip install -r requirements.txt
- Dependency installation command is typically: