Radiokot / photoprism-android-client

📸 A convenient Android gallery for your PhotoPrism library with plenty of useful features
https://radiokot.com.ua/p/photoprism-android-gallery
GNU General Public License v3.0
425 stars 32 forks source link

Live Photos always play the video portion and don't show the actual photo #77

Closed MEGAMENE closed 1 year ago

MEGAMENE commented 1 year ago

What is wrong? When I open a Live Photo on the app it starts playing the video automatically, I can't find any way to stop the video and just see the photo.

To Reproduce Steps to reproduce the behavior:

  1. Open a Live Photo in the app.

Expected behavior There should be a button to stop the video and just show the photo, maybe by pressing on the video too.

Screenshots

Device (please complete the following information):

Radiokot commented 1 year ago

Hi. What's bad about that? Isn't the photo part of a PhotoPrism live photo just a first frame of the video?

MEGAMENE commented 1 year ago

Hi. What's bad about that? Isn't the photo part of a PhotoPrism live photo just a first frame of the video?

Based on my experience from Samsung Motion Photos and Pixel Motion Photos the motion video can be before, during or after the actual photo. The photo itself is also usually higher quality than the video and with a different resolution/aspect ratio. I upload the jpg and mp4 files separately into PhotoPrism with the same name, and PhotoPrism imports both files as a Live Photo with the jpg as the primary file.

Radiokot commented 1 year ago

Please, send me an example file(s). My email is oleg@radiokot.com.ua

MEGAMENE commented 1 year ago

Please, send me an example file(s). My email is oleg@radiokot.com.ua

I just send an email.

Radiokot commented 1 year ago

Thank you, I'll see what can be done.

Radiokot commented 1 year ago

I've never used live photos on my Samsung, as they come out shaking and not aesthetic at all. But yesterday I took some photos of my cat with an iPad and damn, they look amazing and played so naturally and smooth when browsing through the iOS gallery. iOS live photos have a kind of magical feeling for me. I'll try to make a beautiful live photo viewer in the gallery, would be great if I could re-create the iOS experience.

Radiokot commented 1 year ago

Check out the latest release: https://github.com/Radiokot/photoprism-android-client/releases/tag/1.17.0(27)

JPEG+MP4 batches should be shown as end-fade live photos.

MEGAMENE commented 1 year ago

Check out the latest release: https://github.com/Radiokot/photoprism-android-client/releases/tag/1.17.0(27)

JPEG+MP4 batches should be shown as end-fade live photos.

I just tried the new version and the functionality is working well but I found some bugs. First the Live Photos have no sound on the app, when playing them on the PhotoPrism website the sound works. Secondly some of the videos appear shorter on the app than on the PhotoPrism website.

Radiokot commented 1 year ago

It is supposed to play like this in the gallery. Live photo looks beautiful when it is shown as a small part of the video without sound fading into the high-quality still image. You can see the full video with sound by clicking "Open in".