Wrong black and white levels when using hardware decoding.
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: kokoko3k, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0
Steps to reproduce:
System is Archlinux on kernel 5.15.5 running on an Haswell GPU.
I enabled vaapi decoding in firefox by using the settings described here:
https://wiki.archlinux.org/title/Firefox#Hardware_video_acceleration
Hardware decoding is working fine in youtube on my hardware when using h264ify, for example; i can confirm because intel_gpu_top reports gpu video decoding in use.
I opened the following videos:
https://www.youtube.com/watch?v=aXHcRiSK_ys
https://www.youtube.com/watch?v=J3pF2jkQ4vc
It should display a perfect black and white, and it does if i don't use hardware decoding.
Actual results:
What i see from the videos are typical limited color levels in the range: 16..235
Expected results:
See full range colors: 0..255.
NOTE that downloading that videos and playing back with other software like mpv and using hardware decoding has correct color levels.
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•4 years ago
|
||
This seems a VAAPI issue. Set the Severity to S4 for now. Feel free to change it.
Martin, would you mind having a look?
Comment 4•4 years ago
•
|
||
Thanks for the report! A few days ago, black was a bit brighter and white was a bit darker, but it's fixed today.
Reproducible with: mozregression --launch 2021-11-29 --pref media.ffmpeg.vaapi.enabled:true media.rdd-ffmpeg.enabled:true -a https://www.youtube.com/watch?v=aXHcRiSK_ys -a https://www.youtube.com/watch?v=J3pF2jkQ4vc
Description
•