Skip to content

Add support for Tensorflow dnn_backends in dnn_processing, sr & derain filters #172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
4 changes: 4 additions & 0 deletions Formula/ffmpeg.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
class Ffmpeg < Formula

Check warning on line 1 in Formula/ffmpeg.rb

View workflow job for this annotation

GitHub Actions / tests (macos-latest)

`brew linkage --cached --test --strict homebrew-ffmpeg/ffmpeg/ffmpeg` failed on macOS Sonoma (14) on Apple Silicon!

libvmaf
desc "Play, record, convert, and stream audio and video"
homepage "https://ffmpeg.org/"
url "https://ffmpeg.org/releases/ffmpeg-7.1.tar.xz"
version "7.1-with-options" # to distinguish from homebrew-core's ffmpeg
sha256 "40973d44970dbc83ef302b0609f2e74982be2d85916dd2ee7472d30678a7abe6"
license "GPL-2.0-or-later"
revision 1
head "https://github.com/FFmpeg/FFmpeg.git", branch: "master"

option "with-chromaprint", "Enable the Chromaprint audio fingerprinting library"
Expand All @@ -24,6 +25,7 @@
option "with-librsvg", "Enable SVG files as inputs via librsvg"
option "with-libsoxr", "Enable the soxr resample library"
option "with-libssh", "Enable SFTP protocol via libssh"
option "with-tensorflow", "Enable TensorFlow as a module backend for DNN-based filters"
option "with-tesseract", "Enable the tesseract OCR engine"
option "with-libvidstab", "Enable vid.stab support for video stabilization"
option "with-opencore-amr", "Enable Opencore AMR NR/WB audio format"
Expand Down Expand Up @@ -87,6 +89,7 @@
depends_on "librsvg" => :optional
depends_on "libsoxr" => :optional
depends_on "libssh" => :optional
depends_on "libtensorflow" => :optional
depends_on "libvidstab" => :optional
depends_on "libvmaf" => :optional
depends_on "libxml2" => :optional
Expand Down Expand Up @@ -196,6 +199,7 @@
args << "--enable-libspeex" if build.with? "speex"
args << "--enable-libsrt" if build.with? "srt"
args << "--enable-libssh" if build.with? "libssh"
args << "--enable-libtensorflow" if build.with? "tensorflow"
args << "--enable-libtesseract" if build.with? "tesseract"
args << "--enable-libtwolame" if build.with? "two-lame"
args << "--enable-libvidstab" if build.with? "libvidstab"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ This formula features the following libraries optionally:
| `rubberband` | Audio time-stretching and pitch-shifting |
| `speex` | speex codec |
| `srt` | Secure Reliable Transport library |
| `tensorflow` | TensorFlow for Deep Neural Network based filters |
| `tesseract` | An Optical Character Recognition (OCR) engine |
| `two-lame` | MPEG Audio Layer 2 (MP2) encoder |
| `webp` | Encode WEBP images |
Expand Down
Loading