Winter 2026

image
Winter mountain road, phone snapshot.
Slight vignette added with Gimp.

Yeah, but can I use stuff from ‘motion picture’ frames, like falling snow particles to compose on top of the image?

sudo apt install libimage-exiftool-perl

Figure out what kind of movie addendum is it

exiftool image.jpg | grep -i motion
# returns
Motion Photo                    : 1
Motion Photo Version            : 1
Motion Photo Presentation Timestamp Us: 558505
Directory Item Semantic         : Primary, GainMap, MotionPhoto
Motion Photo Video              : (Binary data 1935798 bytes, use -b option to extract)

Extract video

exiftool -b -MotionPhotoVideo image.jpg > motion.mp4

ls

6.9M b 21 Feb 19:48  image.jpg
1.9M b 21 Feb 19:53  motion.mp4

video to frames

mkdir frames && mv motion.mp4 frames/ && cd frames
ffmpeg -i motion.mp4 -vsync 0 frame_%04d.png 

The extracted video (and frames) is only 1920x1080px in this case.

Buddha, Coulda, Woulda.