学习ffmpeg,根据教程(https://www.jianshu.com/p/12941473a61d)来安装,需要texi2html作为依赖库,下载时报错:
简单的说就是404了,所以我们需要换个地址下载
解决办法:
https://stackoverflow.com/questions/14624699/how-to-install-ffmpeg-via-brew-on-mac-os
https://qiita.com/_takeuchi_/items/b8e5fcc76b211a122bf8
打开 /usr/local/Library/Formula/texi2html.rb
修改url
require 'formula'
class Texi2html < Formula
homepage 'http://www.nongnu.org/texi2html/'
#url 'http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz'
url 'http://download-mirror.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz'
sha1 'e7bbe1197147566250abd5c456b94c8e37e0a81f'
keg_only :provided_pre_mountain_lion
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}",
"--mandir=#{man}", "--infodir=#{info}"
system "make install"
end
def test
system "#{bin}/texi2html", "--help"
end
end