ffmpeg: enable Apple VideoToolbox hardware encoder
Utilizes the framework introduced in macOS Mountain Lion [1]. Adds a H.264 hardware encoder (h264_videotoolbox) which, together with h264_vda, enable full hardware-accelerated H.264 transcoding. [1]: https://developer.apple.com/library/content/releasenotes/MacOSX/WhatsNewInOSX/Articles/MacOSX10_8.html#//apple_ref/doc/uid/TP40011634-SW12 Closes #17060. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
7191ac517b
commit
710ee3d4be
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ class Ffmpeg < Formula
|
|||
args << "--enable-libzimg" if build.with? "zimg"
|
||||
args << "--enable-libzmq" if build.with? "zeromq"
|
||||
args << "--enable-opencl" if MacOS.version > :lion
|
||||
args << "--enable-videotoolbox" if MacOS.version >= :mountain_lion
|
||||
args << "--enable-openssl" if build.with? "openssl"
|
||||
|
||||
if build.with? "xz"
|
||||
|
|
Loading…
Reference in a new issue