Open Bug 1750015 Opened 4 years ago Updated 3 years ago

Aliasing in picture-in-picture

Categories

(Core :: Audio/Video: Playback, enhancement)

Firefox 95
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: linus.kardell, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0

Steps to reproduce:

Open a video in picture-in-picture. This is on OpenSUSE Tumbleweed with KDE Plasma

Actual results:

The video suffers from severe aliasing, it looks like it uses basic nearest-neighbor downscaling.

Expected results:

Use a better downscaling filter, such as Lanczos, Mitchell or area-average.

The Bugbug bot thinks this bug should belong to the 'Toolkit::Video/Audio Controls' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Video/Audio Controls
Product: Firefox → Toolkit

Apologies for the long wait before we got to this one; we're trying now to clean up our backlog for video controls.

As far as I can tell, this is still a problem. I don't see anything that I'd personally describe as severe, but it does appear that we're using nearest-neighbor; I manually scaled down a screenshot of a video using nearest-neighbor and I got an identical image to the content of our PIP window, but if I use one of the suggested algorithms in my manual scaling then I do get a visibly smoother image.

This bug does not appear to reproduce on Windows, I see quite a different (and I think nicer) looking image there.

My choice of testing method probably reveals how much I understand about how any of this really works, which is nothing. But I really don't think there's anything happening here that's specific to PIP, I think we just happen to be a spot where downscaling video is common. So I'm going to redirect this, hopefully to someone who knows what to look for.

Component: Video/Audio Controls → Audio/Video: Playback
Product: Toolkit → Core
You need to log in before you can comment on or make changes to this bug.