Skip to content

Live Photos: Add support for Samsung Motion Photos #439

Description

@ark-

Initial support for Samsung Motion Photos is now available for testing on our public demo at https://demo.photoprism.app/ and/or with the development preview build:

Please do not upload any private pictures to our demo, as everyone can see them there. Thank you very much! 🙏


Support for Samsung Motion Photos could be implemented similar to Apple Live Photos:

The videos are stored in the exif data under the following tags:

EmbeddedVideoType: MotionPhoto_Data
EmbeddedVideoFile: <Binary File>

Where EmbeddedVideoFile is an MP4 file with its own exif data and is of type video/mp4. Version MP4 v2 [ISO 14496-14], compressor avc1.

I'm sure EmbeddedVideoType could be something other than MotionPhoto_Data for other Android phone manufacturers as I imagine "MotionPhoto" is a trademark name. Unfortunately I do not know the details of the other devices but some research could make this improvement cover other manufacturer's phones too.

I found discussion and exiftool commands to extract this information here: https://forum.xda-developers.com/android/software/samsung-motion-photo-extractor-t3339997

Example commands:

exiftool -EmbeddedVideoFile -b -w _MotionPhoto.mp4 *.jpg

exiftool -trailer:all= -if "$EmbeddedVideoType eq 'MotionPhoto_Data'" *.jpg

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ideaFeedback wanted / feature requestliveHybrid photo/video file format supportmetadataRelated to Exif, XMP, IPTC & Co.releasedAvailable in a stable release

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions