-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ffmpegdecklink: fontconfig not found using pkg-config #360
Comments
I should mention that i did install libfontconfig1-dev sudo apt install libfontconfig1-dev but that did not solve my problem. I stll see Command 'vrecord' not found, did you mean: command 'arecord' from deb alsa-utils my ffmpeg seems to report ffmpeg version 3.4.11-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers I could probably live without fontconfig thanks |
and there is this eng@z820vid1:~$ sudo apt install fontconfig and this brew install fontconfig Building dependency tree |
This is a very old FFmpeg: it was cut form the development branch almost six years ago. The current release is 6.0 and 6.1 should follow soonish. Yet Currently I cannot test on Ubuntu 18.04, but “only” on 23.04, 22.04.3 LTS and 20.04.6 LTS. Possibly @privatezero has an older one? |
Earliest version I have access to is 22.04.3 also - however, I've been able to reproduce the problem. I had a functioning build of ffmpegdecklink, but now when I attempt @retokromer, can you reproduce the problem on your end? |
@privatezero I didn’t try yet, because I also have regular access “only” to three newer Ubuntu versions. I’ll give a try with those later during the weekend. |
@privatezero By chance, have you tested with #349 yet? |
@retokromer I just tested with #349, and had the same result (also, sorry for missing that PR somehow!). I'll be able to test on a different install of Ubuntu tomorrow to see if that changes anything. I'm looking at the logs, and it does appear that fontconfig is on the PKG_CONFIG_PATH, so not sure why it isn't finding it in the configuration.
|
@privatezero I could reproduce as well, but so far I could not find any reason why this occurs. On my end I tested on 23.04, 22.04.3 LTS and 20.04.6 LTS. |
Possibly related - I just tried a test brew install of |
Interesting … there are two FFmpeg patches upstream, but those are for the releases, not the head. |
@retokromer strange - I have just tested on a computer running 23.04 and I am able to make it through the configuration step successfully. (Build fails later due to a different issue - possibly related to this. Still not sure what the difference between success/failure here is as the PKG_CONFIG_PATH looks identical. I wonder if it would be worth developing some instructions about how to build ffmpegdecklink independently of brew. (That would also require a slight tweak to vrecord so that it doesn't only look for ffmpeg-dl in |
FYI @privatezero : As the official FFmpeg formula doesn’t allow options since quite a while, we are maintaining an alternate formula, which is referenced also from the FFmpeg website. In addition, at my company we actually use a little modified |
@jshupert @retokromer, I believe I have found a resolution to this issue - please try running:
It is possible that after this you will run into the compilation issue that is addressed via @retokromer's alternate FFmpeg formula, but we'll cross that bridge when we get there! Let us know if this works and we'll update guidance, and should compilation fail for a new reason, please file a new issue so we can address it there. |
I did brew reinstall bzip2 && brew reinstall fontconfig ==> Fetching bzip2 then i did brew install vrecord You have 6 outdated formulae installed. ==> Fetching dependencies for amiaopensource/amiaos/vrecord: [email protected], gcc, freetype, sqlite, libedit, glib, amiaopensource/amiaos/ffmpegdecklink, atk, autoconf, automake, lzo, pixman, cairo, fribidi, shared-mime-info, gdk-pixbuf, graphite2, harfbuzz, libxdamage, elfutils, glslang, gzip, libpciaccess, libdrm, wayland, libva, libvdpau, libxshmfence, libxv, llvm@15, lm-sensors, wayland-protocols, mesa, mesa-glu, freeglut, libepoxy, libpthread-stubs, pango, hicolor-icon-theme, libxcomposite, gtk+, amiaopensource/amiaos/gtkdialog and cowsay ERROR: fontconfig not found using pkg-config If you think configure made a mistake, make sure you are using the latest If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): These open issues may also help: so I thin that did not work for me should I have done something diffrent from brew install vrecord |
i did a brew upgrade and then a brew reinstall ffmpegdecklink pkg-config --print-errors x264 did not return anything it almost ..to me seems worse before it was just fontconfig now it is a x264 problem .. aswell. Maybe I am not understanding Thanks - for any assistance |
vrecord -p does not launch the desired prog Should I update my os to Ubuntu 20.04 ? thanks |
is it possible to alter the ffmpeg config when it "all happens" in brew? can it be done a step at a time? |
|
I could update to 22.04 LTS if that would "solve" my problems I need to solve this - what i think is - ERROR: fontconfig not found using pkg-config cheers and thanks |
You could try sudo apt-get install libfontconfig1-dev |
Yeah I think I tried that last week tried just now sudo apt-get install libfontconfig1-dev and still no j0y brew install vrecord You have 1 outdated formula installed. ==> Fetching dependencies for amiaopensource/amiaos/vrecord: [email protected], amiaopensource/amiaos/ffmpegdecklink, atk, autoconf, automake, lzo, pixman, cairo, fribidi, shared-mime-info, gdk-pixbuf, graphite2, harfbuzz, libxdamage, elfutils, glslang, gzip, libpciaccess, libdrm, wayland, libva, libvdpau, libxshmfence, libxv, llvm@15, lm-sensors, wayland-protocols, mesa, mesa-glu, freeglut, libepoxy, libpthread-stubs, pango, hicolor-icon-theme, libxcomposite, gtk+, amiaopensource/amiaos/gtkdialog and cowsay ERROR: fontconfig not found using pkg-config If you think configure made a mistake, make sure you are using the latest If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): I |
thanks for trying |
is this a clue?? from from /home/eng/.cache/Homebrew/Logs/ffmpegdecklink/01.configure /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /home/linuxbrew/.linuxbrew/opt/libpng/lib/libpng16.so.16: undefined reference to `pow@GLIBC_2.29' |
/home/eng/.cache/Homebrew/Logs/ffmpegdecklink/ffbuild sorry that is from the above /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /home/linuxbrew/.linuxbrew/opt/libpng/lib/libpng16.so.16: undefined reference to `pow@GLIBC_2.29' |
Hi @jshupert - yes you can check the config as it is happening in brew by loading in interactive mode ( When you ran |
Hi, I'm trying to install ffmpegdecklink on macOS 12.6.8 via homebrew. Was excited to try this out, but the install is failing. brew output below. The error referenced this thread so posting here. I already tried one of the troubleshooting steps noted above:
|
--HEAD does not resolve the issue:
|
Solved above issue by installing without docs (modded the rb config file) |
We actually to this in the alternate FFmpeg formula: |
Cool. Is there way for me to use that in the homebrew install process so I could reinstall using that formula? I'm not experienced with the nuances of homebrew and how to reference a specific commit with a 'brew install'. |
You can make and modify a local copy of the formula and run |
Friends,
I have ubuntu 18.04 and I am attempting to install vrecord.
I have been using the wisdom from
https://github.com/amiaopensource/vrecord/blob/main/Resources/Documentation/linux_installation.md
when I do brew install vrecord
with
==> Installing amiaopensource/amiaos/vrecord dependency: amiaopensource/amiaos/ffmpegdecklink
==> ./configure --disable-shared --enable-version3 --cc=gcc-13 --host-cflags= --host-ldflags= --enable-gpl --enable-libfreet
Last 15 lines from /home/eng/.cache/Homebrew/Logs/ffmpegdecklink/01.configure:
--enable-libfontconfig
--disable-libjack
--disable-indev=jack
--enable-nonfree
--enable-decklink
--extra-cflags=-I/home/linuxbrew/.linuxbrew/include
--extra-ldflags=-L/home/linuxbrew/.linuxbrew/include
ERROR: fontconfig not found using pkg-config
config.log
The text was updated successfully, but these errors were encountered: