ios Live Photo Rotated Playback
Describe the bug
The live photo uploaded from ios Device play as rotated video, while the preview orientation is correct.
Steps To Reproduce
- Upload iOS live image to nextcloud
- Open that live view image in memories
- Image displayed correctly before playing
- 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
Additional context
- Any errors in the JS console?
- Any errors in the Nextcloud server logs?
This is not only iOS, I am seeing the same issue with live photos from my Samsung device.
- 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
Please provide samples
Example live video attached:
https://github.com/user-attachments/assets/e4bd1a7a-b2b5-4c4a-8f88-89c904667cf4
Can't reproduce. Do you have transcoding set up? You might need transcoding since the video is HEVC
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.
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: