memories icon indicating copy to clipboard operation
memories copied to clipboard

ios Live Photo Rotated Playback

Open lee3072 opened this issue 1 year ago • 6 comments

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

  • Any errors in the JS console?
  • Any errors in the Nextcloud server logs?

lee3072 avatar Jul 08 '24 22:07 lee3072

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

  • OS: Android (source, viewing), Windows (viewing)
  • Browser: Firefox (Windows), Chrome (Windows, Android), Edge (WIndows), Memories app (Android)
  • Memories Version:7.3.1
  • Nextcloud Version: Nextcloud Hub 8 (29.0.5)
  • PHP Version:8.2

birnam avatar Sep 10 '24 15:09 birnam

Please provide samples

pulsejet avatar Sep 10 '24 16:09 pulsejet

Example live video attached:

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

20240801_190545

birnam avatar Sep 12 '24 00:09 birnam

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

pulsejet avatar Sep 20 '24 07:09 pulsejet

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.

birnam avatar Oct 11 '24 21:10 birnam

I had the same issue with live photos from my Pixel 8 Pro while using an AMD iGPU for accelerated transcoding. Enabling the "Streaming Transpose Workaround" in settings fixed it:

image

qdrop17 avatar Dec 02 '24 07:12 qdrop17