I just thought to try playing back the videos using VIOFO's own video player, I had forgotten it existed. lol.
What do you know.
The video files that ffmpeg flags to have error, stops 2 sec before they are supposed to and will not continue playback to show those last 2 secs. This is the final video files that are active just as i shut off my car when i parked at the Post Office that trip.
It does this for each channel if i play back the single channel video file, or use the 3ch multi-playback view mode.
So, i gather, the dash cam has a 2 sec buffer, and that is what needs to be written to disk when power is cut.
View attachment 86015
EDIT:
With this added information. I very much feel the cause i 100% one of two things, or a mix of both perhaps.
The cameras firmware is not well optimized enough or has a bug that it is not fully flushing out its record buffer to the ssd when power loss is detected.
There may be a available power issue too, the caps can not provide enough powered time to complete this function. However, seeing as the behavior still happens when i used a much lower power draw usb flash drive connected to the USB C ssd port, either this is not the main cause, or there just is so little capacity left that it would affect any external device connected, no matter how low a power draw it has.
As far a power limits go, its too bad that the ssd enclosure i had tried with the cam, did not work. As it has Power Loss Protection and had its own internal caps to keep the drive powered for about 10secs after power loss. However, the A329S even in single channel model, would just hard crash and power off after less than 1 min in use, when that enclosure was in use.
I wonder if a Active USB cable would be just enough to address the possible power issue. If the ssd is fully loosing power before the camera does, having a few more ms of power to the ssd may be all it needs. Maybe the Active cable can accomplish that? (EDIT: upon more research, i am thinking not, since "Active" Extension cables are more signal amplifier than they are any sort of capacitor ability.) (EDIT2: Yea. Nope. I did a test on PC with that usb power meter to simulate in car. Had to use adapters with my A to A usb 2.0 extension cable though. So, C to A on the pc side, then A to C cable at the Active A end of the cable. Voltage drop to 4.3V and the meter glitched out during read test (flashing white screen). Drive slowed as well. so, not gonna bother trying adding in a Active cable in car. )
But, if the cam itself is loosing power fully, and it is the one that is failing to flush its cache to the ssd regardless of ssd powered state...then, i do not see a way to address that, aside from manually stopping recording, then manually power off before power is cut.
Or, VIOFO maybe just needs to improve their firmware to be more efficient and faster.