Skip to content

Commit 40335f6

Browse files
committed
Add optional svt-av1 support
1 parent af7a3db commit 40335f6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Formula/ffmpeg-custom.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class FfmpegCustom < Formula
44
url "https://ffmpeg.org/releases/ffmpeg-8.0.tar.xz"
55
sha256 "b2751fccb6cc4c77708113cd78b561059b6fa904b24162fa0be2d60273d27b8e"
66
license "GPL-2.0-or-later"
7+
revision 1
78
head "https://github.com/FFmpeg/FFmpeg.git", branch: "master"
89

910
livecheck do
@@ -32,8 +33,9 @@ class FfmpegCustom < Formula
3233
option "with-openh264", "Enable OpenH264 library"
3334
option "with-openjpeg", "Enable JPEG 2000 image format"
3435
option "with-openssl", "Enable SSL support"
35-
option "with-rav1e", "Enable Rav1e AV1 video codec"
36+
option "with-rav1e", "Enable Rav1e AV1 encoder"
3637
option "with-rubberband", "Enable rubberband library"
38+
option "with-svt-av1", "Enable SVT-AV1 encoder"
3739
option "with-webp", "Enable using libwebp to encode WEBP images"
3840
option "with-zeromq", "Enable using libzeromq to receive commands sent through a libzeromq client"
3941
option "with-zimg", "Enable z.lib zimg library"
@@ -87,6 +89,7 @@ class FfmpegCustom < Formula
8789
depends_on "rubberband" => :optional
8890
depends_on "speex" => :optional
8991
depends_on "srt" => :optional
92+
depends_on "svt-av1" => :optional
9093
depends_on "tesseract" => :optional
9194
depends_on "two-lame" => :optional
9295
depends_on "wavpack" => :optional
@@ -190,6 +193,7 @@ def install
190193
args << "--enable-libspeex" if build.with? "speex"
191194
args << "--enable-libsrt" if build.with? "srt"
192195
args << "--enable-librist" if build.with? "librist"
196+
args << "--enable-libsvtav1" if build.with? "svt-av1"
193197
args << "--enable-libtwolame" if build.with? "two-lame"
194198
args << "--enable-libwavpack" if build.with? "wavpack"
195199
args << "--enable-libwebp" if build.with? "webp"

0 commit comments

Comments
 (0)