mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.24k stars 2.9k forks source link

Weird seeking behavior of HDR images (Gain Map) #13976

Closed Silver-Fullbuster closed 6 months ago

Silver-Fullbuster commented 6 months ago

Important Information

Provide following Information:

Reproduction steps

Expected behavior

The image renders normally with HDR

Actual behavior

The gain map shows in HDR, trying to seek via keyboard shortcuts would sometimes show the SDR image (rendered in SDR), the gain map (rendered in HDR), or the correct combined image (rendered in HDR)

Log file

mpvlog.txt

Sample files

04 (from the Adobe resources)

Silver-Fullbuster commented 6 months ago

Another thing to note is that using gpu-next, the image simply never renders in HDR.

Log file: gpu-next mpvlog.txt

kasper93 commented 6 months ago

Already fixed, update to recent version. At least for SDR version, as for actual support for gain map and HDR output, you should direct feature request to ffmpeg.

Duplicate of #13192

EDIT:

I've created https://code.videolan.org/videolan/libplacebo/-/issues/325 to track any possible progress of applying Gain Maps. Currently only base image is rendered.

Silver-Fullbuster commented 6 months ago

FFmpeg ticket for future tracking: https://trac.ffmpeg.org/ticket/10974#ticket