jellyfin / jellyfin-ffmpeg

FFmpeg for Jellyfin
https://jellyfin.org
Other
432 stars 115 forks source link

avfilter/colorspace: fix dovi peak calculation #405

Closed gnattu closed 1 week ago

gnattu commented 1 week ago

The max PQ to max mastering display luminance calculation is wrong and not within the scale of ffmpeg. This will overflow the pixels during tone mapping unless the user supplies a peak value to overwrite this.

Before: 811943.437500 After: 399.9721366995 (4000 nit master display)

Changes

Issues

gnattu commented 1 week ago

ubuntu noble fails again, not related to this particular PR