-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
HDR is too bright and lacks color tones #14106
Comments
With the amount of information provided, it is impossible to diagnose this issue. Please provide log file and shift+i stats in both cases. And sample file, so we know what we are looking at. |
It's tvos. How could he use the keyborad... |
I don't have keyboard on my Android device, yet I can enable stats. Believe or not the technology is there to implement such feature without keyboard. Also if it is not reproducible with mpv desktop binary it means the issue is on the integration side and should be reported there. |
tvOS is not based on Android... |
logs: http://www.danstaface.net/mpvlog.txt I'm on mac, and gpu-next is not enabled yet on my build, so i can't test if the problem exists with the mpv binary |
Metadata from decoder are incorrect for this video
Should be:
Needs debugging where params are lost in this case. |
i believe the expectations are completely wrong here? for one gpu-next and libmpv render (i am assuming it's using the render api, since the macvk context doesn't have a tvos backend) are mutually exclusive. or they are using code that is not even in master, eg this one #7857. though in both cases, the user itself is responsible for activating HDR/EDR on Apple platforms, since they manage the layer + view themselves. gonna quote myself. this is analog to an UIView + CAMetalLayer (- opengl view remark):
[edit]
yeah this is the code from the not merged closed PR. |
Does this mean that mpv no longer supports iOS / tvOS platforms? GLES has been deprecated for a long time, and the only future left is metal, which is supported via gpu-next / libplacebo / vulkan? |
no, nothing official. we still support those as much as before. a deprecation isn't a removal (yet). i know the feeling of not wanting to use opengl, though that's the only way to do it for now. the closed not merged PR wasn't rejected and i am in favour of merging it or something similar in the future. i just didn't get to it yet. see also our Want to work on mpv? issue. we are looking for someone to to work on libmpv to make gpu-next usable with it. |
Contributions are welcome. Since you seem to be building tvOS product based on libmpv library, feel free to contribute and changes to the library itself. |
Ok, I would like to contribute but little knowledge of C and video / audio in general. Currently, there are 2 patches for iOS / tvOS:
Is there any particular reason to use libmpv when you can use gpu-next directly? I'll help as best I can (with patches if I can, and debugging/testing). |
with libmpv's render API you (can) driver your own render loop, on the other hand the wid embedding from the mentioned PR the mpv core drives the render loop. both approaches have their pros and cons, depending on the implementation. it's probably a bit much discussing this here though. i am not sure what patch you mean. though if there is something broken with compiling for iOS/tvOS (is there an open issue?) and there is no PR for it, it would be a good start to open PR to get it fixed. we should also get #7857 rolling again. there were a few questions that still needed to be sorted out. though in general i believe there is nothing major that speaks against that approach. |
This is the patch i talked about, if the author is present here he can make a PR ? Otherwise, i will post it myself Plugins/BuildFFmpeg/patch/libmpv/0002-fix-ios-build-failed-on-0.38.0.patch |
that one is already in master e7b0d6b |
Oh ok... Why didn't I check before... 🙄😅
Yes, I can see the difference, and it's true that having control over his own code is always an advantage. Personally, I don't see any problem in using |
with opengl on macOS the problem was a lot more apparent, because the only viable way of doing opengl was a CAOpenGLLayer and with that you had to drive your own render loop to make it work properly. it's a lot less problematic with metal and how drawable objects work. |
It appears @skrew is using libmpv for a commercial player that makes no effort to disclose the used libmpv and ffmpeg sources, as is required per the LGPL. This means he is engaging in large-scale software piracy for commercial gain. |
Like that @CounterPillow ? MPV & MPVLib are mentioned, the others players too, as well as the metadata sources (TMDB & TVDB). If you want more disclosures in other parts, tell me (just before i'm blocking you, because i don't like your attitude) |
Read the LGPL license terms, simply mentioning you're using libmpv is not enough. It is funny you're complaining about my attitude when you're the one freeloading off other people's work, and then being pissy when it doesn't do what you want it to do. |
Ah, Plex 2.0 ? |
Hi,
As you can see in the screenshots, the original source (and i have the same with exo player) are darker and have a blue tint.
Note, i'm using the same video file on exoplayer and MPV
The good profile, as you can have on Netflix or ExoPlayer
With MPV
There are no problems in SDR mode
If you need the video, I can send a cut-out version with this scene
The text was updated successfully, but these errors were encountered: