Skip to content

Strange banding when playing video #236

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

Open
kik4444 opened this issue Aug 24, 2024 · 1 comment
Open

Strange banding when playing video #236

kik4444 opened this issue Aug 24, 2024 · 1 comment
Labels
can't fix For some reason or another this issue cannot be fixed linux This only occurs on Linux

Comments

@kik4444
Copy link

kik4444 commented Aug 24, 2024

Hello, I apologize if banding is not the correct term since I'm not sure what is. Here's a small example. Try playing this video in Memento https://www.youtube.com/watch?v=5_oqWE9otaE

When I play it in Memento with a default configuration I have this weird banding that can be seen in the first few seconds of the video:
2024-08-24_12:16:24

If I press b to enable deband then it looks like this:
2024-08-24_12:17:13

Certainly better, but still not very good. But if I play the same video in MPV directly (again with a default config) then it looks normal even without deband enabled:
2024-08-24_12:18:45

Any idea what causes this? I'm running NixOS and Hyprland 0.42. The problem occurs only in Wayland. In Xwayland it's fine. Back when I used KDE 5 and KDE 6 this problem did not occur. It happened after I moved to Hyprland which leads me to believe it might be related to the wlroots compositor or the aquamarine compositor that Hyprland now uses which is backwards compatible with wlroots as far as I know.

@ripose-jp
Copy link
Owner

ripose-jp commented Aug 24, 2024

Not sure what's causing this. Though I don't think you can compare the output of Memento to mpv directly since Memento relies on --vo=libmpv while mpv generally uses --vo=gpu or --vo=gpu-next, which are different rendering back ends. Essentially I wouldn't expect them to share the same bugs or behavior. This is almost certainly something happening at a lower level than Memento. You should start by reporting this to the mpv issue tracker. I have no knowledge of whether something like this could be caused by aquamarine, wlroots, or Wayland, so I recommend mentioning that in your mpv issue.

The only thing I can think of is make sure that you're using software decoding instead of hardware decoding. I don't think you are using hwdec since you have to manually enable it, but it's worth checking. You can toggle hwdec with ctrl+h.

@ripose-jp ripose-jp added can't fix For some reason or another this issue cannot be fixed linux This only occurs on Linux labels Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't fix For some reason or another this issue cannot be fixed linux This only occurs on Linux
Projects
None yet
Development

No branches or pull requests

2 participants