[FFmpeg-devel] [PATCH 4/4] avcodec/libx265: encode dovi RPUs

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue Mar 19 23:39:27 EET 2024


On 3/19/2024 7:16 PM, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
> 
> libx265 supports these natively, we just need to forward them to the
> x265picture.
> ---
>  libavcodec/libx265.c | 11 +++++++++++
>  1 file changed, 11 insertions(+)

The reason I never implemented this back when I adde RPU side data is that
there is a strong chance of generating broken files.

That's because if we do anything to the video with swscale, etc., we're
now encoding RPUs that aren't meant to be applied to that converted video.

For example, this could end up propagating RPUs when the user is tonemapping.

- Derek


More information about the ffmpeg-devel mailing list