-
-
Notifications
You must be signed in to change notification settings - Fork 90
Combining multiple files (over 4GB/12GB Limit) #122
Comments
you can combine all of the files without reconverting them with avidemux...as long as video/audio format/bitrate and dimensions are the same on all videos |
Open avidemux |
4 GB files can be concatenated through the process described here: https://gopro.github.io/labs/control/chapters/ |
I did it, before posting this issue. The resulting file won't work with gyroflow. |
Thanks, I'll try this solution asap |
Regarding 12GB chapters... Gyroflow can't read the gyro data from a MP4 file bigger than 4 GB, but you can use the MP4 for video and the LRV file for gyro. Of course, if you have a long video that splits at 12GB, you'd still have the same issue. Edit: I hadn't opened the link you replied to when I wrote this. I guess you already concatenated the files, but it still didn't work. Well, the same applies. If the file is bigger than 4GB, Gyroflow can't read the gpmf. What you can do is compress the mp4 file to less than 4GB (make sure the gpmf data is mapped), then use that as gyro. |
@MiniGod I havent tried your solution yet , did you? |
Yes I've done it with > 4GB files straight from camera (below 12GB). |
no chance to stich back 4GB files instead? |
I tried using again https://gopro.github.io/labs/control/chapters/ method. The output mp4 is read by GF but gyro data seems to be incorrectly scaled as the stabilization is really different from what you get from the single chapters. |
I am not a ffmpeg expert, but I understood that GoPro Labs solution moves gpmd stream from stream 0:3 to 0:2, while 0:2 usually contains tmcd stream, which I understand contains time sync data, and ffmpeg is not able to copy this stream. |
by the way, method suggested by @ricardouk does not work either as avidemux ignores metadata stream |
I don't have experience with stitching split files. I've only compressed a single up-to 12GB chapter file to become less than 4GB so that gyroflow v0 (this repo) could load it. To do that I did the same mapping of the streams as in the link, I assume the issue is with the 2nd command ( |
@MiniGod , just added some info here |
@MiniGod, yes, Meanwhile I tried using ReelSteady on the file joined with GoProLab procedure and... it works. So I think missing TMCD stream is not so relevant. |
@ElvinC , could you suggest how can I check gyro data consistency between split and joined files? Loading 1st chapter gives a excellent result, while loading the stitched file does not. Again, what is strange is : result on 1st file are comparable between GyroFlow and ReelSteady, while only RS si capable of working correctly with the stitched file. Do you think I should upload these clips somewhere so they can be used for testing? |
I happened to solve it (at least for me) - I join 4 GB files to one big video file like this (on Linux):
where content of list.txt is something like this:
Tested with GF v1.0.0-rc - it reads gyro data from files bigger than 4 GB ok. The only issue is, that GF doesn't automatically detect lens profile after loading joined.mp4 but this you can fix youself manually in GF (look what's detected when using GF with one of your original input files and choose the same manually after loading joined.mp4) |
Thanks @wdim0 .... honestly I got very good results with https://github.com/rubegartor/ReelSteady-Joiner which has its GUI and do not require writing file lists or shell cmds. I'll try your solution as well next time I will join chapters. |
I just wanted to share that I used @wdim0 's ffmpeg solution to combine my files to a single 36gb file that GyreFlow opened, processed and rendered flawlessly. It even got the lens-data correct. Thank you all. :) |
How to merge DJI O3 files? ReelSteady-Joiner and this ffmpeg approach doesn't work ( |
This is the way. |
Link to the docs for this https://docs.gyroflow.xyz/app/getting-started/file-joiner |
Hi, I tried joining 3 video file chapters from the split video made by CadDx Walnut camera using GF 1.5.1. GF joined them successfully and also created a .gcsv with the same name as described as the video -- so exactly as per https://docs.gyroflow.xyz/app/getting-started/file-joiner. However, the video doesn't get stabilized even around the green labeled sync points. I have 4 red and 2 green labeled sync points and gyro data appears empty/flat in the middle part of the video that corresponds to the 2nd gcsv file. I do have all 3 mp4 and 3 gcsv files, which are part of the same video split by the camera. In another test, each video stabilizes properly by itself without joining using the same stabilization settings. So, something is iffy with the joining. Any ideas? FOV 1.0, DEFAULT smoothing, smoothness 0.5-0.75, zooming speed 2.5, rolling shutter left at defaults see below. Picture: 3 videos joined w/ missing gyro data for the 2nd video: Picture: zoomed in one sync point in the 1st video when joined, but the video is shaking in the joined video |
Hi, please direct this to https://github.com/gyroflow/gyroflow. Furthermore, attaching some sample files would be useful. I'll archive this repo since it's now inactive |
Hi there,
if working with split files (4GB limit or 12 with labs firmware), which is the best workflow to combine the files and have them processed correctly by Gyroflow?
The text was updated successfully, but these errors were encountered: