Comments (79)
I just ran tests and, considering the remarks made in the ReadMe, the command
brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact)
works like a charm on macOS 10.15, 10.14 and 10.13 on my end.
from homebrew-ffmpeg.
Chiming in a bit late here, but is 10.12 still a version that we would like to support, given that there are now three newer macOS versions, and that it is EOL since November 30, 2019? Also, upstream Homebrew doesn't seem to support it anymore, either.
You are right: neither Apple nor Homebrew do support macOS 10.12 anymore. Therefore I added the label.
from homebrew-ffmpeg.
It comes with the following components:
cd /Library/Developer/CommandLineTools/usr/bin
ls
FYI: I just launched the installation on a fresh 10.12.6 machine.
from homebrew-ffmpeg.
This appears to be an issue with https://github.com/Netflix/vmaf and its build script. See if you can install that manually via the instructions here: https://github.com/Netflix/vmaf/tree/master/libvmaf#prerequisites
from homebrew-ffmpeg.
You have probably installed the /usr/local/bin/gcc
at some point. Why do you need this version?
The /usr/bin/gcc
is installed by xcode-select --install
. This is the one I used and, to my knowledge, Homebrew should use this. What is the output of
brew config
from homebrew-ffmpeg.
Only indirectly by our formula. It’s actually the x264 formula which is called by our one. See the lines 26–27 in
brew cat x264
or
brew edit x264
Sorry, it’s now 8 in the morning here, and I have to work for my living.
from homebrew-ffmpeg.
Sorry for being unclear. I suggested, like @scribblemaniac did, to reinstall the compiler, because on my end the installation has worked yesterday with a similar setting.
Only the clang
compiler that comes with the Homebrew installation is needed to run the formula. Any other dependency (including gcc
) will be installed via the formula. Please consider also our Remarks and Troubleshooting notes in the ReadMe, because some options need additional steps in a precise order.
from homebrew-ffmpeg.
That’s a step forward!
I did explicitly not recommend to use --cc=gcc-10
unless you know exactly what you are doing.
You really have to follow the steps indicated in the Troubleshooting! The FFmpeg installed with chromaprint is the standard one in Homebrew or possibly from MacPorts. You need to remove it again. I’ll no longer repeat what already was said.
from homebrew-ffmpeg.
brew uninstall ffmpeg
brew install chromaprint
brew uninstall --ignore-dependencies ffmpeg
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-chromaprint
works on my end.
from homebrew-ffmpeg.
If it works fine, then not.
from homebrew-ffmpeg.
To my knowledge, you have not done the second part:
brew uninstall --ignore-dependencies ffmpeg
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-chromaprint
from homebrew-ffmpeg.
If you wish this version of FFmpeg with chromaprint enabled, then yes. (You can enable also other options as well, when installing.)
from homebrew-ffmpeg.
You can do:
brew uninstall --ignore-dependencies ffmpeg
brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact)
(I suppose you resolved also decklink)
from homebrew-ffmpeg.
What is the output of which -a ffmpeg
?
from homebrew-ffmpeg.
The one you just installed should be:
/usr/local/bin/ffmpeg -version
from homebrew-ffmpeg.
If you need the other one, you can put this prefix before in the PATH; otherwise why not delete it?
from homebrew-ffmpeg.
The system uses the first in the path. That’s what happen when you use
which ffmpeg
When you use
which -a ffmpeg
you print all available instances.
from homebrew-ffmpeg.
You could create an alias ffmpeg_new
for the new one, and then use ffmpeg
and ffmpeg_new
as needed.
Yet our formula worked well also on macOS 10.12 and I close the issue.
from homebrew-ffmpeg.
I guess the restart is needed for the change to take effect (have forgotten how it is done without restart, have done something like that before with path).
Close and reopen the Terminal should be sufficient.
from homebrew-ffmpeg.
@YayNay The icu4c
formula has been updated to 67.1 on 2020-05-30 and builds fine on macOS 10.15, 10.14 and 10.13. I will try to test on 10.12 as well, but cannot do it before the weekend.
from homebrew-ffmpeg.
It is a compile error here, during the make process (for the homebrew-ffmpeg), alright.
I have myself to blame for being careless and aborting the lengthy "svtplay-dl" install (which was going on for really too long) during its install of gcc dependency, as something was probably updated there within the brew packages and simply was left incomplete.
I found no solution to this thus far via brew system, I would be too time consuming to remove the brew altogether and then having to reinstall some of the brew programs (packages) I already have installed.
Have already done that once (about 6 or 7 months ago), and am a bit vary of that.
from homebrew-ffmpeg.
Have you already tried:
brew update && brew update
brew upgrade
brew doctor --debug --verbose
from homebrew-ffmpeg.
Have you already tried:
brew update && brew update brew upgrade brew doctor --debug --verbose
Either the brew update or brew upgrade were done automatically when trying to install the homebrew-ffmpeg or the ordinary ffmpeg.
brew doctor --debug --verbose yielded no surprises or errors other than warning about the Xquartz 2.7.7 being outdated; I would prefer to keep that version in order for the ddd debugger to work properly, as it does for the moment.
I can attach the whole output, but this is the part where the warning is issued:
Warning: Unbrewed header files were found in /usr/local/include. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted. Unexpected header files: /usr/local/include/node/android-ifaddrs.h /usr/local/include/node/ares.h /usr/local/include/node/ares_build.h /usr/local/include/node/ares_rules.h /usr/local/include/node/ares_version.h /usr/local/include/node/libplatform/libplatform.h /usr/local/include/node/nameser.h /usr/local/include/node/node.h /usr/local/include/node/node_buffer.h /usr/local/include/node/node_object_wrap.h /usr/local/include/node/node_version.h /usr/local/include/node/openssl/aes.h /usr/local/include/node/openssl/archs/BSD-x86/opensslconf.h /usr/local/include/node/openssl/archs/BSD-x86_64/opensslconf.h /usr/local/include/node/openssl/archs/VC-WIN32/opensslconf.h /usr/local/include/node/openssl/archs/VC-WIN64A/opensslconf.h /usr/local/include/node/openssl/archs/aix-gcc/opensslconf.h /usr/local/include/node/openssl/archs/aix64-gcc/opensslconf.h /usr/local/include/node/openssl/archs/darwin-i386-cc/opensslconf.h /usr/local/include/node/openssl/archs/darwin64-x86_64-cc/opensslconf.h /usr/local/include/node/openssl/archs/linux-aarch64/opensslconf.h /usr/local/include/node/openssl/archs/linux-armv4/opensslconf.h /usr/local/include/node/openssl/archs/linux-elf/opensslconf.h /usr/local/include/node/openssl/archs/linux-ppc/opensslconf.h /usr/local/include/node/openssl/archs/linux-ppc64/opensslconf.h /usr/local/include/node/openssl/archs/linux-x32/opensslconf.h /usr/local/include/node/openssl/archs/linux-x86_64/opensslconf.h /usr/local/include/node/openssl/archs/linux32-s390x/opensslconf.h /usr/local/include/node/openssl/archs/linux64-s390x/opensslconf.h /usr/local/include/node/openssl/archs/solaris-x86-gcc/opensslconf.h /usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/opensslconf.h /usr/local/include/node/openssl/asn1.h /usr/local/include/node/openssl/asn1_mac.h /usr/local/include/node/openssl/asn1t.h /usr/local/include/node/openssl/bio.h /usr/local/include/node/openssl/blowfish.h /usr/local/include/node/openssl/bn.h /usr/local/include/node/openssl/buffer.h /usr/local/include/node/openssl/camellia.h /usr/local/include/node/openssl/cast.h /usr/local/include/node/openssl/cmac.h /usr/local/include/node/openssl/cms.h /usr/local/include/node/openssl/comp.h /usr/local/include/node/openssl/conf.h /usr/local/include/node/openssl/conf_api.h /usr/local/include/node/openssl/crypto.h /usr/local/include/node/openssl/des.h /usr/local/include/node/openssl/des_old.h /usr/local/include/node/openssl/dh.h /usr/local/include/node/openssl/dsa.h /usr/local/include/node/openssl/dso.h /usr/local/include/node/openssl/dtls1.h /usr/local/include/node/openssl/e_os2.h /usr/local/include/node/openssl/ebcdic.h /usr/local/include/node/openssl/ec.h /usr/local/include/node/openssl/ecdh.h /usr/local/include/node/openssl/ecdsa.h /usr/local/include/node/openssl/engine.h /usr/local/include/node/openssl/err.h /usr/local/include/node/openssl/evp.h /usr/local/include/node/openssl/hmac.h /usr/local/include/node/openssl/idea.h /usr/local/include/node/openssl/krb5_asn.h /usr/local/include/node/openssl/kssl.h /usr/local/include/node/openssl/lhash.h /usr/local/include/node/openssl/md4.h /usr/local/include/node/openssl/md5.h /usr/local/include/node/openssl/mdc2.h /usr/local/include/node/openssl/modes.h /usr/local/include/node/openssl/obj_mac.h /usr/local/include/node/openssl/objects.h /usr/local/include/node/openssl/ocsp.h /usr/local/include/node/openssl/opensslconf.h /usr/local/include/node/openssl/opensslv.h /usr/local/include/node/openssl/ossl_typ.h /usr/local/include/node/openssl/pem.h /usr/local/include/node/openssl/pem2.h /usr/local/include/node/openssl/pkcs12.h /usr/local/include/node/openssl/pkcs7.h /usr/local/include/node/openssl/pqueue.h /usr/local/include/node/openssl/rand.h /usr/local/include/node/openssl/rc2.h /usr/local/include/node/openssl/rc4.h /usr/local/include/node/openssl/ripemd.h /usr/local/include/node/openssl/rsa.h /usr/local/include/node/openssl/safestack.h /usr/local/include/node/openssl/seed.h /usr/local/include/node/openssl/sha.h /usr/local/include/node/openssl/srp.h /usr/local/include/node/openssl/srtp.h /usr/local/include/node/openssl/ssl.h /usr/local/include/node/openssl/ssl2.h /usr/local/include/node/openssl/ssl23.h /usr/local/include/node/openssl/ssl3.h /usr/local/include/node/openssl/stack.h /usr/local/include/node/openssl/symhacks.h /usr/local/include/node/openssl/tls1.h /usr/local/include/node/openssl/ts.h /usr/local/include/node/openssl/txt_db.h /usr/local/include/node/openssl/ui.h /usr/local/include/node/openssl/ui_compat.h /usr/local/include/node/openssl/whrlpool.h /usr/local/include/node/openssl/x509.h /usr/local/include/node/openssl/x509_vfy.h /usr/local/include/node/openssl/x509v3.h /usr/local/include/node/pthread-barrier.h /usr/local/include/node/pthread-fixes.h /usr/local/include/node/stdint-msvc2008.h /usr/local/include/node/tree.h /usr/local/include/node/uv-aix.h /usr/local/include/node/uv-bsd.h /usr/local/include/node/uv-darwin.h /usr/local/include/node/uv-errno.h /usr/local/include/node/uv-linux.h /usr/local/include/node/uv-sunos.h /usr/local/include/node/uv-threadpool.h /usr/local/include/node/uv-unix.h /usr/local/include/node/uv-version.h /usr/local/include/node/uv-win.h /usr/local/include/node/uv.h /usr/local/include/node/v8-debug.h /usr/local/include/node/v8-experimental.h /usr/local/include/node/v8-platform.h /usr/local/include/node/v8-profiler.h /usr/local/include/node/v8-testing.h /usr/local/include/node/v8-util.h /usr/local/include/node/v8-version.h /usr/local/include/node/v8.h /usr/local/include/node/v8config.h /usr/local/include/node/zconf.h /usr/local/include/node/zlib.h
from homebrew-ffmpeg.
I will try to find the time during the weekend to set-up a 10.12 machine.
from homebrew-ffmpeg.
I will try to find the time during the weekend to set-up a 10.12 machine.
However, I am doing exactly the sequence of commands as you have written them in your previous reply.
brew update && brew update brew upgrade brew doctor --debug --verbose
The problem with the icu4c remains, and it is the exactly the same compile error appearing in ffmpeg or homebrew-ffmpeg make process.
==> Upgrading 7 outdated packages: icu4c 64.2 -> 67.1 luarocks 3.2.1 -> 3.3.1 media-info 19.09 -> 20.03 meson 0.54.3_1 -> 0.55.0 mupdf 1.16.1 -> 1.17.0 x264 r2917_1 -> r3011 youtube-dl 2020.06.06 -> 2020.06.16.1 ==> Upgrading icu4c 64.2 -> 67.1 ==> Downloading https://github.com/unicode-org/icu/releases/download/release-67-1/i Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/5652b331b5400231692d0879d41522870a20598d8771342b622d543c2ed99ca0--icu4c-67_1-src.tgz ==> ./configure --prefix=/usr/local/Cellar/icu4c/67.1 --disable-samples --disable-t ==> make Last 15 lines from /Users/sejo/Library/Logs/Homebrew/icu4c/02.make: ./formatted_string_builder.h:227:9: note: subexpression not valid in a constant expression U_ASSERT(category <= 0xf), ^ ../common/uassert.h:35:26: note: expanded from macro 'U_ASSERT' # define U_ASSERT(exp) void() ^ ./formatted_string_builder.h:240:64: note: in call to 'Field(0, 1)' constexpr FormattedStringBuilder::Field kGeneralNumericField = {UFIELD_CATEGORY_UNDEFINED, 1}; ^ 3 errors generated. *** Failed compilation command follows: ---------------------------------------------------------- clang++ -DU_ATTRIBUTE_DEPRECATED= -DU_I18N_IMPLEMENTATION -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -DU_HAVE_STRING_VIEW=1 -I. -I../common -O2 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -std=c++11 -Qunused-arguments -Wno-parentheses-equality -Wglobal-constructors -fvisibility=hidden -fno-common -c -MMD -MT numfmt.d numfmt.o numfmt.ao -o numfmt.ao numfmt.cpp --- ( rebuild with "/Library/Developer/CommandLineTools/usr/bin/make VERBOSE=1 all" to show all parameters ) -------- make[1]: *** [numfmt.ao] Error 1 make: *** [all-recursive] Error 2 Do not report this issue to Homebrew/brew or Homebrew/core! Error: You are using macOS 10.12. We (and Apple) do not provide support for this old version. You will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew's GitHub, Discourse, Twitter or IRC. You are responsible for resolving any issues you experience while you are running this old version.
My highly uneducated guess is that it seems that the gcc got broken (within the brew) when the svtplay-dl install was aborted during the install of the gcc dependency for the svtplay-dl. Which might lead me to guess that you do not need to set up a 10.12 machine, and this error might be specific to my machine, for the above mentioned reason(s).
from homebrew-ffmpeg.
it is the exactly the same compile error appearing in ffmpeg or homebrew-ffmpeg make process.
Then it’s not related to this formula.
When you abort a compilation, you can often run a make clean
. Why do you not reinstall from source the gcc version you wish/need before installing ffmpeg?
from homebrew-ffmpeg.
it is the exactly the same compile error appearing in ffmpeg or homebrew-ffmpeg make process.
Then it’s not related to this formula.
I suspected that, as suggested in my previous replies. But I cannot be sure on this.
When you abort a compilation, you can often run a
make clean
. Why do you not reinstall from source the gcc version you wish/need before installing ffmpeg?
I did reinstall the gcc, to the newest version, prior to the last attempt of installing the ffmpeg and homebrew-ffmpeg.
While the install of the gcc (10) went fine, the version shown on my system is still 9.0, this could mean that the latest version is still not linked.
I do wonder if it is safe to remove all those header files, as suggested in
Warning: Unbrewed header files were found in /usr/local/include. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted.
and how to do that safely.
from homebrew-ffmpeg.
In addition to all of this, the list of unbrewed files is identical to the one given at:
https://stackoverflow.com/questions/54651403/unexpected-header-files
and I guess that I would might try the suggested solution there first.
I would appreciate any advice on how to remove those (listed) header files safely, or to leave them alone for the time being.
from homebrew-ffmpeg.
I don't think these unbrewed files are causing any issues related to this problem. So when you run which gcc
, where is it pointing to? Indeed you need to make sure that the Homebrew version is linked.
from homebrew-ffmpeg.
Thanks!!
On question of gcc, when I run
which gcc
the output is
usr/bin/gcc
while the command
gcc --version
shows
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include- dir=/usr/include/c++/4.2.1 Apple LLVM version 9.0.0 (clang-900.0.39.2) Target: x86_64-apple-darwin16.7.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
from homebrew-ffmpeg.
Please try also
which -a gcc
(to check if there are not multiple instances).
from homebrew-ffmpeg.
I wanted to make sure that I am using the homebrew gcc in compiling the homebrew packages, so I run
ln -sf /usr/local/bin/gcc-10 /usr/local/bin/gcc
making a symlink to the homebrew's gcc
However, the attempted
brew upgrade icu4c
resulted in the same compile errors as earlier.
Regarding your further advice:
which -a gcc
results in
/usr/local/bin/gcc /usr/local/bin/gcc /usr/bin/gcc
while
which gcc
results in
/usr/local/bin/gcc
from homebrew-ffmpeg.
This means that there are two instances of gcc installed. You can check their versions with:
/usr/local/bin/gcc --version
/usr/bin/gcc --version
Usually, in my experience, the easiest on macOS is to use the compiler provided with the latest Xcode version that works for the given macOS version. I cannot remember which one fits for 10.12.6 and would have to check, but you can find this on Apple’s developer website, where you can also download the correct Xcode.
You could also use
brew install --cc=gcc-n.m homebrew-ffmpeg/ffmpeg/ffmpeg
with the correct n and m and, of course, gcc-n.m installed. Yet I do not recommend this unless you know exactly what you are doing!
from homebrew-ffmpeg.
I did "the test" with the icu4c, which constantly gave the same 3 compile errors with earlier attempts.
It did succeed with install of the latest version of the icu4c (67.0), finally, when the
brew install -cc=gcc-10 icu4c
was run.
However, when running the
brew info icu4c
the following appears:
icu4c: stable 67.1 [keg-only] C/C++ and Java libraries for Unicode and globalization http://site.icu-project.org/home /usr/local/Cellar/icu4c/67.1 (258 files, 71.7MB) Built from source on 2020-07-14 at 16:14:04 From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/icu4c.rb ==> Caveats icu4c is keg-only, which means it was not symlinked into /usr/local, because macOS provides libicucore.dylib (but nothing else). If you need to have icu4c first in your PATH run: echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> /Users/xxxx/.bash_profile echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> /Users/xxxx/.bash_profile For compilers to find icu4c you may need to set: export LDFLAGS="-L/usr/local/opt/icu4c/lib" export CPPFLAGS="-I/usr/local/opt/icu4c/include" For pkg-config to find icu4c you may need to set: export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig" ==> Analytics install: 427,185 (30 days), 1,463,870 (90 days), 3,535,511 (365 days) install-on-request: 16,939 (30 days), 59,904 (90 days), 113,644 (365 days) build-error: 0 (30 days)
This, indeed, does not belong to this formulae, but I do wonder if I need to do all of these steps with .bash_profile exports.
The reason is that the icu4c appears in the compile process of the homebrew-ffmpeg.
The last question for now would be - how do I enable all the libraries given in the homebrew-ffmpeg
without issuing them one by one by using the --with option with command:
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-fdk-aac --with-.... etc.
I have seen .x265 and some other libraries listed there and would like them not to be excluded.
MacPorts has the
+nonfree
flag or option for including all the libraries in the install.
Is there any similar option given for the homebrew? (since I would like to have MacPorts (installed yesterday) completely removed from the system). I made a panic install yesterday, since I needed the ffmpeg working urgently.
The Homebrew is my main choice since long ago, and I would like to stick to it and not mix in at all the MacPorts in the system.
from homebrew-ffmpeg.
This, indeed, does not belong to this formulae, but I do wonder if I need to do all of these steps with .bash_profile exports.
No.
from homebrew-ffmpeg.
This, indeed, does not belong to this formulae, but I do wonder if I need to do all of these steps with .bash_profile exports.
No.
Ok, Thanks!!!
from homebrew-ffmpeg.
The last question for now would be - how do I enable all the libraries given in the homebrew-ffmpeg
without issuing them one by one by using the --with option with command:
Possibly (untested) with:
brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact)
from homebrew-ffmpeg.
The last question for now would be - how do I enable all the libraries given in the homebrew-ffmpeg
without issuing them one by one by using the --with option with command:Possibly (untested) with:
brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact)
Thanks again!!!
from homebrew-ffmpeg.
The last question for now would be - how do I enable all the libraries given in the homebrew-ffmpeg
without issuing them one by one by using the --with option with command:Possibly (untested) with:
brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact)
Well, it did fail again;
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: openjdk
==> ./configure --without-version-pre --without-version-opt --with-version-build
Last 15 lines from /Users/sejo/Library/Logs/Homebrew/openjdk/01.configure:
checking build system type... x86_64-apple-darwin16.7.0
checking host system type... x86_64-apple-darwin16.7.0
checking target system type... x86_64-apple-darwin16.7.0
checking openjdk-build os-cpu... macosx-x86_64
checking openjdk-target os-cpu... macosx-x86_64
checking compilation type... native
checking for top-level directory... /private/tmp/openjdk-20200714-79850-1fss6a0/jdk14u-jdk-14.0.1-ga
checking if custom source is suppressed (openjdk-only)... no
checking which debug level to use... release
checking which variants of the JVM to build... server
checking if absolute paths should be allowed in the build output... no, release build
checking for sdk name...
configure: error: No xcodebuild tool and no system framework headers found, use --with-sysroot or --with-sdk-name to provide a path to a valid SDK
/private/tmp/openjdk-20200714-79850-1fss6a0/jdk14u-jdk-14.0.1-ga/build/.configure-support/generated-configure.sh: line 82: 5: Bad file descriptor
configure exiting with result code 1
Do not report this issue to Homebrew/brew or Homebrew/core!
These open issues may also help:
openjdk 14.0 upgrade failures https://github.com/Homebrew/homebrew-core/issues/57222
Error: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.
I will, apparently, have to check this jdk issue...
from homebrew-ffmpeg.
Chiming in a bit late here, but is 10.12 still a version that we would like to support, given that there are now three newer macOS versions, and that it is EOL since November 30, 2019? Also, upstream Homebrew doesn't seem to support it anymore, either.
Indeed it looks like the error is No xcodebuild tool and no system framework headers found
.
from homebrew-ffmpeg.
configure: error: No xcodebuild tool and no system framework headers found
Possibly
xcode-select --install
can help.
from homebrew-ffmpeg.
configure: error: No xcodebuild tool and no system framework headers found
Possibly
xcode-select --install
can help.
Xcode is installed (command line tools as well) on my system.
Chiming in a bit late here, but is 10.12 still a version that we would like to support, given that there are now three newer macOS versions, and that it is EOL since November 30, 2019? Also, upstream Homebrew doesn't seem to support it anymore, either.
Indeed it looks like the error is
No xcodebuild tool and no system framework headers found
.
I would rather guess (since xcode and command line tools are installed) that the problem might be as described here, so I am going to look into it:
https://stackoverflow.com/a/60322035/13310551
from homebrew-ffmpeg.
A partial success, and a failure at the end:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libbluray.rb:33
==> ./configure --prefix=/usr/local/Cellar/libbluray/1.2.0
==> make
==> make install
🍺 /usr/local/Cellar/libbluray/1.2.0: 21 files, 1.6MB, built in 47 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: flac
==> ./configure --prefix=/usr/local/Cellar/flac/1.3.3 --enable-static
==> make install
🍺 /usr/local/Cellar/flac/1.3.3: 53 files, 2.4MB, built in 40 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: libsndfile
==> autoreconf -fvi
==> ./configure --prefix=/usr/local/Cellar/libsndfile/1.0.29pre2
==> make install
🍺 /usr/local/Cellar/libsndfile/1.0.29pre2: 48 files, 1.7MB, built in 1 minute 5 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: libbs2b
==> Pouring libbs2b-3.1.0.sierra.bottle.1.tar.gz
🍺 /usr/local/Cellar/libbs2b/3.1.0: 15 files, 75.8KB
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: libgsm
==> Patching
==> Applying gistfile1.txt
patching file Makefile
==> make lib/libgsm.1.0.13.dylib CC=clang CCFLAGS=-c -O2 -DNeedFunctionPrototype
==> make all CC=clang CCFLAGS=-c -O2 -DNeedFunctionPrototypes=1 LDFLAGS=
==> make install INSTALL_ROOT=/usr/local/Cellar/libgsm/1.0.19 GSM_INSTALL_INC=/u
🍺 /usr/local/Cellar/libgsm/1.0.19: 13 files, 151.2KB, built in 3 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: libmodplug
==> Pouring libmodplug-0.8.9.0.sierra.bottle.1.tar.gz
🍺 /usr/local/Cellar/libmodplug/0.8.9.0: 15 files, 352.7KB
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: libssh2
==> Pouring libssh2-1.9.0_1.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/libssh2/1.9.0_1: 184 files, 942.9KB
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: rust
==> ./configure --prefix=/usr/local/Cellar/rust/1.44.1_1 --release-channel=stabl
==> make
Last 15 lines from /Users/sejo/Library/Logs/Homebrew/rust/02.make:
2020-07-15 00:11:30 +0200
make
make: error: unable to find utility "make", not a developer tool or in PATH
xcodebuild: error: SDK "/Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk" cannot be located.
clang: error: unable to find utility "clang", not a developer tool or in PATH
Do not report this issue to Homebrew/brew or Homebrew/core!
These open issues may also help:
rust 1.44.1 upgrade failures https://github.com/Homebrew/homebrew-core/issues/57305
Will continue to look into this and keep you posted, as I have found number of references to previous problems, that seem not to be all uncommon.
from homebrew-ffmpeg.
Just an update, this is the latest development (and some rather inconsistent behaviour):
==> Installing dependencies for homebrew-ffmpeg/ffmpeg/ffmpeg: rust, gdk-pixbuf, pango, librsvg, libsoxr, libssh, libvidstab, libvmaf, opencore-amr, openh264, libgit2, cargo-c, rav1e, libsamplerate, rubberband, speex, srt, autoconf-archive, leptonica, tesseract, two-lame, wavpack, zeromq and zimg
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: rust
==> ./configure --prefix=/usr/local/Cellar/rust/1.44.1_1 --release-channel=stabl
==> make
Last 15 lines from /Users/sejo/Library/Logs/Homebrew/rust/02.make:
CMakeLists.txt:49 (project)
-- Configuring incomplete, errors occurred!
See also "/tmp/rust-20200715-13200-v9cin2/rustc-1.44.1-src/build/x86_64-apple-darwin/llvm/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/rust-20200715-13200-v9cin2/rustc-1.44.1-src/build/x86_64-apple-darwin/llvm/build/CMakeFiles/CMakeError.log".
thread 'main' panicked at '
command did not execute successfully, got: exit code: 1
build script failed, must exit now', /Users/sejo/Library/Caches/Homebrew/cargo_cache/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.42/src/lib.rs:861:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
finished in 0.935
failed to run: /private/tmp/rust-20200715-13200-v9cin2/rustc-1.44.1-src/build/bootstrap/debug/bootstrap build
Build completed unsuccessfully in 0:04:08
make: *** [all] Error 1
Do not report this issue to Homebrew/brew or Homebrew/core!
These open issues may also help:
rust 1.44.1 upgrade failures https://github.com/Homebrew/homebrew-core/issues/57305
from homebrew-ffmpeg.
Xcode is installed (command line tools as well) on my system.
Then you should NOT experience the
configure: error: No xcodebuild tool and no system framework headers found
error you reported… BTW: the command
xcode-select --install
installs actually the command-line tool, which is sufficient for our purpose.
from homebrew-ffmpeg.
Xcode and Xcode command line tools were both, of course installed. I stand by that, there was something (a lot) else apparently, "in the background", as it seems.
I am doing the install again of homebrew ffmpeg again, did some work in the meantime, rather unexpectedly.
Did the reinstall attempts several times in the meantime, did some additional brew cleanups, etc.
It turned out that the gdb security certificate was rendered useless on my machine and I had to redo all of that.
I have discovered that when testing the ddd debugger which was installed via brew.
I would warn anyone here in regard to svtplay-dl
brew install, which was a mammoth install in terms of time consumption, either do it fully or do not do it at all, I did abort it, did the cleanup and ever since then all sorts of problems have aroused with brew, just for few days now.
The install of rust dependency (1.44) is under way for some time (hours) now, and it is not being ended in error(s) after short period of time, as before.
The compilation process of rust is chewing on some disk space, and I had to cool the machine additionally, since the internal fan started.
I am here at the present moment, for more than few hours now:
==> Installing dependencies for homebrew-ffmpeg/ffmpeg/ffmpeg: rust, gdk-pixbuf, pango, librsvg, libsoxr, libssh, libvidstab, libvmaf, opencore-amr, openh264, libgit2, cargo-c, rav1e, libsamplerate, rubberband, speex, srt, autoconf-archive, leptonica, tesseract, two-lame, wavpack, zeromq and zimg
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: rust
==> ./configure --prefix=/usr/local/Cellar/rust/1.44.1_1 --release-channel=stable
==> make
In all earlier attempts, this was a failure step, with 2-3 different compile errors which to me indicated that there was something wrong with either system or the c/c++ compiler, but again, this is just a guess.
Will keep you posted on the progress.
I was hoping that I will spare you the installation process on an additional 10.12.6 machine, since you certainly have other things to do.
I am sorry that I have not succeeded in sparing you from that; I stayed awake for long hours now.... I really did what I could.
My apologies again, for any inconvenience.
This install, as visible from the terminal, is only a first of the listed dependencies - packages to be installed, so we'll see.
Thanks again for your patience and effort.
My intention is to relieve the system from having MacPorts (that I installed yesterday very reluctantly) and Brew at the same time.
from homebrew-ffmpeg.
It might be important to mention - prior to doing the gdb security certificate procedure, I had to, of course, reinstall the gdb compiler altogether, in order to get the ddd debugger working with c-files (programming).
The rust dependency "make" is ongoing steadily for several hours now.
Edit: Update:
All good for now:
==> Installing dependencies for homebrew-ffmpeg/ffmpeg/ffmpeg: rust, gdk-pixbuf, pango, librsvg, libsoxr, libssh, libvidstab, libvmaf, opencore-amr, openh264, libgit2, cargo-c, rav1e, libsamplerate, rubberband, speex, srt, autoconf-archive, leptonica, tesseract, two-lame, wavpack, zeromq and zimg
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: rust
==> ./configure --prefix=/usr/local/Cellar/rust/1.44.1_1 --release-channel=stable
==> make
==> make install
==> ./install.sh --prefix=/private/tmp/rust-20200715-72894-z59zzq/rustc-1.44.1-src
==> cargo install /usr/local/Cellar/rust/1.44.1_1 --features curl-sys/force-system
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
==> Summary
🍺 /usr/local/Cellar/rust/1.44.1_1: 22,144 files, 537.0MB, built in 150 minutes 2 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: gdk-pixbuf
==> meson --prefix=/usr/local/Cellar/gdk-pixbuf/2.40.0_1 --libdir=/usr/local/Cella
==> ninja -v
==> ninja install
==> /usr/local/Cellar/gdk-pixbuf/2.40.0_1/bin/gdk-pixbuf-query-loaders --update-ca
🍺 /usr/local/Cellar/gdk-pixbuf/2.40.0_1: 149 files, 3.3MB, built in 30 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: pango
==> meson --prefix=/usr/local/Cellar/pango/1.44.7 --libdir=/usr/local/Cellar/pango
==> ninja -v
==> ninja install -v
🍺 /usr/local/Cellar/pango/1.44.7: 62 files, 4.1MB, built in 33 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: librsvg
==> ./configure --prefix=/usr/local/Cellar/librsvg/2.48.8 --disable-Bsymbolic --en
==> make install gdk_pixbuf_binarydir=/usr/local/Cellar/librsvg/2.48.8/lib/gdk-pix
from homebrew-ffmpeg.
Last update, for now:
==> Installing dependencies for homebrew-ffmpeg/ffmpeg/ffmpeg: rust, gdk-pixbuf, pango, librsvg, libsoxr, libssh, libvidstab, libvmaf, opencore-amr, openh264, libgit2, cargo-c, rav1e, libsamplerate, rubberband, speex, srt, autoconf-archive, leptonica, tesseract, two-lame, wavpack, zeromq and zimg
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: rust
==> ./configure --prefix=/usr/local/Cellar/rust/1.44.1_1 --release-channel=stable
==> make
==> make install
==> ./install.sh --prefix=/private/tmp/rust-20200715-72894-z59zzq/rustc-1.44.1-src
==> cargo install /usr/local/Cellar/rust/1.44.1_1 --features curl-sys/force-system
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
==> Summary
🍺 /usr/local/Cellar/rust/1.44.1_1: 22,144 files, 537.0MB, built in 150 minutes 2 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: gdk-pixbuf
==> meson --prefix=/usr/local/Cellar/gdk-pixbuf/2.40.0_1 --libdir=/usr/local/Cella
==> ninja -v
==> ninja install
==> /usr/local/Cellar/gdk-pixbuf/2.40.0_1/bin/gdk-pixbuf-query-loaders --update-ca
🍺 /usr/local/Cellar/gdk-pixbuf/2.40.0_1: 149 files, 3.3MB, built in 30 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: pango
==> meson --prefix=/usr/local/Cellar/pango/1.44.7 --libdir=/usr/local/Cellar/pango
==> ninja -v
==> ninja install -v
🍺 /usr/local/Cellar/pango/1.44.7: 62 files, 4.1MB, built in 33 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: librsvg
==> ./configure --prefix=/usr/local/Cellar/librsvg/2.48.8 --disable-Bsymbolic --en
==> make install gdk_pixbuf_binarydir=/usr/local/Cellar/librsvg/2.48.8/lib/gdk-pix
==> /usr/local/opt/gdk-pixbuf/bin/gdk-pixbuf-query-loaders --update-cache
🍺 /usr/local/Cellar/librsvg/2.48.8: 47 files, 127.2MB, built in 10 minutes 21 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: libsoxr
==> Pouring libsoxr-0.1.3.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/libsoxr/0.1.3: 28 files, 242.5KB
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: libssh
==> cmake .. -DWITH_STATIC_LIB=ON -DWITH_SYMBOL_VERSIONING=OFF
==> make install
🍺 /usr/local/Cellar/libssh/0.9.4: 21 files, 579KB, built in 32 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: libvidstab
==> Pouring libvidstab-1.1.0.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/libvidstab/1.1.0: 25 files, 132KB
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: libvmaf
==> meson --prefix=/usr/local/Cellar/libvmaf/1.5.2 --libdir=/usr/local/Cellar/libv
==> ninja -vC build
Last 15 lines from /Users/sejo/Library/Logs/Homebrew/libvmaf/02.ninja:
In file included from ../src/third_party/ptools/chooseser.h:40:
In file included from ../src/third_party/ptools/valpython.h:224:
In file included from ../src/third_party/ptools/m2pythonpickler.h:310:
../src/third_party/ptools/m2pythonpickler.cc:55:35: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MakeException("Unknown Type"+cc);
~~~~~~~~~~~~~~^~~
../src/third_party/ptools/chooseser.h:300:18: note: in instantiation of member function 'OC::PythonDepicklerA<OC::Val>::load' requested here
result = pbd.load();
^
../src/third_party/ptools/m2pythonpickler.cc:55:35: note: use array indexing to silence this warning
MakeException("Unknown Type"+cc);
^
& [ ]
24 warnings generated.
ninja: build stopped: subcommand failed.
Do not report this issue to Homebrew/brew or Homebrew/core!
So, no success with installing the homebrew-ffmpeg with all extra optional packages included. *
The command issued was:
brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact)
from homebrew-ffmpeg.
This appears to be an issue with https://github.com/Netflix/vmaf and its build script. See if you can install that manually via the instructions here: https://github.com/Netflix/vmaf/tree/master/libvmaf#prerequisites
Well:
Warning: meson 0.55.0 is already installed and up-to-date
To reinstall 0.55.0, run `brew reinstall meson`
Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.
==> Downloading https://doxygen.nl/files/doxygen-1.8.18.src.tar.gz
==> Downloading from https://www.doxygen.nl/files/doxygen-1.8.18.src.tar.gz
######################################################################## 100.0%
==> cmake .. -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.12
==> make
Last 15 lines from /Users/sejo/Library/Logs/Homebrew/doxygen/02.make:
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:323:9: error: no member named 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:324:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:325:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
13 errors generated.
make[2]: *** [src/CMakeFiles/_doxygen.dir/__/generated_src/code.cpp.o] Error 1
13 errors generated.
make[2]: *** [src/CMakeFiles/_doxygen.dir/__/generated_src/commentscan.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/_doxygen.dir/all] Error 2
make: *** [all] Error 2
Do not report this issue to Homebrew/brew or Homebrew/core!
These open issues may also help:
doxygen: uses flex from macOS https://github.com/Homebrew/homebrew-core/pull/57817
It seems to me that something really got broken in the c / c++ compiler ever since the ordeal with the svtplay-dl aborted install, when the gcc dependency was under way.
Would hate to have to reinstall the brew altogether, but...
from homebrew-ffmpeg.
On my end, I could install the ffmpeg 4.3.1 formula with all options on a Mac mini Server (Late 2012) running macOS 10.12.6. I’m afraid, I cannot reproduce the issue.
It seems to me that something really got broken in the c / c++ compiler ever since the ordeal with the svtplay-dl aborted install, when the gcc dependency was under way.
Have you already tried to reinstall the compiler?
from homebrew-ffmpeg.
On my end, I could install the ffmpeg 4.3.1 formula with all options on a Mac mini Server (Late 2012) running macOS 10.12.6. I’m afraid, I cannot reproduce the issue.
It seems to me that something really got broken in the c / c++ compiler ever since the ordeal with the svtplay-dl aborted install, when the gcc dependency was under way.
Have you already tried to reinstall the compiler?
No, since i have installed it successfully just a day or so ago.
Here is the output:
which gcc
/usr/local/bin/gcc
and this part is - to me - a bit confusing:
which -a gcc
/usr/local/bin/gcc
/usr/local/bin/gcc
/usr/bin/gcc
Last installed gcc is linked, as it seems:
gcc --version
gcc (Homebrew GCC 10.1.0) 10.1.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
What do you recommend in this situation, having in mind the output that which -a gcc
produces, and these errors with compiling the homebrew-ffmpeg?
from homebrew-ffmpeg.
Are the two different? Please check:
/usr/local/bin/gcc --version
/usr/bin/gcc --version
from homebrew-ffmpeg.
Yes, they are different,
/usr/local/bin/gcc --version
gcc (Homebrew GCC 10.1.0) 10.1.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
/usr/bin/gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
What is confusing to me is that the which -a gcc
lists the /usr/local/bin/gcc
twice, as shown before.
I believe that everything was fine until aborted install of svtplay-dl
, in particular since I aborted this manually during the install of the gcc dependency for that package.
from homebrew-ffmpeg.
What is confusing to me is that the
which -a gcc
lists the/usr/local/bin/gcc
twice, as shown before.
Why? This only says that you have twice this value listed in your PATH:
echo $PATH
This doesn’t hurt. If you need an output without double entries, you can use for example:
which -a gcc | sort -u
from homebrew-ffmpeg.
Thanks again:
The question now is how to proceed with this, to leave the things as they are, or to do perhaps the following:
brew bundle dump --describe --global
and then reinstall the homebrew completely from the list generated by this, given in the ~/.Brewfile
One possibility is to edit out the brew gcc from the list and thus rely on the system provided gcc, as suggested from one of your earlier replies, if I am not mistaken, and to edit out both icu4c and x264 as well from that list.
One attempt to remove the only gcc, by brew gcc uninstall
resulted in
Error: Refusing to uninstall /usr/local/Cellar/gcc/10.1.0
because it is required by icu4c and x264, which are currently installed.
You can override this and force removal with:
brew uninstall --ignore-dependencies gcc
The fact is that the above mentioned compile failures, in the post https://github.com/homebrew-ffmpeg/homebrew-ffmpeg/issues/36#issuecomment-658678146 do remain, as things are now, and point out something with the c/c++ compiler, or simply to the mess in the brew on my machine.
and I can only speculate (if even that) whether the brew gcc reinstall
would change anything (I doubt that).
from homebrew-ffmpeg.
You have probably installed the
/usr/local/bin/gcc
at some point. Why do you need this version?
As answered before, icu4c and x264 seem to depend on it, but I have suggested in my previous reply that I would want to get rid of the /usr/local/bin/gcc
anyway.
The
/usr/bin/gcc
is installed byxcode-select --install
. This is the one I used and, to my knowledge, Homebrew should use this. What is the output ofbrew config
Well, it is:
HOMEBREW_VERSION: 2.4.7
ORIGIN: https://github.com/Homebrew/brew
HEAD: 0f6bc6274f8fc0cfc19636688fc8aa6752d0c296
Last commit: 3 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 598f682f284668b21abca26ba77ca53d00b3e025
Core tap last commit: 14 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.yvQvBpOZaO/org.macosforge.xquartz:0
HOMEBREW_MAKE_JOBS: 4
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
Clang: 9.0 build 900
Git: 2.27.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_112, 1.7.0_80
macOS: 10.12.6-x86_64
CLT: 9.2.0.0.1.1510905681
Xcode: 9.2
XQuartz: 2.7.7 => /opt/X11
from homebrew-ffmpeg.
This looks fine.
To my knowledge, icu4c
should be keg-only and working fine with clang.
On the contrary, x264
is provided by VideoLAN and needs gcc on macOS ≤ 10.13, because it fails on clang. The formula should install all what is needed, without any external interventions.
from homebrew-ffmpeg.
On the contrary,
x264
is provided by VideoLAN and needs gcc on macOS ≤ 10.13, because it fails on clang. The formula should install all what is needed, without any external interventions.
... meaning that the x264 should be handled by the formula homebrew-ffmpeg
and thus not need the homebrew version of the gcc, in disregard to the output of the brew uninstall gcc
attempt ?
from homebrew-ffmpeg.
Ok, thanks again, no problem! :)
from homebrew-ffmpeg.
and I can only speculate (if even that) whether the brew gcc reinstall would change anything (I doubt that).
brew reinstall gcc
is the very first thing you should try in my opinion. You say you interrupted the installation of gcc, then everything stopped working. You probably screwed up the install. Even if you can run basic commands, that doesn’t guarantee that everything was configured correctly. It doesn’t hurt to try this. Force uninstalling gcc will only be a temporary fix, and brew will probably try to reinstall it every time you update something that depends on it or stop you from updating.
from homebrew-ffmpeg.
and I can only speculate (if even that) whether the brew gcc reinstall would change anything (I doubt that).
brew reinstall gcc
is the very first thing you should try in my opinion. You say you interrupted the installation of gcc, then everything stopped working. You probably screwed up the install. Even if you can run basic commands, that doesn’t guarantee that everything was configured correctly. It doesn’t hurt to try this. Force uninstalling gcc will only be a temporary fix, and brew will probably try to reinstall it every time you update something that depends on it or stop you from updating.
This is happening exactly right now - the gcc dependency being installed by the homebrew-ffmpeg install attempt, running right now:
brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact)
It is taking huge amount (in relative terms) of space, and it is time consuming as well, but I am letting it run.
I have interrupted the install of svtplay-dl
during its gcc dependency install, and since then there have been these problems.
Then again, @retokromer suggested that I should remove the brew version of gcc (correct me here if I am wrong), thus I find all of this a bit confusing, but let's see if this gcc dependency install by the homebrew-ffmpeg will do.
This is where it is at the moment:
See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺 /usr/local/Cellar/[email protected]/3.8.4: 9,031 files, 128.9MB, built in 2 minutes 40 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: gcc
==> ../configure --build=x86_64-apple-darwin16 --prefix=/usr/local/Cellar/gcc/10.1
==> make BOOT_LDFLAGS=-Wl,-headerpad_max_install_names
and it has taken some amount of time and some gigabytes of disk space as well, thus far.
from homebrew-ffmpeg.
No problem;
just to keep you guys updated; the install just finished, for now, with the "failure" at the very last step.
Here is the portion of the output:
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: zeromq
==> Pouring zeromq-4.3.2.sierra.bottle.tar.gz
Warning: zeromq dependency icu4c was built with a different C++ standard
library (libstdc++ from gcc-10). This may cause problems at runtime.
🍺 /usr/local/Cellar/zeromq/4.3.2: 80 files, 3.6MB
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: zimg
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/zimg/2.9.3
==> make install
🍺 /usr/local/Cellar/zimg/2.9.3: 28 files, 2MB, built in 1 minute 16 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg --with-chromaprint --with-d
==> ./configure --prefix=/usr/local/Cellar/ffmpeg/4.3.1-with-options_1 --enable-sh
Last 15 lines from /Users/sejo/Library/Logs/Homebrew/ffmpeg/01.configure:
--enable-nonfree
--enable-decklink
--extra-cflags=-I/usr/local/include
--extra-ldflags=-L/usr/local/include
--enable-version3
--enable-libopencore-amrnb
--enable-libopencore-amrwb
ERROR: chromaprint not found
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
I will look into this asap;
from homebrew-ffmpeg.
ERROR: chromaprint not found
That’s exactly what is said in the Troubleshooting: you need to install brew install chromaprint
before running this formula.
from homebrew-ffmpeg.
Well, I did hasten with brew install chromaprint
now, prior to your answer, without looking at the Troubleshooting section.
Here are the outputs on my system at the moment:
brew ls --versions ffmpeg
ffmpeg 4.3.1
which ffmpeg
/opt/local/bin/ffmpeg
Sejos-MBP:~ sejo$ which -a ffmpeg
/opt/local/bin/ffmpeg
/usr/local/bin/ffmpeg
/usr/local/bin/ffmpeg
/opt/ffmpeg/bin/ffmpeg
from homebrew-ffmpeg.
Have taken the advice of the @scribblemaniac and @retokromer and am under process of brew reinstall gcc
at the moment, after several various attempts and failures in the meantime.
The grave error was not installing the chromaprint prior to the latest homebrew-ffmpeg
install, but well, you live, you learn.
from homebrew-ffmpeg.
Well, I did thing now by the book, reinstalled the gcc, and started again according the homebrew-ffmpeg page with installing prerequisites, and whatever path I take (went so far that I even installed the icu4c with -gcc 10 explicitely), here is what happens with attempt to install chromaprint, which is the first prerequisite:
brew install --cc=gcc-10 chromaprint
Warning: You passed `--cc=gcc-10`.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this unsupported configuration.
Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.
==> Downloading https://github.com/behdad/harfbuzz/raw/fc0daafab0336b847ac14682e58
Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/d5ce4b57609f40fc7c45a1999d1d9af4aa75daba255fbcb8e56304895937f746--270b89df543a7e48e206a2d830c0e10e5265c630.ttf
==> Downloading https://github.com/harfbuzz/harfbuzz/releases/download/2.6.8/harfb
Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/1bc138177da013269a413715661f4d2c68a958251a71adc24dc05b5e1dee203a--harfbuzz-2.6.8.tar.xz
==> Downloading https://github.com/libass/libass/releases/download/0.14.0/libass-0
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.c
######################################################################## 100.0%
==> Downloading https://ffmpeg.org/releases/ffmpeg-4.3.1.tar.xz
Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/907d44c10ce0824ba8d0acb013a260cf4114a463a371b204afae8e3588f76792--ffmpeg-4.3.1.tar.xz
==> Downloading https://github.com/acoustid/chromaprint/releases/download/v1.5.0/c
Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/3ef157606d26fafffc43525d0216e6ca92f4bcbbc11020a1967121155e3cb8ba--chromaprint-1.5.0.tar.gz
==> Installing dependencies for chromaprint: harfbuzz, libass and ffmpeg
==> Installing chromaprint dependency: harfbuzz
==> ./configure --prefix=/usr/local/Cellar/harfbuzz/2.6.8 --enable-introspection=y
==> make install
Last 15 lines from /Users/sejo/Library/Logs/Homebrew/harfbuzz/02.make:
from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h:23,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:22,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39,
from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23,
from ../../src/hb-coretext.h:37,
from test-c.c:55:
/System/Library/Frameworks/Security.framework/Headers/Authorization.h:192:7: error: variably modified 'bytes' at file scope
192 | char bytes[kAuthorizationExternalFormLength];
| ^~~~~
CC test-font.o
CC test-map.o
make[2]: *** [test_c-test-c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
Do not report this issue to Homebrew/brew or Homebrew/core!
from homebrew-ffmpeg.
... while installing without --cc=gcc_10 results in:
brew install chromaprint
Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.
==> Downloading https://github.com/behdad/harfbuzz/raw/fc0daafab0336b847ac14682e58
Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/d5ce4b57609f40fc7c45a1999d1d9af4aa75daba255fbcb8e56304895937f746--270b89df543a7e48e206a2d830c0e10e5265c630.ttf
==> Downloading https://github.com/harfbuzz/harfbuzz/releases/download/2.6.8/harfb
Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/1bc138177da013269a413715661f4d2c68a958251a71adc24dc05b5e1dee203a--harfbuzz-2.6.8.tar.xz
==> Downloading https://homebrew.bintray.com/bottles/libass-0.14.0_1.sierra.bottle
Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/f25ccb0cc420177c22feaf024fbaea1fee2b1701f3b2a8b51a73ddc098bfe1ad--libass-0.14.0_1.sierra.bottle.1.tar.gz
==> Downloading https://ffmpeg.org/releases/ffmpeg-4.3.1.tar.xz
Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/907d44c10ce0824ba8d0acb013a260cf4114a463a371b204afae8e3588f76792--ffmpeg-4.3.1.tar.xz
==> Downloading https://github.com/acoustid/chromaprint/releases/download/v1.5.0/c
Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/3ef157606d26fafffc43525d0216e6ca92f4bcbbc11020a1967121155e3cb8ba--chromaprint-1.5.0.tar.gz
==> Installing dependencies for chromaprint: harfbuzz, libass and ffmpeg
==> Installing chromaprint dependency: harfbuzz
==> ./configure --prefix=/usr/local/Cellar/harfbuzz/2.6.8 --enable-introspection=y
==> make install
Warning: harfbuzz dependency icu4c was built with a different C++ standard
library (libstdc++ from gcc-10). This may cause problems at runtime.
🍺 /usr/local/Cellar/harfbuzz/2.6.8: 166 files, 12.0MB, built in 2 minutes 7 seconds
==> Installing chromaprint dependency: libass
==> Pouring libass-0.14.0_1.sierra.bottle.1.tar.gz
🍺 /usr/local/Cellar/libass/0.14.0_1: 10 files, 510.4KB
==> Installing chromaprint dependency: ffmpeg
==> ./configure --prefix=/usr/local/Cellar/ffmpeg/4.3.1 --enable-shared --enable-p
==> make install
==> make alltools
Warning: ffmpeg dependency icu4c was built with a different C++ standard
library (libstdc++ from gcc-10). This may cause problems at runtime.
🍺 /usr/local/Cellar/ffmpeg/4.3.1: 299 files, 60.6MB, built in 6 minutes 2 seconds
==> Installing chromaprint
==> cmake -DBUILD_TOOLS=ON .
==> make install
Warning: chromaprint dependency icu4c was built with a different C++ standard
library (libstdc++ from gcc-10). This may cause problems at runtime.
🍺 /usr/local/Cellar/chromaprint/1.5.0_3: 11 files, 159.4KB, built in 12 seconds
from homebrew-ffmpeg.
And the latest update:
brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact)
Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.
==> Installing ffmpeg from homebrew-ffmpeg/ffmpeg
==> Downloading https://download.gnome.org/sources/pango/1.44/pango-1.44.7.tar.xz
Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/c76629299d8cd81a9a5ef3a6c57372ee6f0fd6315070501edf444b831df9f83e--pango-1.44.7.tar.xz
==> Downloading https://download.gnome.org/sources/librsvg/2.48/librsvg-2.48.8.tar
Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/ca4da56f01c288ba3f0a3b6c7094f55e95ec49b09ebd2c05593d1d11d44cda42--librsvg-2.48.8.tar.xz
==> Downloading https://ffmpeg.org/releases/ffmpeg-4.3.1.tar.xz
Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/907d44c10ce0824ba8d0acb013a260cf4114a463a371b204afae8e3588f76792--ffmpeg-4.3.1.tar.xz
Error: ffmpeg 4.3.1 is already installed
To upgrade to 4.3.1-with-options_1, run `brew upgrade homebrew-ffmpeg/ffmpeg/ffmpeg`.
Sejos-MBP:~ sejo$ brew ls --versions ffmpeg
ffmpeg 4.3.1
Sejos-MBP:~ sejo$ ffmpeg -version
ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers
built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-libjack --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack --enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox --enable-sdl2 --disable-securetransport --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-x86asm --enable-libx265 --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid --enable-nonfree --enable-libfdk-aac
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
The MacPorts version of the ffmpeg is still taking precedence in the system.
Nevertheless:
brew ls --versions ffmpeg
ffmpeg 4.3.1
Should the .bash_profile be updated manually? - taking any advice, thanks.
Also, would like to thank all of you for support and patience. :)
from homebrew-ffmpeg.
I have already installed chromaprint, prior to installing the homebrew-ffmpeg with options, per command you have listed before.
Here's the output:
brew ls --versions chromaprint
chromaprint 1.5.0_3
Do I need to repeat the whole process again, exactly as you have posted in your last reply?
from homebrew-ffmpeg.
No, I have not, out of my own insecurity.
Working version of the ffmpeg on my system is still the MacPorts one.
The question I had was how the
brew ls --versions ffmpeg
ffmpeg 4.3.1
takes precedence over the
ffmpeg -version
ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers
built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-libjack --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack --enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox --enable-sdl2 --disable-securetransport --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-x86asm --enable-libx265 --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid --enable-nonfree --enable-libfdk-aac
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
I did not want to done something hastily again and uninstall ffmpeg without seeing what others have to say.
> brew uninstall --ignore-dependencies ffmpeg
> brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-chromaprint
needs still to be done then, I presume?
from homebrew-ffmpeg.
Previous command was the
brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact)
Do I need to include the --chromaprint option explicitely, or is it enough with the one above?
Update - doing right now the last two steps as you have instructed.
from homebrew-ffmpeg.
You can do:
brew uninstall --ignore-dependencies ffmpeg brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact)
(I suppose you resolved also decklink)
I did both that and chromaprint, as listed in Troubleshooting - Remarks section of the homebrew-ffmpeg page.
I have not done it again prior to these last two commands, so we'll see... The ongoing install seems to have installed the three dependecies prior to installing the ffmpeg with chromaprint as I write this.
from homebrew-ffmpeg.
So here it is:
brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact) --with-chromaprint
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
serverless
Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.
==> Installing ffmpeg from homebrew-ffmpeg/ffmpeg
==> Downloading https://download.gnome.org/sources/pango/1.44/pango-1.44.7.tar.xz
Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/c76629299d8cd81a9a5ef3a6c57372ee6f0fd6315070501edf444b831df9f83e--pango-1.44.7.tar.xz
==> Downloading https://download.gnome.org/sources/librsvg/2.48/librsvg-2.48.8.tar
Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/ca4da56f01c288ba3f0a3b6c7094f55e95ec49b09ebd2c05593d1d11d44cda42--librsvg-2.48.8.tar.xz
==> Downloading https://ffmpeg.org/releases/ffmpeg-4.3.1.tar.xz
Already downloaded: /Users/sejo/Library/Caches/Homebrew/downloads/907d44c10ce0824ba8d0acb013a260cf4114a463a371b204afae8e3588f76792--ffmpeg-4.3.1.tar.xz
==> Installing dependencies for homebrew-ffmpeg/ffmpeg/ffmpeg: pango and librsvg
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: pango
==> meson --prefix=/usr/local/Cellar/pango/1.44.7 --libdir=/usr/local/Cellar/pango
==> ninja -v
==> ninja install -v
🍺 /usr/local/Cellar/pango/1.44.7: 62 files, 4.1MB, built in 28 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: librsvg
==> ./configure --prefix=/usr/local/Cellar/librsvg/2.48.8 --disable-Bsymbolic --en
==> make install gdk_pixbuf_binarydir=/usr/local/Cellar/librsvg/2.48.8/lib/gdk-pix
==> /usr/local/opt/gdk-pixbuf/bin/gdk-pixbuf-query-loaders --update-cache
🍺 /usr/local/Cellar/librsvg/2.48.8: 47 files, 127.2MB, built in 10 minutes 59 seconds
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg --with-chromaprint --with-d
==> ./configure --prefix=/usr/local/Cellar/ffmpeg/4.3.1-with-options_1 --enable-sh
==> make install
==> make alltools
Warning: The default `tesseract` dependency includes limited language support.
To add all supported languages, install the `tesseract-lang` formula.
Warning: homebrew-ffmpeg/ffmpeg/ffmpeg dependency icu4c was built with a different C++ standard
library (libstdc++ from gcc-10). This may cause problems at runtime.
🍺 /usr/local/Cellar/ffmpeg/4.3.1-with-options_1: 263 files, 54.7MB, built in 6 minutes 34 seconds
Removing: /Users/sejo/Library/Caches/Homebrew/ffmpeg--4.3.1.tar.xz... (8.9MB)
Yet, the ffmpeg -version still lists the 4.2.3 (the MacPorts version) as the one which is system-wide:
ffmpeg -version
ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers
built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-libjack --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack --enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox --enable-sdl2 --disable-securetransport --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-x86asm --enable-libx265 --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid --enable-nonfree --enable-libfdk-aac
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
from homebrew-ffmpeg.
What is the output of
which -a ffmpeg
?
which -a ffmpeg
/opt/local/bin/ffmpeg
/usr/local/bin/ffmpeg
/usr/local/bin/ffmpeg
/opt/ffmpeg/bin/ffmpeg
Also:
brew --prefix ffmpeg
/usr/local/opt/ffmpeg
and (scroll horizontally, for the portion at the end):
echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/local/apache-ant/bin:/usr/local/bin:/usr/local/opt/qt/bin:/usr/local/opt/qt/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/Scripts-master/:/opt/ffmpeg/bin
from homebrew-ffmpeg.
/usr/local/bin/ffmpeg -version
True!
/usr/local/bin/ffmpeg -version
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1-with-options_1 --enable-shared --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libaom --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --disable-libjack --disable-indev=jack --enable-opencl --enable-videotoolbox --disable-htmlpages --enable-chromaprint --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfdk-aac --enable-libgme --enable-libgsm --enable-libmodplug --enable-libopenh264 --enable-libopenjpeg --enable-librav1e --enable-librsvg --enable-librtmp --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtesseract --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libwavpack --enable-libwebp --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-openssl --enable-nonfree --enable-decklink --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/include --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
But, since I am lousy at exporting variables to the path, I will have to find the solution to getting this version over the 4.2.3 (that is system-wide).
Not fond of prepending the /usr/local/bin/
each time to the command.
from homebrew-ffmpeg.
I am using ffmpeg frequently, for audio and video. Would like to keep both just to be certain, until I have tested this one.
The intention is indeed to delete the other one (Macports altogether).
This prefix can be then put freely before in the path, I guess...
from homebrew-ffmpeg.
Thanks, did put the /usr/local/bin/ffmpeg
before the other one in the path.
I guess the restart is needed for the change to take effect (have forgotten how it is done without restart, have done something like that before with path).
Thanks for help and your commitment and patience! :)
from homebrew-ffmpeg.
Thanks again!
Using the Terminal as we speak (youtube-dl) so I will have to wait until the download is clear... Thought opening the other shell would do, but of course, not.
from homebrew-ffmpeg.
I guess the restart is needed for the change to take effect (have forgotten how it is done without restart, have done something like that before with path).
Close and reopen the Terminal should be sufficient.
Nope, not even the restart fixed that, but that is well outside of this formula, and the thread is closed.
Many thanks again for your patience and time!! :)
from homebrew-ffmpeg.
Related Issues (20)
- add libzbvi to the default options in Homebrew formula from your repo HOT 9
- Please enable the ffplay building option, as the official brew formula does HOT 4
- Possible formula fixes/changes HOT 2
- Can't upgrade to 5.1 HOT 10
- Unknown decoder 'libx265' HOT 1
- FFmpeg 6.0 HOT 4
- Additional codecs don't seem to be included with installation HOT 1
- "unpaper" won't run without ffmpeg 5.x HOT 9
- Can you support installing older version of ffmpeg (e.g. ffmpeg@4) with the option --with-fdk-aac ? HOT 1
- Add `libplacebo` as a supported (optional) library HOT 11
- Install with a different name HOT 7
- Apple Silicon support in homebrew HOT 4
- Patch failure for libavcodec when re-installing ffmpeg HEAD HOT 7
- libavdevice build error (Mac M1 Silicon) HOT 24
- libvidstab error, failed on the 2nd pass, "Cannot parse localmotion" HOT 3
- Test optional installations in CI pipeline
- Error installing with`VkVideoDecodeAV1SessionParametersCreateInfoMESA` HOT 10
- ERROR: libflite not found HOT 32
- tap comparison HOT 1
- Brewing custom ffmpeg but failure at metal execution HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-ffmpeg.