Giter VIP home page Giter VIP logo

homebrew-ffmpeg

Build Status

This is a 3rd party tap for Homebrew. It provides a formula for ffmpeg which includes options for enabling additional features and libraries.

Contents:

Installation and usage

In order to use this tap, you need to install Homebrew.

Then, to run a default installation, run:

brew tap homebrew-ffmpeg/ffmpeg
brew install homebrew-ffmpeg/ffmpeg/ffmpeg

Note: If you already have ffmpeg installed from Homebrew core, you will receive an error. You need to first run brew uninstall ffmpeg before you can use this tap.

Installing with options

To see the list of supported options for this formula, run:

brew options homebrew-ffmpeg/ffmpeg/ffmpeg

Then, you can run:

brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-<option1> --with-<option2> ...

If you really wish to install all the available options, you can run:

brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact)

Note that this may install libraries for which you need extra SDKs installed, such as --with-decklink, or libraries which have to be installed before running the formula, such as --with-chromaprint.

Installing latest Git version (HEAD)

FFmpeg recommends installing the latest Git master version over a release. This formula builds the latest release by default, but you can install the latest Git version by adding the --HEAD option:

brew install homebrew-ffmpeg/ffmpeg/ffmpeg --HEAD

Updating

To update Homebrew and upgrade the formula to the most recent stable release:

brew update && brew upgrade homebrew-ffmpeg/ffmpeg/ffmpeg

Or, if you are using the HEAD version and want to update to the latest commit:

brew update && brew upgrade homebrew-ffmpeg/ffmpeg/ffmpeg --fetch-HEAD

Included libraries

This formula installs the following libraries by default:

Dependency Description
libaom AV1 encoder
fontconfig Font access library
freetype Freetype font engine
frei0r frei0r filters
lame LAME MP3 encoder
libass ASS subtitle support
libvorbis Vorbis encoder
libvpx VP8 and VP9 encoder
opus Opus encoder
rtmpdump RTMP dumping support
sdl2 Simple DirectMedia Layer
snappy Snappy compression support
theora Theora encoder
x264 x264 H.264 encoder
x265 x265 HEVC encoder
xz XZ compression support

This formula features the following libraries optionally:

Dependency Description Remarks
chromaprint Chromaprint audio fingerprinting library See the workaround in the Troubleshooting section.
decklink Enable DeckLink support The DeckLink SDK has to be installed before running the FFmpeg formula. One possibility is to use:
brew install amiaopensource/amiaos/decklinksdk
fdk-aac Fraunhofer FDK AAC library
game-music-emu Enable Game Music Emu (GME) support
libbluray libbluray support
libbs2b libbs2b support
libcaca libcaca support
libgsm libgsm support
libmodplug libmodplug support
librsvg SVG files as inputs via librsvg
libsoxr soxr resample library
libssh SFTP protocol via libssh
libvidstab vid.stab support for video stabilization
libvmaf VMAF video quality metric
libxml2 libxml2 library
opencore-amr Opencore AMR NR/WB audio format
openh264 OpenH264 library
openjpeg JPEG 2000 image format
openssl SSL support
rav1e AV1 encoding via librav1e
rtmpdump rtmpdump support
rubberband rubberband library
speex speex support
srt SRT library
tesseract tesseract OCR engine
two-lame two-lame support
wavpack wavpack support
webp libwebp to encode WEBP images
xvid xvid support
zeromq libzeromq to receive commands sent through a libzeromq client
zimg z.lib zimg library

Troubleshooting

When installing a piece of SOFTWARE which is using this FFmpeg distribution, then you may get the following error:

==> Installing dependencies for SOFTWARE: ffmpeg
Error: ffmpeg is already installed from homebrew-ffmpeg/ffmpeg!
Please `brew uninstall ffmpeg` first."

Here is a workaround:

brew uninstall ffmpeg
brew install SOFTWARE
brew uninstall --ignore-dependencies ffmpeg
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-YOUR-OPTIONS

Issues

To report issues, please file an issue on GitHub. Please include the full command line you have tested and the full terminal output you got with. Please note that we will only be able to help with issues that are exclusive to this tap and for OS which are officially supported.

If the problem is reproducible with the homebrew-core version of ffmpeg, please file it on their tracker.

Maintainers

  • Reto Kromer (@retokromer)
  • Werner Robitza (@slhck)

thpryrchn's Projects

adobe-packager icon adobe-packager

Script that allows to download portable installers of different versions Adobe software for macOS

cpu_features icon cpu_features

A cross platform C99 library to get cpu features at runtime.

extract-mfg icon extract-mfg

Extract mfg.dat and AT&T root certs from BGW210 or NVG599

ffmpeg icon ffmpeg

Mirror of git://source.ffmpeg.org/ffmpeg.git

flashrom icon flashrom

Patches welcome, see https://www.flashrom.org/Development_Guidelines#Patch_submission

greenj icon greenj

GreenJ is an open source Voice-over-IP phone software (softphone) using pjsip and Qt. It can easily be used to build your own VoIP phone system.

homebrew-core icon homebrew-core

🍻 Default formulae for the missing package manager for macOS

horndis icon horndis

Android USB tethering driver for Mac OS X

jsdrplay icon jsdrplay

Java wrapper for SDRplay API using Project Panama foreign function/memory access (Java 17+)

lxc-ci icon lxc-ci

LXC continuous integration and build scripts

pyfilemail icon pyfilemail

python API for filemail (discontinued until further notice)

rev-api icon rev-api

A shot at translating the Rev api SDK from Ruby to Python (https://github.com/revdotcom/rev-ruby-sdk)

sorg icon sorg

A Go-based static site generator that compiles brandur.org.

sunshine icon sunshine

Sunshine is a Gamestream host for Moonlight.

trusty-cogs icon trusty-cogs

A variety of utility cogs and fun cogs including Hockey information from the NHL, badge creation from discord user information, starboard for use on Redbot, twitch follow notifications and more.

ubuntu-xrdp icon ubuntu-xrdp

Docker fully implemented Multi User xrdp with xorgxrdp and pulseaudio on Ubuntu 16.04/18.04

ultragrid icon ultragrid

UltraGrid low-latency audio and video network transmission system

virtio-net-osx icon virtio-net-osx

Mac OS X driver for a (virtualised) "virtio" network device. Virtio network devices are supported by KVM and VirtualBox. Fastest virtual network device for VirtualBox OSX Guests, allows kernel debugging of guests via gdb.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.