Changes between Version 93 and Version 94 of HWAccelIntro


Ignore:
Timestamp:
Mar 18, 2024, 12:58:46 PM (3 years ago)
Author:
Dmitrii Ovchinnikov
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HWAccelIntro

    v93 v94  
    295295
    296296AMF is effectively supported by FFmpeg to significantly speed up video encoding, decoding, and transcoding via AMD GPUs.
     297== Decoding ==
     298AMD supports hardware decoding via DirectX in FFmpeg. Currently supports DX9 and DX11 in FFmpeg.
     299
     300Hardware decoding via DX9
     301
     302{{{
     303ffmpeg -hwaccel dxva2 -i input.mkv output.yuv
     304}}}
     305
     306**Note:** Currently AMD hardware doesn’t support **AV1 elementary stream decoding via DX9**. So, this command line is not applicable for AV1 bitstream as input.
     307
     308Hardware decoding via DX11
     309
     310{{{
     311ffmpeg -hwaccel d3d11va -i input.mkv output.yuv
     312}}}
     313
     314In the above command line, “input.mkv” is only an example. The AMD hardware accelerated decoder supports most widely used containers and video elementary stream types. The following table lists detailed information about the widely used containers and video elementary streams which the AMD hardware accelerated decoder supports.
     315
     316Table: Containers and video elementary streams supported by the AMD hardware accelerated **decoder**
     317
     318|| Format                                                   || Filename Extension    || H.264/AVC || H.265/HEVC    || AV1   ||
     319|| Matroska                                                 || .mkv                         || Y                || Y                        || Y     ||
     320|| MPEG-4 Part 14 (MP4)              || .mp4                    || Y            || Y                        || Y     ||
     321|| Audio Video Interleave (AVI)      || .avi                        || Y                || N                || Y     ||
     322|| Material Exchange Format (MXF)    || .mxf                        || Y         || n/a                 || n/a   ||
     323|| MPEG transport stream (TS)        || .ts                         || Y                || Y                        || N     ||
     324|| 3GPP (3GP)                        || .3gp                        || Y                || n/a                  || n/a   ||
     325|| Flash Video (FLV)                                    || .flv                     || Y                        || n/a                  || n/a   ||
     326|| WebM                              || .webm                 || n/a       || n/a           || Y     ||
     327|| Advanced Systems Format (ASF)                || .asf .wmv             || Y                   || Y                        || Y     ||
     328|| QuickTime File Format (QTFF)      || .mov                  || Y         || Y             || n/a   ||
     329
     330
     331
     332Y: Hardware accelerated decoder supports this input
     333N: Hardware accelerated decoder doesn’t support this input
     334n/a: This input is not applicable in specification
    297335== Encoding ==
    298336Currently AMF encoder supports H.264/AVC, H.265/HEVC, AV1 encoder. FFmpeg uses `_amf` as the postfix for the AMF encoder names. The command lines shown below may use `h264_amf`, and should be replaced by `hevc_amf` for H.265/HEVC encoder and `av1_amf` for AV1 encoder.