GoProConcat is a tool for macOS that merges split video files generated by GoPro cameras into a single file. It also sets the creation and modification dates of the merged file to match those of the original files.
- Merge multiple GoPro video files into a single file.
- Preserve GoPro-specific metadata.
- Set the creation and modification dates of the merged file to match the original files.
- Handles both AVC (GH) and HEVC (GX) encoded files.
- macOS
- ffmpeg
- Command Line Tools (for
SetFile
command)
brew install ffmpeg
xcode-select --install
git clone https://github.com/yakkun/GoProConcat.git
cd GoProConcat
go build -o GoProConcat main.go
./GoProConcat outputfile inputfile1 [inputfile2 ...]
./GoProConcat merged.mp4 GH011234.MP4 GH021234.MP4 GX011234.MP4
This command will merge GH011234.MP4
, GH021234.MP4
, and GX011234.MP4
into a single file named merged.mp4
.
To run the tests, use the following command:
go test
Contributions are welcome! Please fork the repository and create a pull request with your changes.
- Fork it (https://github.com/yakkun/GoProConcat/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- ffmpeg for the powerful multimedia framework.
- djherbis/times for handling file timestamps in Go.