Motion photo (Samsung)

Is it possible to distinguish motion photo from others ?

Based on https://github.com/chlete/samsung-motion-photo-splitter they seem to be JPG files, followed by a special separator/signature, followed by MP4 files.

So you could probably have a script column which searched for the signature bytes to detect them, although it would not be that fast as it would have to read in the whole file for each JPG file.

Arff :confused:
To hard for me

ExifTool could check if images have a tag EmbeddedVideoType with a value of MotionPhoto_Data and rename, move or tag them accordingly. Opus could then use this info for further processing.

Quick attempt, untested:

@nodeselect
exiftool.exe -verbose -if "$EmbeddedVideoType eq 'MotionPhoto_Data'" "-filename=%%f_is_motion_photo.%%e" -@ {allfilepath|filem}
pause

Function: MS-DOS

1 Like