mpv-player / mpv

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

video filters like pullup + dejudder don't work whe hwdec is vulkan and gpu-context is winvk #14869

Closed gaitas13 closed 1 month ago

gaitas13 commented 1 month ago

mpv Information

mpv v0.38.0-784-gd02f03bc Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Sep 16 2024 00:06:46
libplacebo version: v7.349.0 (v7.349.0-10-g76bb971-dirty)
FFmpeg version: N-117044-g00f5a34c9
FFmpeg library versions:
   libavcodec      61.13.100
   libavdevice     61.2.101
   libavfilter     10.2.102
   libavformat     61.5.101
   libavutil       59.36.100
   libswresample   5.2.100
   libswscale      8.2.100

Other Information

- Windows version: windows 11 22631.4037
- GPU model, driver and version: RTX 4060 Mobile, Game Ready, 561.09
- Source of mpv: sinchiro
- Introduced in version:

Reproduction Steps

playing a 1080i h.264 video, with no scripts or shaders loaded, using the following config

hwdec=vulkan
vo=gpu-next
gpu-context=winvk

trying to use video filters like pullup + dejudder doesn't work, is like the filters weren't there at all, commenting the winvk line makes the filters work

Expected Behavior

filters work on winvk

Actual Behavior

filters don't work on winvk

Log File

output.txt

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

norinoriko commented 1 month ago

--hwdec=vulkan-copy

You can't insert CPU filters into a video without copy-back.

https://mpv.io/manual/master/#options-hwdec

auto-copy selects only modes that copy the video data back to system memory after decoding. This selects modes like vaapi-copy (and so on). If none of these work, hardware decoding is disabled. This mode is usually guaranteed to incur no additional quality loss compared to software decoding (assuming modern codecs and an error free video stream), and will allow CPU processing with video filters. This mode works with all video filters and VOs.