-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metadata dates are not preserved when merging video files #1008
Comments
Thanks for reporting. I have now fixed this bug and it should work in the next version! As a workaround until then maybe you can enable "Include all streams" when merging, as well as make sure that "Preserve original metadata when merging? (slow)" is set to YES in the export confirm dialog (then close the export confirm dialog and go back to the merge) |
Hi, no problem :) Regarding your workaround, for my example above in the original post I already used the "Include all streams" and "Preserve all MP4/MOV metadata?" options when merging the two files, and metadata was not preserved, so I don't think it works... In addition, after some further research I realised that my original request to copy metadata from the first clip in the list to be merged was slightly wrong, and it would actually be better to take the metadata from the last file not the first, since the metadata times are the end times of the file, not the start times (as per #1017). Thanks |
can discuss in that issue. I'll close this because I implemented it. not sure why the workaround didn't work but we can reopen later if it doesn't work in the next version |
Share information to help me understand
No error report was given.
Lossless Cut Console Log
I have attached the full metadata of the 1st file and the merged file, as reported by MediaInfo:
Metadata of 1st file
Metadata of 1st file merged with a 2nd file via lossless cut
Describe the bug
When merging two mp4 files using lossless cut, the "encoded date", "tagged date" and "recorded date" fields (as reported by mediainfo) for both the overall file and each individual video/audio track in the file, are not copied over to the merged file.
This is unexpected, as usually when trimming clips with lossless cut instead of merging, each of the date metadata fields in the original file are copied over to the trimmed clip.
Changing the "Preserve all MP4/MOV metadata?" option from No to Yes has no effect (the dates are not copied for both options).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I was expecting that the date fields (there are 9 of them total in this example - 3 for the overall file and 2 for each of the 3 tracks) from the first clip in the list of clips to be merged would be copied to the output (or at least there would be an option to do this), as in my case I often have several recordings that are recorded back-to-back with shadowplay and need to be merged into one bigger file for ease of use.
Preserving the mp4 date metadata of the 1st file in the list (i.e. the earliest one) would help with file sorting, because windows uses the "media created date" (aka "encoded date") field from the mp4 (if it is present) instead of "date created" or "date modified" when using the standard "date" filter/column in windows explorer.
Therefore, having a mixture of normal clips which have the date metadata preserved, and merged clips which don't is causing issues with sorting files correctly by date.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: