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

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

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

    VA-API has been around for more than one decade as the most common Linux Video Acceleration API that works across multiple GPU/driver vendors. It's been Linux-focused to this point while thanks to the work of Microsoft has begun seeing support on Windows...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

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

    Comment


    • #3
      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?

      Comment


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

        Comment


        • #5
          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.

          Comment


          • #6
            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

            Comment


            • #7
              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.

              Comment


              • #8
                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

                Comment


                • #9
                  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.

                  Comment


                  • #10
                    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

                    Comment

                    Working...
                    X