Hi,
I have a Motion Photo jpeg file and I'd like to produce two files from it:
1. A video
2. A photo (maintaining EXIF information apart from the video)
To extract the video I can do this:
exiftool -b -EmbeddedVideoFile file.jpg >video.mp4
But how can I extract just the photo, without stripping out all the other EXIF metadata too?
I tried this:
exiftool -EmbeddedVideoFile= file.jpg
but I get the error:
Warning: Sorry, EmbeddedVideoFile is not writable
Thanks :D
The EmbeddedVideoFile is in the JPEG trailer. Try this to remove it:
exiftool -trailer:all= FILE
- Phil
You genius! It works!!! 8)