Feature Request: Create mergeable split video files #276
Replies: 3 comments 8 replies
-
I disagree with much of your findings. Likely the only thing that might need work is timecode, yet ffmpeg should support that. Otherwise ReelSteady-Joiner works correctly, as does the manual joining instructions which I wrote, as if it didn't, ReelSteedy would not work, it uses all the streaming GPMF data. I use these tools regularly. So you should revisit to see what might be going wrong for you. As for no chaptering, that is harder, as all the indexing is saved upon file close, so more indexes have to be held in memory. So there are limits. There is an almost completely untested hack, try oM64BT=32000, this will give you 32GB chapters. Now this might not work in all capture modes, like 2.7k240 is risky, as high framerate mean more indexes to buffer. I did a test using 190Mb/s at 24p, and 32GB chapters worked fine. Low bitrates with high fps, are the biggest memory concern. I don't use low bitrates, so I'm trying 150Mb/s at 240fps and 64GB chapters now, that will take a while. |
Beta Was this translation helpful? Give feedback.
-
I am having the same issue. |
Beta Was this translation helpful? Give feedback.
-
i think you once replied to me before on the gopro reddit, i tested the 64BT=64000 command and still resulted in split files despite the recording not even reaching the 64000 file size, you said that for some reason the chapter will automatically split at the 81 minute mark, was this resolved? thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
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:
copy \B GX010009.MP4 + GX020009.MP4 fullvideo.MP4
, or on Linux,cat GX010009.MP4 GX020009.MP4 > fullvideo.MP4
to get a joined/merged video with all the metadata intact and a proper GPS data stream. So, once the cam hits the 4G/12G limit, just close the file, open a new one, and continue writing, instead of writing a whole new MP4 stream file.Is this something that could potentially be added?
Beta Was this translation helpful? Give feedback.
All reactions