gopro / labs

GoPro Labs
Apache License 2.0
483 stars 40 forks source link

Feature Request: Create mergeable split video files #273

Closed Leseratte10 closed 1 year ago

Leseratte10 commented 1 year ago

The GoPro cameras split recorded video into 4GB or 12GB chunks depending on the camera and the SD card filesystem - but despite searching around the internet and asking around on forums, there seems to be absolutely no way to merge these files together in a way that keeps all metadata intact, including the timecode section and the GoPro metadata stream.

There's a section on the GoPro Labs page - https://gopro.github.io/labs/control/chapters/ - that explains how to merge chapters, but that doesn't work correctly.

ffmpeg, even in its newest version, can combine the video and audio streams just fine, but A) it modifies the stream metadata and B) it doesn't correctly copy/merge the Timecode and the GoPro metadata stream with all the GPS and Gyroscope data. Neither does the "ReelSteady-Joiner", because it's just a GUI for ffmpeg. The provided udtacopy program from the link above copies the global file metadata, but not the stream metadata, and it also doesn't do anything about the GPMD and TMCD streams.

This means that I can merge the video files together to view them in normal programs or upload to YouTube or do whatever with them, but I always need to archive / store the original split files as well, just in case I need to access the GPS/Gyro/other GoPro metadata later, because there's no tool that can merge these.

I see three possible ways this annoying issue could be fixed:

Is this something that could potentially be added?