[Feature]: Viewing of Android Motion Photos #238

Closed
opened 2026-02-04 18:57:19 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @eightys3v3n on GitHub (Sep 1, 2022).

Feature detail

The ability to play HEIC motion photos from Apple and Android phones.
A play button somewhere that doesn't block the photo so auto-play can be toggled.

Platform

Mobile App

Originally created by @eightys3v3n on GitHub (Sep 1, 2022). ### Feature detail The ability to play HEIC motion photos from Apple and Android phones. A play button somewhere that doesn't block the photo so auto-play can be toggled. ### Platform Mobile App
Author
Owner

@alextran1502 commented on GitHub (Sep 3, 2022):

Duplicated with #160

@alextran1502 commented on GitHub (Sep 3, 2022): Duplicated with #160
Author
Owner

@eightys3v3n commented on GitHub (Sep 4, 2022):

Ah, thank you. I missed the other one originally but just found it. Sorry for the duplicate.

@eightys3v3n commented on GitHub (Sep 4, 2022): Ah, thank you. I missed the other one originally but just found it. Sorry for the duplicate.
Author
Owner

@jakejoh commented on GitHub (Nov 21, 2022):

I think this issue should remain open (maybe with a more precise title/description?) as #160 covers live photos from iOS devices, not Android's similar Motion Photos.

https://github.com/immich-app/immich/issues/160#issuecomment-1140525363

@jakejoh commented on GitHub (Nov 21, 2022): I think this issue should remain open (maybe with a more precise title/description?) as #160 covers live photos from iOS devices, not Android's similar Motion Photos. https://github.com/immich-app/immich/issues/160#issuecomment-1140525363
Author
Owner

@alextran1502 commented on GitHub (Nov 21, 2022):

@jakejoh Agree, however, we don't have the mechanism to distinguish Motion Photos on Android from a normal photos.

@alextran1502 commented on GitHub (Nov 21, 2022): @jakejoh Agree, however, we don't have the mechanism to distinguish Motion Photos on Android from a normal photos.
Author
Owner

@jakejoh commented on GitHub (Nov 21, 2022):

at least Google Camera photos contain a xmp section like this:

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.1.0-jc003">
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
    <rdf:Description rdf:about=""
        xmlns:GCamera="http://ns.google.com/photos/1.0/camera/"
        xmlns:Container="http://ns.google.com/photos/1.0/container/"
        xmlns:Item="http://ns.google.com/photos/1.0/container/item/"
        xmlns:xmpNote="http://ns.adobe.com/xmp/note/"
      GCamera:MotionPhoto="1"
      GCamera:MotionPhotoVersion="1"
      GCamera:MotionPhotoPresentationTimestampUs="467400"
      xmpNote:HasExtendedXMP="5748706CE8036406D65595EBF4C31711">
      <Container:Directory>
        <rdf:Seq>
          <rdf:li rdf:parseType="Resource">
            <Container:Item
              Item:Mime="image/jpeg"
              Item:Semantic="Primary"
              Item:Length="0"
              Item:Padding="0"/>
          </rdf:li>
          <rdf:li rdf:parseType="Resource">
            <Container:Item
              Item:Mime="video/mp4"
              Item:Semantic="MotionPhoto"
              Item:Length="3589453"
              Item:Padding="0"/>
          </rdf:li>
        </rdf:Seq>
      </Container:Directory>
    </rdf:Description>
  </rdf:RDF>
</x:xmpmeta>

and are named ...MP.jpg
e.g. this one: PXL_20221121_171540706.MP.jpg

Aves has some ways decting motion photos

@jakejoh commented on GitHub (Nov 21, 2022): at least Google Camera photos contain a xmp section like this: ```xml <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.1.0-jc003"> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:GCamera="http://ns.google.com/photos/1.0/camera/" xmlns:Container="http://ns.google.com/photos/1.0/container/" xmlns:Item="http://ns.google.com/photos/1.0/container/item/" xmlns:xmpNote="http://ns.adobe.com/xmp/note/" GCamera:MotionPhoto="1" GCamera:MotionPhotoVersion="1" GCamera:MotionPhotoPresentationTimestampUs="467400" xmpNote:HasExtendedXMP="5748706CE8036406D65595EBF4C31711"> <Container:Directory> <rdf:Seq> <rdf:li rdf:parseType="Resource"> <Container:Item Item:Mime="image/jpeg" Item:Semantic="Primary" Item:Length="0" Item:Padding="0"/> </rdf:li> <rdf:li rdf:parseType="Resource"> <Container:Item Item:Mime="video/mp4" Item:Semantic="MotionPhoto" Item:Length="3589453" Item:Padding="0"/> </rdf:li> </rdf:Seq> </Container:Directory> </rdf:Description> </rdf:RDF> </x:xmpmeta> ``` and are named ...MP.jpg e.g. this one: [PXL_20221121_171540706.MP.jpg](https://user-images.githubusercontent.com/25611892/203121462-d9ea2719-27c4-47a8-b2c2-7e0ea5f2d424.jpg) [Aves has some ways decting motion photos](https://github.com/deckerst/aves/blob/3f94a4f5a0835d3e721a6340b9d89d1e0f49af93/android/app/src/main/kotlin/deckers/thibault/aves/metadata/XMP.kt#L177)
Author
Owner

@wjbeckett commented on GitHub (Dec 17, 2022):

Absolutely need this for Android Motion photos.
Looks like there is a way to discern motion photos from normal photos.

I assume this would make it able to not have them double up in the timeline as well and "stack" the photos? That way when you view a motion photo in immich you could see the motion photo by default but also see the static photo as well to stop the duplication in the timeline.

@wjbeckett commented on GitHub (Dec 17, 2022): Absolutely need this for Android Motion photos. Looks like there is a way to discern motion photos from normal photos. I assume this would make it able to not have them double up in the timeline as well and "stack" the photos? That way when you view a motion photo in immich you could see the motion photo by default but also see the static photo as well to stop the duplication in the timeline.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#238