Replies: 3 comments
-
Hello @philc You probably already found it but take a look at Movie dates and Photos.app Didn't test/use cinematic but mov and mp4 to e date field Photos prefers to use is Keys -- which I did not find in your report. Don't your files have it?
To ensure all metadata is exported by osxphotos you'd have to also use --exiftool. You can also use --sidecar json to save metadata in a sidecar file which you can then use glob import (when you reimport the file but you must keep the same name on the files edited as the original on reimport On import you can also use the new functionality with --exportdb to re-set metadata and album where the exported file was originally. |
Beta Was this translation helpful? Give feedback.
-
@philc I believe the difference between You can bulk fix these using |
Beta Was this translation helpful? Give feedback.
-
Hey folks, thank you for the suggestions. @oPromessa Adding @RhetTbull I suspected something like that, but the |
Beta Was this translation helpful? Give feedback.
-
I'm using osxphotos to export, edit, and reimport photos back into Apple Photos. When reimported, the "edited" cinematic videos appear in the wrong place in the Photos timeline view, shifted by the timezone offset difference between my Mac's local time vs. where I shot the video.
This looks like an underlying export bug in Apple Photos, which osxphotos preserves, and thought I'd post what I've found, in case someone has further context.
I've observed this issue with all cinematic videos shot with an iPhone, but not regular videos, and not regular/portrait photos.
Using the Apple Photos UI, when exporting the original video, deleting it from Photos, and reimporting it, it appears in the correct position on the timeline.
When using the "plain" export in the Photos UI (i.e. edits included), after re-importing the video, it's time-shifted (3 hours, in my case).
This also happens when exporting and reimporting the video using osxphotos. I used this command:
osxphotos --download-missing --touch-file --selected the-output-dir
Using exiftool, I diffed and compared the timestamp fields of the original vs the _edited version of the cinematic, some of which were different.
I set each field to match, manually, and diffed the results to compare:
And yet, after this, the edited video still imports in the wrong place in the timeline.
HOWEVER, this does resolve the issue, and the edited video will now import in the correct place in the timeline:
time:all
's behavior shouldn't be different than what I did in my tag by tag version of the command, and the diff results are the same, and yet it's modified some tag which Photos uses.I thought I'd post this workaround/resolution for anyone who encounters the same problem. Unfortunately, I still don't understand the solution. Which metadata tag, precisely, is Photos using for the file's timestamp, and why is the tag's value different for the "edited" cinematic video than the original?
Beta Was this translation helpful? Give feedback.
All reactions