pulsejet / memories

Fast, modern and advanced photo management suite. Runs as a Nextcloud app.
https://memories.gallery
GNU Affero General Public License v3.0
3.18k stars 86 forks source link

ios Live Photo Rotated Playback #1241

Open lee3072 opened 4 months ago

lee3072 commented 4 months ago

Describe the bug

The live photo uploaded from ios Device play as rotated video, while the preview orientation is correct.

Steps To Reproduce

  1. Upload iOS live image to nextcloud
  2. Open that live view image in memories
  3. Image displayed correctly before playing
  4. Video displayed as rotated while displaying the correct image at the back

Platform

- OS: iOS
- Browser: Chrome
- Memories Version:7.3.1
- Nextcloud Version:29.0.3
- PHP Version:8.2.20

Screenshots

Screenshot from 2024-07-08 17-58-45

Additional context

birnam commented 2 months ago

This is not only iOS, I am seeing the same issue with live photos from my Samsung device.

2024-09-10 11_48_35-20240801_190545 jpg - Memories - Nextcloud

pulsejet commented 2 months ago

Please provide samples

birnam commented 1 month ago

Example live video attached:

https://github.com/user-attachments/assets/e4bd1a7a-b2b5-4c4a-8f88-89c904667cf4

20240801_190545

pulsejet commented 1 month ago

Can't reproduce. Do you have transcoding set up? You might need transcoding since the video is HEVC

birnam commented 4 weeks ago

I think you might be on the right track with transcoding but I haven't been able to verify. I have a jellyfin server set up the same way and transcoding works great there. However they use a custom built ffmpeg, so I think the issue is more software than hardware.

I have spent altogether too much time trying to build their jellyfin ffmpeg on my nextcloud instance and can't put in any more effort. Apologies for giving up without being able to contribute an answer.