Comments (18)
➜ brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact) --HEAD
...
Unknown option "--enable-libwavpack".
ffmpeg is dropping support for libwavpack, so remove the --with-wavpack flag.
➜ brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact)
..
ERROR: libbluray not found using pkg-config
Libbluray is not installed, or it's not in a place where ffmpeg can find it. This should be installed automatically as a dependency for the formula.
➜ brew install homebrew-ffmpeg/ffmpeg/ffmpeg --HEAD
...
ERROR: fontconfig not found using pkg-config
Again you are missing a dependency, this time fontconfig.
To fix the last two issues, try running the same command but with --dependencies-only
added first, and make sure everything installs successfully, then run the command as you have it now. Other things to try: check brew doctor
or brew reinstall
any dependencies which are causing the install to fail.
from homebrew-ffmpeg.
I knew not WAVPack support was to be removed. It is included in all options which made me believe otherwise. How can I instal using all options precluding WAVPack? WAVPack is installed. If I remove it, will that be the solution?
Both libbluray and fontconfig are installed; that has not changed. PKG-Config has no non-standard prefixes in my path or any modifications to its configuration. These PKG-Config related error messages arose since I upgraded my machine to Big Sur although that may not be the culprit.
from homebrew-ffmpeg.
Wavpack is in all options because it is supported by the latest stable build of ffmpeg. It's not reasonable to support the unstable head since it changes so often. You can run brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact
remove the flag you don't want, and copy it into you command, replacing $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact)
.
from homebrew-ffmpeg.
Apologies but I fail to understand what you mean by replacing part of that command with remove and whichever dependency. I may need an example.
Do you recommend not to use HEAD builds of any dependency for FFMPEG, every dependency for FFMPEG, or only certain dependencies? If the latter, which ones?
from homebrew-ffmpeg.
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-chromaprint --with-decklink --with-fdk-aac --with-game-music-emu --with-libbluray --with-libbs2b --with-libcaca --with-libgsm --with-libmodplug --with-librsvg --with-libsoxr --with-libssh --with-libvidstab --with-libvmaf --with-libxml2 --with-opencore-amr --with-openh264 --with-openjpeg --with-openssl [email protected] --with-rav1e --with-rtmpdump --with-rubberband --with-speex --with-srt --with-tesseract --with-two-lame --with-webp --with-xvid --with-zeromq --with-zimg --HEAD
I would not recommend you install anything with HEAD unless you have a good reason to (for example some feature you want or fix for an issue you are having that is not in the latest stable version).
from homebrew-ffmpeg.
Now I understand: replace the command with the individual flags of each of the dependencies. I tried to avoid that so thanks for making that easy to copy and paste. Is it feasible to implement a --without-[dependency] flag, or is this out of the scope of FFMPEG or any formula in general?
from homebrew-ffmpeg.
The same libbluray related error arose when using the exact line you wrote. Why do you think PKG-Config all of a sudden cannot find libbluray? I uninstalled PKG-Config, reinstalled PKG-Config, uninstalled libbluray, and reinstalled libbluray all to no avail. I will not be surprised if fontconfig is the next one to cause problems. Both of these are linked via Homebrew so that is not the problem.
from homebrew-ffmpeg.
I never will understand why, but today the build was successful. No errors occurred; however, I changed nothing since I opened this issue. PKG-Config decided to find libbluray and fontconfig.
from homebrew-ffmpeg.
On my end, it works fine on macOS 11.0.1
, but I’ll not try to reproduce on 11.1 beta 2
now (because I rarely have the time to run after beta releases ;-)
from homebrew-ffmpeg.
I never will understand why, but today the build was successful. No errors occurred; however, I changed nothing since I opened this issue. PKG-Config decided to find libbluray and fontconfig.
The HEAD is evolving constantly…
In my opinion, it’s simpler to use releases for actual work, unless you need a feature that is not yet in a the last release, but only on the development branch.
Is it feasible to implement a --without-[dependency] flag, or is this out of the scope of FFMPEG or any formula in general?
That should be possible, yet what’s the benefit?
The current formula can already be parameterized according to any needs. Your approach would include the new libraries and you would have to exclude them each time a new one is added, if not needed.
from homebrew-ffmpeg.
The benefit of the --without-[dependency] argument would be avoiding to type all of the flags. One could type the same command for --COMPACT and append --without-[dependency] to avoid removing --compact and using the individual flags.
from homebrew-ffmpeg.
Please note that not everyone wants to always install all the options.
In particular, some options in this tap are only meaningful if you have other third-party SDKs installed (e.g., the DeckLink SDK) – or they are only useful for a very small number of people (e.g., snappy).
This is why we provide some defaults like libx264 but not others.
from homebrew-ffmpeg.
Of course; that is understandable. I am considering the edge case wherein a dependency [stable or HEAD] fails to be recognised although it is installed. PKG-Config has no HEAD but it failed to recognise both libbluray and fontconfig on my machine although both were stable builds installed at those junctures. This would be a quick way to instal all dependencies without certain ones provided the edge case exists and not type all of the individual dependency flags. My suggestion is for convenience really and not of particular importance.
from homebrew-ffmpeg.
Sure. Unfortunately we cannot provide both modes of operation. Either we have some default formulae that are sensible and additional ones with --with-XXX
, or we have all dependencies by default and a --without
mechanism. If both should exist at the same time, Homebrew itself would have to provide such a mechanism.
from homebrew-ffmpeg.
I knew that not. Thanks for the explanation.
from homebrew-ffmpeg.
By the way, at least for me, the "not found using pkg-config" errors from ffmpeg are often red herrings. I frequently get those printed at the end of a configuration/compilation process when it errors out, but the actual error is often logged much earlier and to be found in the ffmpeg compilation log itself. It should be in some temporary folder that Homebrew creates.
Anyway, good that it worked for you now.
from homebrew-ffmpeg.
Do you know where this log resides on Mac OS? Perhaps I can retrieve it before it is deleted provided this occurs in future.
from homebrew-ffmpeg.
Do you know where this log resides on Mac OS? Perhaps I can retrieve it before it is deleted provided this occurs in future.
At ~/Library/Logs/Homebrew/
if I remember carefully.
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.