Announcement

Collapse
No announcement yet.

H.264/H.265 Vulkan Encoder Support Merged Into FFmpeg

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

  • H.264/H.265 Vulkan Encoder Support Merged Into FFmpeg

    Phoronix: H.264/H.265 Vulkan Encoder Support Merged Into FFmpeg

    The FFmpeg multimedia library continues to enhance its support around the Vulkan Video APIs with the latest commits seeing H.264 and H.265/HEVC Vulkan encode support merged...

    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
    apparently the h264 encoder has feature parity with vaapi, it should also allow you to do vulkan processing with a little less overhead. I have not yet tested that.

    Comment


    • #3
      So this is encode for H.264 and H.265, what about decode for H.264 and H.265?

      What about support for H.266 and AV1?

      Comment


      • #4
        Originally posted by uid313 View Post
        So this is encode for H.264 and H.265, what about decode for H.264 and H.265?
        Been there for ages.

        Originally posted by uid313 View Post
        What about support for H.266 and AV1?
        AV1 decoding via Vulkan is already there, not sure if ffmpeg supports it, it must, check VK_KHR_video_decode_av1. Encoding is far off.

        H.266/VVC is not supported by Vulkan or anything else in hardware at all because only Intel has a HW video decoder and it's still a week away, that's Lunar Lake.
        Last edited by avis; 18 September 2024, 04:28 PM.

        Comment


        • #5
          What's the story with pipewire / xdg portals screen recording support in ffmpeg? There were some recent patches but not sure where it went.

          I want to get rid of OBS in a scenario of LAN streaming since OBS can't handle hardware acceleration for that.

          Comment


          • #6
            Originally posted by avis View Post
            AV1 decoding via Vulkan is yet to be standardized. Encoding is far off.
            AV1 decoding is already standardized? Only encoding is still wip.



            Comment


            • #7
              Originally posted by shmerl View Post
              What's the story with pipewire / xdg portals screen recording support in ffmpeg? There were some recent patches but not sure where it went.

              I want to get rid of OBS in a scenario of LAN streaming since OBS can't handle hardware acceleration for that.
              still in limbo as far as I am aware, the dev has not updated the patchset yet. The latest patch is from may, but there was discussion on it in august where I suggested some changes to remove the hard requirement on portals.

              Comment


              • #8
                Originally posted by shmerl View Post

                AV1 decoding is already standardized? Only encoding is still wip.
                Thanks a lot, couldn't find it, I fixed the post.

                Comment


                • #9
                  Originally posted by Quackdoc View Post

                  still in limbo as far as I am aware, the dev has not updated the patchset yet. The latest patch is from may, but there was discussion on it in august where I suggested some changes to remove the hard requirement on portals.
                  I see. I hope it will get somewhere, since current ffmpeg's screen grabbing is inadequate for Wayland.

                  Comment


                  • #10
                    Originally posted by dec05eba
                    Vulkan video encoding with ffmpeg works with nvidia but not with amd yet. On AMD you need to set the environment variable RADV_PERFTEST=video_encode and then it will fail because amd is missing support for VK_KHR_video_maintenance1 extension (see https://gitlab.freedesktop.org/mesa/mesa/-/issues/11857).
                    Your bug is about anv. radv supports VK_KHR_video_maintenance1 already.

                    Comment

                    Working...
                    X