nextcloud / photos

📸 Your memories under your control
GNU Affero General Public License v3.0
554 stars 61 forks source link

iOS Live Photos Support #344

Open phenomax opened 4 years ago

phenomax commented 4 years ago

Describe the solution you'd like Support of iOS Live Photos, as discussed on the old repo's issue tracker nextcloud/gallery

Additional context https://developer.apple.com/live-photos/

yvolchkov commented 4 years ago

+1

AndyXheli commented 3 years ago

+1

AndyXheli commented 3 years ago

this would be a real nice feature

2002david commented 2 years ago

+1

meichthys commented 1 year ago

For reference, the iOS Nextcloud app does seem to support live photos.

miaulalala commented 1 year ago

Already works in the viewer app: https://github.com/nextcloud/viewer/pull/80

meichthys commented 1 year ago

Maybe i have something configured incorrectly, but when i click on a photo that has a live video component, it is not played when viewing it through the viewer. Or perhaps Memories has made some kind of change to the photo/video files which has interfered with how Photos presents them.

miaulalala commented 1 year ago

Thanks for testing! Maybe it used to work, but seems like it doesn't now. @skjnldsv any ideas?

meichthys commented 1 year ago

It does work on the iOS Nextcloud app tho ;)

skjnldsv commented 1 year ago

Maybe i have something configured incorrectly, but when i click on a photo that has a live video component, it is not played when viewing it through the viewer. Or perhaps Memories has made some kind of change to the photo/video files which has interfered with how Photos presents them.

Please share an example of what you think a live photo is :) Do you have two files or one?

meichthys commented 1 year ago

Two files for iOS live photos iOSLivePhoto.zip

skjnldsv commented 1 year ago

As I expected. We already support this. If both files are next to each others, the video will start and once played display the image as a static poster of the video. Tested with your files, and it works (the mov support on the other hand is not universal depending on your OS and browser)

skjnldsv commented 1 year ago

But I'll keep it opened, because I think there are room for improvements in the photos UI to make it more visible that a file is a live photo. But opening one works and is supported by nc :)

AndyXheli commented 1 year ago

Hello under my server the files are not shown as one but two under Photos all media the live photos files should be as one

image

skjnldsv commented 1 year ago

Hello under my server the files are not shown as one but two under Photos all media the live photos files should be as one

yes and no. Unfortunately some users want to actually see both, because this feature is also used regardless of live photos. Some users are creating posters for their videos and having the same file names is the way to go. Nonetheless, for Photos, it might make sense to indeed hide the picture.

meichthys commented 1 year ago

If both files are next to each others

How do we make the files "next to each other". The files on my server are a few photos apart. I don't see a way to order by file name?

skjnldsv commented 1 year ago

How do we make the files "next to each other".

They need to have the same file name

image1.jpg and image1.mp4

meichthys commented 1 year ago

I believe the files I provided were named the same. I'll chalk it up to my browser as you indicated here:

(the mov support on the other hand is not universal depending on your OS and browser)

It does work on memories though but maybe that's because the mov is being transcoded.

AndyXheli commented 1 year ago

@skjnldsv

My files are showing the same one is .jpg and other is .mov and under the photos app they are not showing together

image image