Skip to content
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

Please preserve original metadata #99

Closed
reefhound opened this issue Oct 1, 2018 · 2 comments
Closed

Please preserve original metadata #99

reefhound opened this issue Oct 1, 2018 · 2 comments

Comments

@reefhound
Copy link

Losslet Cut is changing the metadata. Attached are files showing output, using exiftool, from the original and from the clip. This is causing errors in other software tools I'm using. Of direct concern are the bolded items below - MIME Type, Major Brand, Minor Brand, Compatible Brands.

======== GH010240.MP4
ExifTool Version Number : 10.64
File Name : GH010240.MP4
Directory : .
File Size : 193 MB
File Modification Date/Time : 2018:09:03 09:25:00-05:00
File Access Date/Time : 2018:10:01 12:37:19-05:00
File Creation Date/Time : 2018:10:01 12:37:19-05:00
File Permissions : rw-rw-rw-
File Type : MP4
File Type Extension : mp4
MIME Type : video/mp4
Major Brand : MP4 v1 [ISO 14496-1:ch13]
Minor Version : 2013.10.18
Compatible Brands : mp41
Movie Header Version : 0

======== GH010240.MP4-00.00.11.431-00.00.20.182.MP4
ExifTool Version Number : 10.64
File Name : GH010240.MP4-00.00.11.431-00.00.20.182.MP4
Directory : .
File Size : 73 MB
File Modification Date/Time : 2018:09:03 09:25:00-05:00
File Access Date/Time : 2018:10:01 12:37:21-05:00
File Creation Date/Time : 2018:10:01 12:37:21-05:00
File Permissions : rw-rw-rw-
File Type : MP4
File Type Extension : mp4
MIME Type : video/quicktime
Major Brand : Apple QuickTime (.MOV/QT)
Minor Version : 0.2.0
Compatible Brands : qt
Movie Data Size : 76086001
Movie Data Offset : 36
Movie Header Version : 0

A number of other tags are also being changed (Handler tags), some are being dropped, and some are being added.

original.txt
clipped.txt

@mifi
Copy link
Owner

mifi commented Jan 27, 2019

Yeah I also noticed that some metadata gets modified when running thru ffmpeg copy, even when using -map_metadata 0 (which we are doing currently). In particular exif data.

Might be a possible to do this:
exiftool -overwrite_original -tagsFromFile UNCUT_FILE -ExtractEmbedded CUT_FILE

But I dunno if it has any side-effects. And I don't know which file formats exiftool works on. Maybe need to have a button for manually enabling this

@mifi
Copy link
Owner

mifi commented Feb 19, 2020

I have added -movflags use_metadata_tags, hopefully it helps. reopen if still an issue.

Also: #1027

@mifi mifi closed this as completed Feb 19, 2020
mifi added a commit that referenced this issue Nov 25, 2020
- Implement an Export summary/confirmation sheet when pressing export
- Move output option buttons to export sheet
- Add config option to disable use_metadata_tags (default to false) #463 #402 #99
- Add config option for avoid_negative_ts #13
- Escape key to close sheets
- Change from mousetrap to hotkeys.js (better unbind - more compatible with react)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants