https://bugs.kde.org/show_bug.cgi?id=507015

--- Comment #6 from Arjen Hiemstra <[email protected]> ---
Git commit cb00651ab5de86d42652958a15adfbc0a8d08f91 by Arjen Hiemstra.
Committed on 24/10/2025 at 09:04.
Pushed by ahiemstra into branch 'master'.

Add support for encoding in full color range

Without extra metadata, decoders don't know what color range the frames
of a video use. Most video players will assume correctly that they are
using limited range, except for FFmpeg. This presents a problem for KRdp
as all clients that we support use FFmpeg indirectly for decoding, which
leads to incorrect colors on decode.

To avoid that, add an option to set what color range we should use when
encoding, and use that for the h264 encoders. This allows KRdp to
request full range encoding. The default is still limited range, as this
is also what the upstream default is.

M  +5    -0    src/encoder.cpp
M  +3    -0    src/encoder_p.h
M  +8    -1    src/h264vaapiencoder.cpp
M  +4    -0    src/libopenh264encoder.cpp
M  +3    -1    src/libx264encoder.cpp
M  +10   -0    src/pipewirebaseencodedstream.cpp
M  +7    -0    src/pipewirebaseencodedstream.h
M  +9    -0    src/pipewireproduce.cpp
M  +3    -0    src/pipewireproduce_p.h

https://invent.kde.org/plasma/kpipewire/-/commit/cb00651ab5de86d42652958a15adfbc0a8d08f91

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to