Used to merge them with GoPro Studio, but it took too much effort and had too many steps.
Made a PowerShell script to quickly merge and convert videos using open source tools MKVTools and Handbrake.
With one command line, I get my files merged and compressed to about one-fifth of the original size, ready to upload using the HandBrake preset "Vimeo YouTube HQ 1440p60 2.5K".
Output file is Encoded-{original filename}-{date of subfolder}
https://github.com/alexandrosk0/GorpoMergeAndEncode
Example
.\goproMergeEncode.ps1 -dir "D:\Video\GoPro\2019-04-21\HERO5 Black 1\"
To run from command line: powershell.exe –ExecutionPolicy Bypass -noexit "& 'D:\goproMergeEncode.ps1' -dir 'D:\Video\GoPro\2019-04-19\HERO5 Black 1\' -test"
Output file for D:\Video\GoPro\2019-04-21\HERO5 Black 1\GOPR2548.MP4 is Encoded-GOPR2548-20190421.mp4
Parameters
- -dir Defaults to the current directory
- -preset The default preset is "Vimeo YouTube HQ 1440p60 2.5K".
- -MKVMergeExtraParam Extra parameters for MKVMerge
- -HandbrakeExtraParam Extra parameters for Handbrake
- -test Test merge and encode three seconds of each video, without deleting the original files
- -delete Delete original files if no error is found. Defaults to true
- -mergeAll Ignore file naming and merge all files in the directory
- -noEncoding Skip encoding step, only merge
Notes
Based on the file name format GOPR2548.MP4 and multiple files GP012548.MP4, GP022548.MP4,... and folder structure ..\GoPro\2019-04-21\HERO5 Black 1
Note that the script expects an arrangement that works for single videos for the camera models: HD HERO2, HERO3, HERO3+, HERO (2014), HERO Session, HERO4, HERO5 Black, HERO5 Session, HERO (2018)
For HERO6 Black, & HERO7 (White, Silver, Black) or other formats use -mergeAll parameter.
Requirements
Requires MKVmerge and HandBrakeCLI installed in C:/Program Files/MKVToolNix\ and C:\Program Files\HandBrake\ respectively.
Best of all, it's a text-based script, you can change it at will.