homebrew-amiaos
homebrew-amiaos copied to clipboard
ffmpegdecklink: x264 not found using pkg-config
Hi everyone! :smiley:
I keep running into the following error brewing ffmpegdecklink on Xubuntu 20.04.6:
ERROR: x264 not found using pkg-config
The current brew-recipe downloads ffmpeg v5.1.2: (https://github.com/amiaopensource/homebrew-amiaos/blob/6909a7a2bb25078a4992808eae617362d01d6e56/ffmpegdecklink.rb#L4)
It worked flawlessly on my previous Ubuntu 20.04 setup (ffmpeg v4.4). I'm guessing it may be related to an issue posted on ffmpeg-user "ffmpeg > 5.0 refuses to build with x264-static"?
I'm currently trying to adjust the brew-recipe with the workaround/fix mentioned in the above post:
- Add --pkg-config-flags="--static" to ./configure
I've never edited brew-recipes before, so it may take a while, but I thought I'd post this here in case someone else also runs into this :smile: