@@ -51,8 +51,9 @@ $ ./build-ffmpeg --build
51
51
52
52
* ` x264 ` : H.264 Video Codec (MPEG-4 AVC)
53
53
* ` x265 ` : H.265 Video Codec (HEVC)
54
- * ` libsvtav1 ` , SVT-AV1 Encoder and Decoder
54
+ * ` libsvtav1 ` : SVT-AV1 Encoder and Decoder
55
55
* ` aom ` : AV1 Video Codec (Experimental and very slow!)
56
+ * ` librav1e ` : rust based AV1 encoder (only available if [ ` cargo ` is installed] ( https://doc.rust-lang.org/cargo/getting-started/installation.html ) )
56
57
* ` fdk_aac ` : Fraunhofer FDK AAC Codec
57
58
* ` xvidcore ` : MPEG-4 video coding standard
58
59
* ` VP8/VP9/webm ` : VP8 / VP9 Video Codec for the WebM video file format
@@ -62,7 +63,6 @@ $ ./build-ffmpeg --build
62
63
* ` theora ` : Free lossy video compression format
63
64
* ` opus ` : Lossy audio coding format
64
65
* ` srt ` : Secure Reliable Transport
65
- * ` srt ` : Secure Reliable Transport
66
66
* ` webp ` : Image format both lossless and lossy
67
67
68
68
### HardwareAccel
@@ -93,6 +93,11 @@ $ ./build-ffmpeg --build
93
93
* MPEG2 video ` mpeg2_vaapi `
94
94
* VP8 ` vp8_vaapi `
95
95
* VP9 ` vp9_vaapi `
96
+ * ` AMF ` : [ AMD's Advanced Media Framework] ( https://github.com/GPUOpen-LibrariesAndSDKs/AMF ) . These encoders will only
97
+ be available if ` amdgpu ` drivers are detected in use on the system with ` lspci -v ` .
98
+ * Encoders
99
+ * H264 ` h264_amf `
100
+
96
101
97
102
### Apple M1 (Apple Silicon) Support
98
103
@@ -235,6 +240,15 @@ $ sudo apt install libva-dev vainfo
235
240
$ sudo dnf install libva-devel libva-intel-driver libva-utils
236
241
```
237
242
243
+ ## AMF installation
244
+
245
+ To use the AMF encoder, you will need to be using the AMD GPU Pro drivers with OpenCL support.
246
+ Download the drivers from https://www.amd.com/en/support and install the appropriate opencl versions.
247
+
248
+ ``` bash
249
+ ./amdgpu-pro-install -y --opencl=rocr,legacy
250
+ ```
251
+
238
252
## Usage
239
253
240
254
``` bash
@@ -244,6 +258,7 @@ Options:
244
258
--version Display version information
245
259
-b, --build Starts the build process
246
260
--enable-gpl-and-non-free Enable non-free codecs - https://ffmpeg.org/legal.html
261
+ --latest Build latest version of dependencies if newer available
247
262
-c, --cleanup Remove all working dirs
248
263
--full-static Complete static build of ffmpeg (eg. glibc, pthreads etc...) ** only Linux**
249
264
Note: Because of the NSS (Name Service Switch), glibc does not recommend static links.
0 commit comments