flathub / io.mpv.Mpv

https://flathub.org/apps/details/io.mpv.Mpv
8 stars 19 forks source link

Add vulkan headers to yml to build ffmpeg with vulkan video #470

Closed keftie22 closed 1 month ago

keftie22 commented 1 month ago

Attempting to build with vulkan video decode support by adding vulkan dev modules.

flathubbot commented 1 month ago

Started test build 125264

flathubbot commented 1 month ago

Build 125264 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/108228/io.mpv.Mpv.flatpakref
keftie22 commented 1 month ago

I get this error when trying to run any video while having vo=gpu-next in my config. If I remove that then the video works but defeats the purpose of the whole thing because you need it for vulkan video decode.

[vo/gpu-next] Failed initializing any suitable GPU context!
Error opening/initializing the selected video_out (--vo) device.
Video: no video
keftie22 commented 1 month ago

vo=gpu-next is not the problem. I've determined that gpu-api=vulkan is what does not work. I have to get it to gpu-api=opengl to get video output. If I use opengl then I can use vo=gpu-next.

flathubbot commented 1 month ago

Started test build 125281

flathubbot commented 1 month ago

Build 125281 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/108246/io.mpv.Mpv.flatpakref
keftie22 commented 1 month ago

Vulkan video decode working correctly now on my Intel Xe integrated graphics system with h264 and h265 video files after adding the ANV_VIDEO_DECODE=1 variable using flatseal. AV1 files do not yet work but that is expected since it has not yet been fully implemented for the Intel ANV Vulkan driver.

image

Screenshot_20240601_233313

fastrizwaan commented 1 month ago

also works with nvidia + wayland using gput-context=waylandvk