mpv-player / mpv

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

vo_gpu-next: vapoursynth filter seems could not receive dolbyvision's metadata #10438

Open hooke007 opened 1 year ago

hooke007 commented 1 year ago

Important Information

Provide following Information:

Reproduction steps

# mpv.conf
vo=gpu-next
  1. run mpv.exe and play a dv file, and then activate any vapoursynth filter.

  2. vf toggle vapoursynth="~~/test0.vpy"

    # test0.vpy
    video_in.set_output()

Expected behavior

correct color

Actual behavior

mpv-shot0001

Log file

mpv-test.log

quietvoid commented 1 year ago

The side data doesn't propagate through the vapoursynth vf. Not sure if it would be easily doable, but from my perspective it isn't.

chainikdn commented 1 year ago

Not 100% sure about the patch cause there's strange color blinking sometimes (not always, just in some scenes) when the filter increases frame rate. Maybe I'm missing something important here o_O

hooke007 commented 1 year ago

https://github.com/mpv-player/mpv/issues/10390#issuecomment-1179725841

when the filter increases frame rate

Probably there is the loss of luminace info in the extra frames created by vs.

chainikdn commented 1 year ago

it doesn't happen on every inserted frame more like some frames occasionally lose this DoVi data

Durden-T commented 9 months ago

same for me