Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for google motion photos #797

Closed
Rihcus opened this issue Mar 18, 2023 · 2 comments
Closed

Support for google motion photos #797

Rihcus opened this issue Mar 18, 2023 · 2 comments
Assignees
Labels

Comments

@Rihcus
Copy link

Rihcus commented Mar 18, 2023

Describe the enhancement you'd like
A clear and concise description of what you want to happen.

Add google motion photo support in libre photos

Describe why this will benefit the LibrePhotos
A clear and concise explanation on why this will make LibrePhotos better.

Its an android equivalent to live photos

Additional context
Add any other context or screenshots about the enhancement request here.

Sample motion photo in zip (unzip to view the jpeg)
motion photo sample.zip

Viewable using:
https://dj0001.github.io/Motion-Photo-Viewer/
or photos.google.com/

Background context
https://medium.com/android-news/working-with-motion-photos-da0aa49b50c

@Rihcus Rihcus added the enhancement New feature or request label Mar 18, 2023
@derneuere
Copy link
Member

To identify it, use exiftool. There should be an attribute for it.

Extracting seems to be possible, but it's not supported by ffmpeg, imagemagick, libvips or exiftool.
We probably have to write a function for it. Here is some example code: https://github.com/ViRb3/google-camera-motion-photo-splitter/blob/master/splitter.py

The big thumbnail should be an image, which is the image we view in the light box. The two smaller thumbnails should be a video. The photo should be marked as a live photo, and we probably have to add a type for live photos to the serializer.

@derneuere
Copy link
Member

Similar to #287

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants