Skip to content

Ensure the result of GpsLocation is consistant when running the regression tests#419

Closed
stefanlenselink wants to merge 1 commit intodrewnoakes:mainfrom
stefanlenselink:copyright-character-gpslocation
Closed

Ensure the result of GpsLocation is consistant when running the regression tests#419
stefanlenselink wants to merge 1 commit intodrewnoakes:mainfrom
stefanlenselink:copyright-character-gpslocation

Conversation

@stefanlenselink
Copy link
Copy Markdown

While preparing a different pull request and running the regression tests tests in metadata-extractor-images for both mov and mp4 files differ in the GpsLocation.

The cause is the Metadata tag is starting with a copyright symbol; while the source-code did not have any / use to have it but it's not there anymore.

Proposed solution is to strip-off the Copyright (and for completeness the @ symbol) and possibly any localisation and compare to the base tag name.

Inspriration / comments taken from: https://exiftool.org/TagNames/QuickTime.html

…ssion tests in metadata-extractor-images for both mov and mp4 files.
@drewnoakes
Copy link
Copy Markdown
Owner

Thanks, this looks good. I'll need to pull it down and run across the regression suite to see what's what.

Also I've been slowly working to improve IsoBmff parsing, which would help with this here. We'd be comparing the original byte arrays, rather than strings (which can hit problems with encoding).

@drewnoakes
Copy link
Copy Markdown
Owner

A simpler fix for this was in #433, so this PR is obsolete now. The string parsing stuff here wouldn't work, as the TypeString is always four characters max.

@drewnoakes drewnoakes closed this May 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants