You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: