When recording continuously on older camcorders they may split your video into separate files like the Sony HDR-CX130E does. Now when you just grab your files like 00123.MTS, 00124.MTS etc. and import them into your video editing tool you will notice a small audio gap.
This little script for Windows will put the splitted files back together.
The script assumes that your files are splitted by 1.97GB
. If your camera splits by ~ 4GB
you have to change the script and set that variable split_size
accordingly.
Do not execute this script on the SD card directly!
While this might technically work, you should instead create a dedicated folder and copy your files from the SD Card (e.g. \PRIVATE\AVCHD\BDMV\STREAM) to that folder.
Then copy the script into that folder as well and execute it by double-clicking.
That should be it. You will now get your splitted files combined. Please note that there might be more that one combined file if you stopped your recording. That's by design. Joining them would need FFmpeg or something similar and that is not the use case here.
Enjoy!