Comments (8)
Just wondering: why do you use FFmpeg 4.2.1
==> ./configure --prefix=/usr/local/Cellar/ffmpeg/4.2.1-with-options_2
and not the formula for FFmpeg 4.2.2 which we did release one week earlier? And did other change other things? (I am asking because the formula does not generate a _2
.)
from homebrew-ffmpeg.
I just run the command with all arguments (except for chromaprint because ffmpeg is its dependency). I can try again.
from homebrew-ffmpeg.
I updated homebrew and run the command again. Here's the new output (note that the version is 4.2.2)
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg --with-decklink --with-fd
==> Downloading https://ffmpeg.org/releases/ffmpeg-4.2.2.tar.xz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/ffmpeg/4.2.2-with-options --enable-shared --cc=clang --host-cflags=-I/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home/include -I/Library/Java/JavaVir
==> make install
Last 15 lines from /Users/Jin/Library/Logs/Homebrew/ffmpeg/02.make:
u_char p_priority; /* Process priority. /
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/proc.h:134:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char p_usrpri; / User-priority based on p_cpu and p_nice. /
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/proc.h:139:2: error: unknown type name 'u_short'; did you mean 'short'?
u_short p_xstat; / Exit status for wait; also stop signal. /
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/proc.h:140:2: error: unknown type name 'u_short'; did you mean 'short'?
u_short p_acflag; / Accounting flags. */
^
9 errors generated.
make: *** [libavutil/cpu.o] Error 1
make: *** Waiting for unfinished jobs....
STRIP libswscale/x86/scale.o
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/homebrew-ffmpeg/homebrew-ffmpeg/issues
These open issues may also help:
FFmpeg failed to build #15
building with --with-chromaprint problem, recursive dependency on ffmpeg #13
from homebrew-ffmpeg.
Thank you for reporting back! I can probably delve into it this evening.
from homebrew-ffmpeg.
@sclsj Do you still encounter this issue? I could not reproduce.
Regarding the --with-decklink
option: the DeckLink SDK has to be installed before running the FFmpeg formula. One possibility is to use:
brew install amiaopensource/amiaos/decklinksdk
See the ReadMe.
from homebrew-ffmpeg.
@retokromer I build it on my own without homebrew. I used 'make -n' to find the actual compiler flag and deleted all header directories except for the default ones, and it worked. I think something is probably defined in more than one header file and the incorrect one is used.
from homebrew-ffmpeg.
I have too many programs in /usr/local/ so I don't know which program caused that.
from homebrew-ffmpeg.
Thank you, @sclsj, for reporting back!
I think something is probably defined in more than one header file and the incorrect one is used.
This seems not related to our formula and I will close the issue, but feel free to reopen it when you have other information.
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: chromaprint not found HOT 3
- FFmpeg with decklink support installation failure HOT 14
- opencv not working after homebrew-ffmpeg installation HOT 4
- 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.