I have BlackVue cams in a couple of my cars. Today, my wife was in an accident (while driving my M3

). 100% not her fault - guy (without a license or proof of insurance) pulled out of a gas station, crossed 3 lanes, and drove right into the side of her as she was heading straight down the road.
But when I got the camera home and pulled the footage, the only two files on the entire SD card that were corrupt were the front and rear 'event' recordings of the accident. The footage before and after the accident are all fine.
We shouldn't need the footage - it's pretty obvious what happened. But I am so pissed at BlackVue right now. What is the !@$%$ point of a dashcam when the footage
you actually need isn't there but everything else is

.
I wanted to expand on my previous post about this. I apologize for the rant, but maybe this will save others here of the same headache I have gone through.
TLDR; Based on my experience with the accident noted in my previous post, and my interaction with BlackVue support, I will no longer purchase, use, or advocate anyone use a BlackVue camera. I'll try my luck with their competitors instead. If you do have a BlackVue camera, I would suggest turning the sensitivity for the G-sensor in Normal mode to Off to avoid generating event files in an accident.
To add some color, I have a background of 30+ years in low-level software development across a variety of hardware platforms and operating systems.
The primary purpose (at least for me) of putting dashcams in my cars is the extra assurance I have that if an accident occurs, I have footage to better understand what happened and be able to provide that footage to law enforcement and/or my insurance provider to support my case.
Like I am sure many dashcams do, BlackVue cameras record continuously as you drive saving every 1 minute of footage as its own video file on the SD card. I presume saving the footage in small chunks like this is done to reduce the loss of data when corruption occurs on the SD card. In theory, a single bad block on the card can at most corrupt 1 file/1 minute of footage, leaving the rest of the footage intact.
When the cameras G-sensor detects an impact to your car, the system writes out a special 'event' video file containing 30 seconds of footage beginning at the time stamp 5 seconds prior to when the impact was detected. It then goes back to recording and saving normal video files in 1-minute increments. It does this for every camera attached to the system.
So, generally speaking, the only files that truly matter are the files that contain the event footage. Without those files, there is no point to having a dashcam (in my use case).
After my accident, the SD card contained 1042 video files. I have front and rear cameras, so this represents about 521 minutes or approximately 8.5 hours of footage from each camera view. Out of the 1042 video files on the SD card, only the 2 files saved as the front and rear 'event' files of my accident were corrupt and unusable. Every other file on the card plays just fine, including all the files immediately before and after the event.
BlackVue initially tried to blame this on bad sectors on the SD card. I tested the card, and it is fine. There are no bad sectors. I am also able to copy the corrupt files (and all other files) off the card with no problems.
BlackVue then asked me to upload the corrupt files so they could have their "technical team" analyze them. This turned out to be just the same CS rep trying to open and play the files himself and then confirming with me that they wouldn't play and were corrupt. Again, he suggested it was a bad SD card.
I used a high-quality SD card, as recommended. I periodically formatted the card and updated the firmware, as recommended. The SD card itself has no errors on it, and all the files on it can be copied easily. Every single video on that card is not corrupt, except the two event files pertaining to the accident. I have examined the two event files with a hex editor and compared them to the mp4 spec and to good recordings from the SD card, and it is clear that data was written to the files where it doesn’t belong, ahead of the header data. The header data itself exists, in the wrong location, and contains errors in certain fields yet some fields are valid.
It appears that something went wrong during the saving of the 2 event files, or a memory buffer that data is cached to before being written to file got corrupted. I suspect this is a bug or failure in their hardware or software. 2 out of 1042 files being corrupted, with those 2 files being unique in how they are handled by their system is highly suspect. BlackVue doesn't care. They basically said, 'shit happens, not our problem'. So, the product didn't work for the exact case it was advertised and I purchased it for.
While investigating all of this, I did notice that you can turn the sensitivity for the G-sensor in Normal mode to 'Off'. Presumably this means it won't detect an impact and record separate event files. Normal recordings should continue to be made during an accident. As long as you retrieve them before the system overwrites them with new files you should have the footage you need. I am changing this setting in the remaining cameras I have until I get around to replacing them.