Announcement

Collapse
No announcement yet.

FFmpeg 4.3 Released With AMD AMF Encoding, Vulkan Support, AV1 Encode

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

  • FFmpeg 4.3 Released With AMD AMF Encoding, Vulkan Support, AV1 Encode

    Phoronix: FFmpeg 4.3 Released With AMD AMF Encoding, Vulkan Support, AV1 Encode

    FFmpeg 4.3 is out as the latest version of this key open-source multimedia library. FFmpeg 4.3 is quite a big release...

    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
    Does this AMF encoder support HEVC on Linux now?

    Comment


    • #3
      V4L2!

      Comment


      • #4
        Originally posted by frank007
        FFmpeg can use the Nvidia VDPAU interface, but I cannot find any compiled version using that library.

        There is no reasons for not using ffmpeg+vdpau in all the famous browsers.
        Really? The one of the reasons was nvidia being buggy mess:

        Comment


        • #5
          OpenMandirva in previous FFMpeg release patch it to support AV1 encoding and decoding. Decoding is made by dav1d and encoding via librav1e.

          Comment


          • #6
            Originally posted by frank007
            FFmpeg can use the Nvidia VDPAU interface, but I cannot find any compiled version using that library.

            There is no reasons for not using ffmpeg+vdpau in all the famous browsers.
            Compiling FFmpeg is quite easy. I've even compiled it on an Arm SBC with only 512MB this is how easy it can be.

            The best decoder for Nvidia is the newer nvdec-based decoder by the way. All you then need to do is to compile it and MPV for instance will pick it up as it uses the shared libraries of FFmpeg:

            Code:
            $ mpv -v ~/test.mkv
            ...
            [cplayer] mpv 0.32.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
            ...
            [cplayer] ffmpeg library versions:
            [cplayer] libavutil 56.31.100 (runtime 56.51.100)
            [cplayer] libavcodec 58.54.100 (runtime 58.91.100)
            [cplayer] libavformat 58.29.100 (runtime 58.45.100)
            [cplayer] libswscale 5.5.100 (runtime 5.7.100)
            [cplayer] libavfilter 7.57.100 (runtime 7.85.100)
            [cplayer] libswresample 3.5.100 (runtime 3.7.100)
            [cplayer] ffmpeg version: n4.3
            ...
            [vd] Requesting pixfmt 'cuda' from decoder.
            [vd] Using hardware decoding (nvdec-copy).
            ...

            Comment


            • #7
              Is there a way to use AMF with Mesa and not the pro drivers?

              Comment


              • #8
                I think AMD has a compatibility tool in the SDK.

                https://github.com/GPUOpen-Libraries...AMF/issues/121

                Comment


                • #9
                  Originally posted by sdack View Post
                  The best decoder for Nvidia is the newer nvdec-based decoder by the way.
                  And then the GPU will constantly run in power wasting P2 CUDA state for even any 240p video, how wonderful.

                  Comment


                  • #10
                    Originally posted by aufkrawall View Post
                    And then the GPU will constantly run in power wasting P2 CUDA state for even any 240p video, how wonderful.
                    Maybe yours does this and because you're a drama queen. Mine however doesn't and stays at the lowest frequency.

                    Code:
                    $ nvidia-smi dmon
                    # gpu pwr gtemp mtemp sm mem enc dec mclk pclk
                    # Idx W C C % % % % MHz MHz
                    0 10 30 - 0 5 0 0 405 135
                    0 10 30 - 0 5 0 0 405 135
                    0 10 30 - 0 5 0 0 405 135
                    0 10 30 - 0 5 0 0 405 135
                    0 10 30 - 0 5 0 0 405 135
                    0 10 30 - 4 7 0 0 405 135
                    0 12 30 - 13 13 0 2 405 135 <- decoding starts here
                    0 12 30 - 18 16 0 3 405 135
                    0 12 30 - 18 16 0 4 405 135
                    0 12 30 - 18 16 0 5 405 135
                    0 12 30 - 18 16 0 5 405 135
                    0 12 30 - 17 16 0 6 405 135
                    ...

                    Comment

                    Working...
                    X