Skip to content

Support Google Motion Photo MVIMG variants #468

Description

@EpochalEngineer

The current Live Photo implementation supports the MP.jpg variant which has duplicate Directory Item fields in EXIF. Other variants utilize "Micro Video Offset" as described here.

At a glance it seems that it would be simple to update this to support the MVIMG variant. A new if/case statement could just reference the MP.jpg variant implementation by checking for the existence of "Micro Video" or "Micro Video Version" (and maybe checking if it's 1) instead of looking for "MotionPhoto" and then using "Micro Video Offset" directly for the $videoOffset. EDIT: this field matches the "Size" field, so "Micro Video Offset" may actually be the video length and should be used in the same way as "DirectoryItemLength" actually.

Here is a sample MVIMG variant image which is displayed correctly in Google Photos. And one from the same phone without motion

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions