Skip to content

Commit 38b0474

Browse files
committed
Added new acceleration APIs to README
1 parent e4f5127 commit 38b0474

File tree

1 file changed

+38
-3
lines changed

1 file changed

+38
-3
lines changed

README.md

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,46 @@ $ ./build-ffmpeg --enable-gpl-and-non-free --build
116116
* MPEG2 video `mpeg2_vaapi`
117117
* VP8 `vp8_vaapi`
118118
* VP9 `vp9_vaapi`
119-
* `AMF`: [AMD's Advanced Media Framework](https://github.com/GPUOpen-LibrariesAndSDKs/AMF). These encoders will only
119+
* `AMF`: [AMD's Advanced Media Framework](https://github.com/GPUOpen-LibrariesAndSDKs/AMF). These encoders/decoders will only
120120
be available if `amdgpu` drivers are detected in use on the system with `lspci -v`.
121+
* Decoders
122+
* H264 `h264_amf`
123+
* H265 `hevc_amf`
124+
* AV1 `av1_amf`
125+
* VP9 `vp9_amf`
121126
* Encoders
122-
* H264 `h264_amf`
123-
127+
* H264 `h264_amf`
128+
* H265 `hevc_amf`
129+
* AV1 `av1_amf`
130+
* `Vulkan`: [Cross-platform graphics and compute API](https://www.vulkan.org/). These encoders/decoders will only be available if
131+
Vulkan drivers are detected on the system. Follow the [Wiki](https://trac.ffmpeg.org/wiki/HWAccelIntro#Vulkan) to enable Vulkan decoding.
132+
macOS is supported when MoltenVK is available, but functionality may be limited.
133+
These encoders/decoders will be available using fixed-function blocks in the GPU:
134+
* Decoders
135+
* H264
136+
* H265
137+
* AV1
138+
* VP9
139+
* Encoders
140+
* H264 `h264_vulkan`
141+
* H265 `hevc_vulkan`
142+
* AV1 `av1_vulkan`
143+
Additionally, FFmpeg implements [video filters](https://ffmpeg.org/ffmpeg-filters.html#Vulkan-Video-Filters)
144+
using shaders on the GPU, as well as these encoders/decoders:
145+
* Decoders
146+
* FFV1
147+
* ProRes RAW
148+
* Encoders
149+
* FFV1 `ffv1_vulkan`
150+
* `OpenCL`: [Cross-platform compute API](https://www.khronos.org/opencl/) Several [filters](https://ffmpeg.org/ffmpeg-filters.html#OpenCL-Video-Filters)
151+
are implemented in FFmpeg using OpenCL. As Apple has discontinued support for OpenCL, it is not available on macOS.
152+
153+
* `Video Toolbox`: [Apple API](https://developer.apple.com/documentation/videotoolbox) to access hardware-acclerated enncoders/decoders
154+
on macOS:
155+
* Encoders an decoders
156+
* H264 `h264_videotoolbox`
157+
* H265 `hevc_videotoolbox`
158+
* ProRes `prores_videotoolbox`
124159

125160
## Build Script Usage
126161

0 commit comments

Comments
 (0)