FIX: correct washed-out colors in screen recordings - #3587
Conversation
Change pixel format from yuv420p to yuvj420p for better color representation in recordings.
|
Can confirm the diagnosis with measurements: on wf-recorder 0.6.0 the stream is tagged One gap though: the region-capture branches ( |
Change pixel format from yuv420p to yuvj420p for better color representation in recordings.
Describe your changes
Script
record.shrecords withwf-recorder --pixel-format yuv420p.yuv420p converts RGB using limited range(Y 16-235), but wf-recorder 0.6.0 always tags the stream as full range(0-255)
Video player then treats limited-range data as full range, so the colors looks washed-out.
This PR switches the pixel format to yuvj420p so the encoded levels are full range.
Steps to reproduce:
Before applying the fix: black shows as dark gray; dark gray shows as lighter gray.
After: black stays black.
Is it ready? Questions/feedback needed?
Yes. Fully tested on my laptop