A fork for personal use
It's a command line ruby script that splits your Samsung motion photos in to a (now smaller) jpg and a mp4. Samsung phones save motion as metadata "MotionPhoto_Data" viewable with exiftool
under "Embedded Video Type" and "Embedded Video File".
The files will be saved in the same folder as the original image.
- You want Ruby on you path (tested with 2.4.3)
- Install Bundler if you don't have it ```$ gem install bundler```
- Then run a ```$ bundle install```
$ motionPhotoExtractor.rb -p /Users/YourName/Desktop/Desktop/FolderWithMotionPhotosInIt
or
$ motionPhotoExtractor.rb -p /Users/YourName/Desktop/Desktop/FolderWithMotionPhotosInIt/OnePhoto.jpg
Usage: motionPhotoExtractor.rb [options]
-р, --рath-PАТН Path of the image / folder of images you want to extract the motion from
-d, --delete Keep only pictures (remove mp4 and original image)
-h, --help Prints this help