Open Bug 1715337 Opened 3 years ago Updated 3 years ago

Add dithering when rendering 10-bit videos

Categories

(Core :: Audio/Video, enhancement)

Firefox 89
enhancement

Tracking

()

People

(Reporter: jholmer.in, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0

Steps to reproduce:

Currently, Firefox supports playback for 10-bit VP9 and AV1 videos. Firefox, as is standard, downsamples the 10-bit video content to 8-bit upon rendering.

Actual results:

When downsampling 10-bit to 8-bit video, there is a high change for banding to be introduced into the image. This is especially noticeable in dark scenes of the video. Firefox does introduce banding into the video when playing back 10-bit video.

For the record, most players have this same issue, including Chrome.

Expected results:

Some players, such as mpv, will dither the image during the conversion from 10-bit to 8-bit. This dithering step avoids the creation of banding and displays an image that is visually closer to the encoded 10-bit image. For Firefox to similarly dither the image during this downconversion would provide a significant boost to the playback quality of 10-bit videos in Firefox.

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0

Hi,
Thank you for opening this enhancement. I will set this as New and waiting for the developers opinion about it.

Thanks for your report.

Status: UNCONFIRMED → NEW
Component: Untriaged → Audio/Video
Ever confirmed: true
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.