Announcement

Collapse
No announcement yet.

FFmpeg Now Works With VA-API On Windows Thanks To Microsoft

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • arteast
    replied
    This looks so stupid at a first glance. Ffmpeg has native D3D11/12 support, so why would anyone use such an abomination instead?
    On the second glance, though, it starts to make sense. libva is not for decoding only, it also offers some filtering and encoding APIs, and ffmpeg can do those. For the first time we seem to have vendor-independent HW-accelerated decode, filtering and encoding in ffmpeg on Windows.
    However, I'm much more excited about Vulkan patches that are being submitted to ffmpeg now; that work hopefully would eventually lead to an almost universal (vendor and os-independent) native support for full HW transcoding scenario.

    Leave a comment:


  • Quackdoc
    replied
    Originally posted by edxposed View Post
    This is not realistic, vaon12 needs to implement d3d12 interoperability to use native vaapi hwdec, vaapi-copy on win32 performance is also disappointing. d3d11va nothing bad
    IIRC there was some work on a vulkan backend for libva? I dont remeber much else about it, so while not immediate, the door is still open, though iirc ffmpeg is working on vulkan video support itself

    Leave a comment:


  • aufkrawall
    replied
    Originally posted by evasb View Post
    Good. Now, mpv and many others can drop Windows specific code and use only VA-API.
    The last dev who proposed that was dropped from mpv project.

    On a less bonkers note, this might actually be a good thing to avoid AMF and QuickSync in ffmpeg for occasional conversions.

    Leave a comment:


  • edxposed
    replied
    Originally posted by oiaohm View Post
    In theory this opens up for Windows 7 or newer.
    vaon12 is based on d3d12 video, so it requires Windows 10/WDDM3.0

    Leave a comment:


  • edxposed
    replied
    For MPV and FFmpeg, Vaon12 makes little sense because MPV/FFmpeg will soon support Vulkan video, a cross-platform hwdec/hwaccel with absolute performance advantages and with a large number of directly usable vulkan hardware filters that do not require hwdownload.

    Leave a comment:


  • edxposed
    replied
    Originally posted by evasb View Post
    Good. Now, mpv and many others can drop Windows specific code and use only VA-API.
    This is not realistic, vaon12 needs to implement d3d12 interoperability to use native vaapi hwdec, vaapi-copy on win32 performance is also disappointing. d3d11va nothing bad

    Leave a comment:


  • oiaohm
    replied
    Originally posted by timofonic View Post
    Are you sure isn't for WSL only and not native apps?
    Libva 2.17+ adds a new libva-win32 node and Mesa 22.3 adds a VAAPI driver based on Direct3D 12 for Windows. Both of them are available at: https://www.nuget.org/packages/Microsoft.Direct3D.VideoAcc...



    Native Windows applications timofonic.

    In theory this opens up for Windows 7 or newer.

    Leave a comment:


  • hajj_3
    replied
    Are there any benefits to this or just to help run linux apps on WSL?

    Leave a comment:


  • timofonic
    replied
    Originally posted by evasb View Post
    Good. Now, mpv and many others can drop Windows specific code and use only VA-API.
    Are you sure isn't for WSL only and not native apps?

    Leave a comment:


  • evasb
    replied
    Good. Now, mpv and many others can drop Windows specific code and use only VA-API.

    Leave a comment:

Working...
X