Coincidentally I was playing with the batch files just this weekend, because I noticed a bit of a problem when you use time-lapse for parking mode (no audio) and then merge with normal/event files. I found that if the *first* video in the sequence was parking, then ffmpeg will decide to omit the audio for the entire thing. But if the first video had sound, then you were okay.
I ended up with this:
Code:
ffmpeg -hide_banner -nostats -v fatal -probesize 4294M -analyzeduration 4294M -f concat -safe 0 -i "%folder%\tslist.txt" -c copy -bsf:a aac_adtstoasc "%folder%\%range%.mp4"
Adding the probesize & anaylzeduration didn't negatively effect the time spent doing the concat, but told it to look far ahead to determine the correct encodings.
Nigel's suggestion above may help with the trimming, but you likely want to not do that with Parking Mode files, especially if using time-lapse, because the file lengths may not be consistent (the last one before switching to Normal may not be an even minute length).
What I'm finding with my 750S is that the Normal/Event files show a length of exactly 1 minute (not 1 minute + 3 seconds) (or 3 minutes + 3 seconds for lower-res), So you'd want to trim to 0:57 or 2:57. I haven't tried that yet.
Another thing I see is that when I PIP the Front & Rear, sometimes the timing gets out of sync by a couple of seconds (watch the clock displays). But not always, which is curious. I need to play with that a bit too.
Definitely there are enough minor variations in the files grabbed from the camera that this is never going to be an exact science. I'm coming to the conclusion that some "glitches" may be unavoidable.