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

iPhone videos discolored #1166

Open
vishnukvmd opened this issue Mar 20, 2024 · 2 comments
Open

iPhone videos discolored #1166

vishnukvmd opened this issue Mar 20, 2024 · 2 comments
Labels
- photos Relates to the Ente Photos --mobile Platform is mobile

Comments

@vishnukvmd
Copy link
Member

vishnukvmd commented Mar 20, 2024

[Migrated from Discord]

Description

I am currently on Android but I used to have an iPhone and I noticed that all of my videos from iOS are discolored when I view them on ente. They looked fine from the iOS Photos app but from ente they are washed out. It's like the saturation and vibrancy were turned way down. I'm wondering if there is a setting somewhere that should have been changed. This was not exclusive to one phone, I noticed this on both the iPhone 13 pro and iPhone 14 pro.

This could be codec related, since a different customer reported that videos recorded in compatibility mode turned out fine.

Version

No response

What product are you using?

Ente Photos

What platform are you using?

Mobile - iOS

@vishnukvmd vishnukvmd added triage --mobile Platform is mobile - photos Relates to the Ente Photos and removed triage labels Mar 20, 2024
@vishnukvmd
Copy link
Member Author

Potential root cause: flutter/flutter#91241

@mertalev
Copy link

mertalev commented Apr 1, 2024

Yup, that sounds like the same issue. Immich has the same problem since we also use Flutter. IIRC it's because Flutter interacts with the native video player through a texture rather than a PlatformView. The former doesn't allow for HDR while the latter does.

As for alternatives, there are players like media_kit that tone-map videos so they look normal, albeit not HDR. There's also a stale branch to switch the Flutter video player to use PlatformView. But I don't think there are currently any actively-maintained packages that play videos in HDR on iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- photos Relates to the Ente Photos --mobile Platform is mobile
Projects
None yet
Development

No branches or pull requests

2 participants