I'm trying to organize my photo collection and convert .mov files to .jpeg files while retaining all of the meta data that has been stored. I'm running into a problem with Apple's "Live Photos" though...
I recently downloaded all of the photos from my iCloud account and found that many have been stored as .mov files as "Live Photos". As I only want to include photos in this collection, I'd like to convert all of these .mov files to .jpg files.
So... I'm trying to use python and shell commands to do this. Here's an extract of my code:
# Convert the .mov file into a series of jpegs using ffmpeg
os.system(f'ffmpeg -i {movie} -r {numFrames} -map_metadata 0 -movflags use_metadata_tags {imageRoot}_%0004d.jpg')
# ... some code to find the best slice of the movie to keep as an image ...
# Add any meta tags that may have been missed
os.system(f'exiftool -tagsFromFile {movie} {image}"
Unfortunately, the Geolocation metadata isn't being copied from the .mov file to the .jpg files. exiftool {movie}.mov doesn't list any GPS or Geolocation tags either, but I know that this data is included somewhere within the file as Apple is able to map the location that the 2 second video was taken. Any thoughts as to how I can extract this meta data from Apple's Live Photo .mov clips?
Thanks in advance.
PP