Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to install ffmpeg via brew on mac os?

Is it possible to install ffmpeg via brew?

brew install ffmpeg

Warning: A newer Command Line Tools for Xcode release is available
You should install the latest version from: http://connect.apple.com
==> Installing ffmpeg dependency: texi2html
==> Downloading http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz 
######################################################################## 100.0%
curl: (6) Could not resolve host: mirror.yongbok.net; nodename nor servname provided, or not known 
Error: Download failed: http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz

brew install texi2html

Warning: A newer Command Line Tools for Xcode release is available
You should install the latest version from: http://connect.apple.com
 ==> Downloading http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz 
######################################################################## 100.0%
curl: (6) Could not resolve host: mirror.yongbok.net; nodename nor servname provided, or not known
Error: Download failed: http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz
like image 480
gayavat Avatar asked Jan 31 '13 11:01

gayavat


People also ask

How do I install FFmpeg on Mac?

Download ffmpeg and ffprobe.Go to https://ffmpeg.org/download.html and click the Apple logo in the "Get packages & executable files" section. Click "Static builds for macOS 64-bit". You'll see two options for downloading ffmpeg. Choose the one with the shorter filename; this will look like ffmpeg-<versionNumber>.

How do I update FFmpeg on Mac?

You can also brew install ffmpeg --HEAD to get the absolute latest version. The FFmpeg project, on the download page, offers links to static builds for ffmpeg, which you can just download, extract, and use in a terminal. At the moment, you can get them from here: http://evermeet.cx/ffmpeg/

Where is FFmpeg path on Mac?

In Terminal, navigate to the folder containing the ffmpeg file using the "cd" (change directory) command. Type "cd" followed by the file path to your Downloads folder. For example, the path on my system is "/Users/aaron/Downloads".


1 Answers

1) Search working mirror http://www.filewatcher.com/m/texi2html-1.82.tar.gz.7350232-0.html => for example ftp://ftp.mirrorservice.org/sites/distfiles.macports.org/texi2html/texi2html-1.82.tar.gz

2) Put this path to url tag in /usr/local/Library/Formula/texi2html.rb

3) Calc shasum for texi2html-1.82.tar.gz (its e7bbe1197147566250abd5c456b94c8e37e0a81f) and put it in sha1 tag in /usr/local/Library/Formula/texi2html.rb

Now brew install ffmpeg works ok

like image 191
a0s Avatar answered Sep 24 '22 00:09

a0s