-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[BUG] 360 video is flattened #5414
Comments
I'm on the latest release (v.1.111.0) and this is still a persisting issue |
Sorry, we have to revert the PR for this for now. It had the side effect of breaking playback when the source video uses Dolby Vision. The transcode ends up having incompatible DOVI metadata that players try and fail to use. It's surprisingly difficult to remove this and just this metadata, but will be easier in FFmpeg 7.1. |
I have a whole batch of Garmin 360 video & photos. This would be a great feature for me 🙏 |
I recently purchased an Insta360 x4 and came across this issue, at least I can view the front camera view but it would be great if this was implemented. |
The bug
When re-encoding 360 video, immich flattens the video.
To confirm:
My theory is immich loses the 360 side data when using FFmpeg to re-encode. For example, here is some ffprobe side data for a 360 video that I believe immich loses:
When re-encoding, immich needs to add -strict unofficial flag to the ffmpeg command line in order to copy the video projection metadata. See here for more detail: https://stackoverflow.com/questions/44760588/preserving-side-data-information-for-360-video-transcoding-using-ffmpeg/48147865#48147865
The OS that Immich Server is running on
Ubuntu 22.10
Version of Immich Server
v1.89.0
Version of Immich Mobile App
v1.89.0
Platform with the issue
Your docker-compose.yml content
n/a
Your .env content
Reproduction steps
Additional information
No response
The text was updated successfully, but these errors were encountered: