Google-Photos-Toolkit icon indicating copy to clipboard operation
Google-Photos-Toolkit copied to clipboard

Filter Live Photos (Feature idea)

Open branislav-remen opened this issue 1 year ago • 8 comments

Another useful filter would be option to select only Live Photos. Live Photos taken by iPhone contains at least 2 files - image (jpg) and video (mov). Because of the video it takes more space which could be cleaned using Toolkit. Other use case - I would download all live photos and merged them to the one video (for example memories from vacation, etc...)

branislav-remen avatar Apr 22 '24 13:04 branislav-remen

Leaving it here for my future self for when i have the time to look into it https://github.com/photoprism/photoprism/files/4048676/iPhone.X.Live.Photo.Samples.zip

xob0t avatar Apr 22 '24 21:04 xob0t

Those 2 files are just that, two separate files, the only common traits seems to be filename and date, so to identify all live photos in a GP library, we would have to scan it whole, then look for img - video pairs with identical dates/filenames. Not an elegant solution, but it would work.

xob0t avatar Apr 22 '24 21:04 xob0t

Live photos have separate icon at the top, maybe it can be searched without downloading? And for saving space it could be great tool to automate slight edit of every live photo what deletes the live part.

pzemo avatar May 13 '24 16:05 pzemo

Live photos have separate icon at the top, maybe it can be searched without downloading? And for saving space it could be great tool to automate slight edit of every live photo what deletes the live part.

I've uploaded those samples to my GP, and I don't see any special icons in the web version.

xob0t avatar May 13 '24 19:05 xob0t

try with this sample, one iphone's HEIC file combinig movie and picture, and screenshot with live photo icon. Android (samsung, pixel) motion photos has this exact icon too https://we.tl/t-86ReYgGiYD (expires in some days)

pzemo avatar May 14 '24 07:05 pzemo

@pzemo the heic file is just 2.5MB, does not seem to include video Apple Live Photo file format

xob0t avatar May 14 '24 10:05 xob0t

Hard to share it, its 5.05MB, google compressed its 4.1MB https://photos.app.goo.gl/XXfHS9twRbjoHYhd7

pzemo avatar May 14 '24 10:05 pzemo

that did it, thanks!

I don't know why, but just uploading video and audio files does not make GP recognize them as a single live photo. When i download your shared photo, it dls as zip with jpg and mov inside, and if reupload them, GP shows them as two separate media items.

I think i've found how to identify live photos, but seems like deleting the live part would not be trivial, as GP stores them as a single object and the only way to do so seems to be to modify it in some way with the "edit" tool, as GP removes the "live" part on edit. Maybe it would be possible to "edit" them without any actual changes to the image, idk

xob0t avatar May 14 '24 11:05 xob0t

added live photo filter in #15

xob0t avatar Jun 16 '24 13:06 xob0t