Philip Langdale

Results 174 comments of Philip Langdale

A quick addition to make it work in the meson build. ```diff diff --git a/meson.build b/meson.build index c39924a1ca..1704653383 100644 --- a/meson.build +++ b/meson.build @@ -946,6 +946,14 @@ if drm['use'] 'video/out/vo_drm.c')...

Example command lines: ``` mpv --hwdec=nvdec --vf=lavfi=[hwupload,vflip_vulkan]:hwdec_interop=vulkan ``` or ``` mpv --hwdec=vaapi --vf=lavfi=[hwmap,vflip_vulkan]:hwdec_interop=vulkan ``` will decode in hardware, GPU copy/map to vulkan, do filtering and then directly output the vulkan...

Sure, I can wait. I still need to sort out the remaining open items. Thanks for your work on the ffmpeg side!

There are at least four things we need for working vulkan video decode acceeleration - Drivers that actually implement it. nvidia hasn't included it in any non-developer driver release and...

I've done a bunch of refinement to the existing patch set and I'm pretty satisfied with it. The main thing right now is ideally I wouldn't push the ugly wrapper...

Added HW->HW upload support to the `format` filter so now you can do: ``` mpv --hwdec=nvdec --vf=format=fmt=vulkan,vflip_vulkan ```

Ok, hwmap support in `vf_format` is now present. So you can do ``` mpv --hwdec=vaapi --vf=format=fmt=vulkan,vflip_vulkan ``` on Intel, and presumably AMD.

You can try it out if you want. I don't have AMD hardware so testing there is always useful. But right now we're blocked on getting locking primitives into ffmpeg....

This might have been fixed by #10483. Please try it out.

I see https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__EGL.html#group__CUDA__EGL_1g7be3b064ea600a7bac4906e5d61ba4b7 where you can connect the consumer and specify which memory the consumer wants the EGL image to be in. If you were going to consume on the...