Google

Sunday, September 02, 2018

Mass export Motion Photos from Samsung Note 8

On the Samsung Note 8, there is an option to enable "Motion photo" That will record a short video clip of what happens before each photo is taken.

Only issue is this motion video isn't exported to things like Google Photo, and to extract it you can only do it on the phone 1 photo at a time. Luckily I found a solution....

 I wasn't able to do it directly on the phone, but this is how I mass exported the Motion Photos from my phone :

 1) Copy the pictures from the phone to computer (Windows 10)

2) Using the extractVideo_SamsungMotionPhoto.sh from : http://blog.mrnepal.com/2017/12/06/how-to-export-video-from-motion-photo-in-samsung-s7s8-using-a-bash-script/
 - Make a small modification to the file under :

tail -c +$(($VIDEO_OFFSET + $SEPARATOR_OFFSET)) $FILE_PATH > $DESTINATION_FILE
Add the following :
touch $DESTINATION_FILE -r $FILE_PATH
This will preserve the time stamp when you create the mp4 videos.

 3) Run the script extractVideo_SamsungMotionPhoto.sh (I am using cygwin, but Bash on windows should also work)

 This has now exported the videos from all your files. Because I use Google Photos, I then copied the mp4 files back to my phone to have them uploaded to Google Photos