Skip to content
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

Decklink input is not found / 'atomic' file not found #852

Open
DSohl opened this issue Nov 12, 2024 · 7 comments
Open

Decklink input is not found / 'atomic' file not found #852

DSohl opened this issue Nov 12, 2024 · 7 comments

Comments

@DSohl
Copy link

DSohl commented Nov 12, 2024

Hey, gang-
I ran brew upgrade today, which seems to have impacted Vrecord and ffmpeg. Now, when I try to record or pass-through, I get

≈:≈ vrecord -p
2024-11-12 16:32:27.858 defaults[2730:14928] 
The domain/default pair of (/Library/Extensions/DeckLink_Driver.kext/Contents/Info.plist, CFBundleVersion) does not exist
 2024-11-12T16:32:29 - The decklink input is not found.

I unlinked and relinked ffmpegdecklink, and then uninstalled and reinstalled ffmpegdecklink per issue #729 which gives me the following:

≈:≈ brew reinstall ffmpegdecklink
==> Fetching amiaopensource/amiaos/ffmpegdecklink
==> Downloading https://ffmpeg.org/releases/ffmpeg-5.1.4.tar.xz
Already downloaded: /Users/medialab/Library/Caches/Homebrew/downloads/8b47badb190762bc6cdf5eb62280cec764dad75644e1a8d1e65d3bd9fd7d485e--ffmpeg-5.1.4.tar.xz
==> Reinstalling amiaopensource/amiaos/ffmpegdecklink 
==> ./configure --disable-shared --enable-version3 --cc=clang --host-cflags= --h
==> make
Last 15 lines from /Users/medialab/Library/Logs/Homebrew/ffmpegdecklink/02.make:
libavdevice/decklink_dec.cpp:24:10: fatal error: 'atomic' file not found
   24 | #include <atomic>
      |          ^~~~~~~~
CC	libavdevice/version.o
GEN	libavdevice/libavdevice.pc
CC	libavfilter/aarch64/vf_nlmeans_init.o
CC	libavfilter/aeval.o
AS	libavfilter/aarch64/vf_nlmeans_neon.o
CC	libavfilter/af_acontrast.o
1 error generated.
1 error generated.
make: *** [libavdevice/decklink_enc.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [libavdevice/decklink_dec.o] Error 1
CC	libavfilter/af_acopy.o

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/amiaopensource/homebrew-amiaos/issues

Playing Atomic Dog did not help. Does anyone have suggestions?

@bturkus
Copy link
Collaborator

bturkus commented Nov 13, 2024

hey @DSohl have you updated xcode command line tools recently?

instructions here: https://stackoverflow.com/questions/42538171/how-to-update-xcode-command-line-tools

For future travelers, here's a version-agnostic approach. First, run softwareupdate --list. This will probably take a couple of minutes. When it's done, you'll see a bulleted (with an asterisk) output like this:

$ softwareupdate --list
Software Update Tool

Finding available software
Software Update found the following new or updated software:
   * Command Line Tools (macOS High Sierra version 10.13) for Xcode-10.1
        Command Line Tools (macOS High Sierra version 10.13) for Xcode (10.1), 190584K [recommended]
Find the bullet that refers to the Xcode command line tools. Copy that entire line (except the asterisk...). In the above case, you would copy:

Command Line Tools (macOS High Sierra version 10.13) for Xcode-10.1

Then, run the install command (as shown by Brendan Shanks) with what you copied inside quotes:

softwareupdate -i "Command Line Tools (macOS High Sierra version 10.13) for Xcode-10.1"

@DSohl
Copy link
Author

DSohl commented Nov 13, 2024

Hi, @bturkus - I appreciate the suggestion of using softwareupdate. While it's true that I hadn't done it, apparently there's no new software available. So that seems to be a dead end.

@privatezero
Copy link
Member

@DSohl just to clarify, did you unlink/relink decklinksdk before you reinstalled ffmpegdecklink? (Above it says you did the relinking on ffmpegdecklink, not the SDK but wondering if that was a typo).

@EmCNabs
Copy link

EmCNabs commented Dec 2, 2024

@DSohl having the same issue on workstation.

/Users/medialab
≈:≈ vrecord          
Starting the vrecord GUI. To bypass the GUI, run like 'vrecord FILENAME'.
 2024-12-02T12:48:21 - The decklink input is not found.

Command Line Tools for Xcode is on version 16.1
Is there another version of Xcode or dependency to be installed? We are going to try installing Xcode from the apple store and see if that fixes anything

ffmpegdecklink is identified as missing

/Users/medialab
≈:≈ brew missing
vrecord: ffmpegdecklink

Then when I try to install ffmpegdecklink it comes back with this error similar to @DSohl

/Users/medialab
≈:≈  brew install ffmpegdecklink
==> Fetching amiaopensource/amiaos/ffmpegdecklink
==> Downloading https://ffmpeg.org/releases/ffmpeg-5.1.4.tar.xz
Already downloaded: /Users/medialab/Library/Caches/Homebrew/downloads/8b47badb190762bc6cdf5eb62280cec764dad75644e1a8d1e65d3bd9fd7d485e--ffmpeg-5.1.4.tar.xz
==> Installing ffmpegdecklink from amiaopensource/amiaos
==> ./configure --disable-shared --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libfreetype --enab
==> make
Last 15 lines from /Users/medialab/Library/Logs/Homebrew/ffmpegdecklink/02.make:
CC	libavfilter/af_acrossover.o
CC	libavfilter/af_acrusher.o
CC	libavfilter/af_adeclick.o
CC	libavfilter/af_adecorrelate.o
CC	libavfilter/af_adelay.o
CC	libavfilter/af_adenorm.o
CC	libavfilter/af_aderivative.o
CC	libavfilter/af_adynamicequalizer.o
CC	libavfilter/af_adynamicsmooth.o
CC	libavfilter/af_aecho.o
1 error generated.
make: *** [libavdevice/decklink_enc.o] Error 1
make: *** Waiting for unfinished jobs....
1 error generated.
make: *** [libavdevice/decklink_dec.o] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/amiaopensource/homebrew-amiaos/issues

These open issues may also help:
ffmpegdecklink: x264 not found using pkg-config https://github.com/amiaopensource/homebrew-amiaos/issues/362
ffmpegdecklink: fontconfig not found using pkg-config https://github.com/amiaopensource/homebrew-amiaos/issues/360

@EmCNabs
Copy link

EmCNabs commented Dec 2, 2024

This is what appears when I run vrecord

≈:≈ vrecord
Starting the vrecord GUI. To bypass the GUI, run like 'vrecord FILENAME'.
2024-12-02 14:29:27.407 defaults[13310:52182] 
The domain/default pair of (/Library/Extensions/DeckLink_Driver.kext/Contents/Info.plist, CFBundleVersion) does not exist
/usr/local/bin/vrecord: line 229: /usr/local/opt/ffmpegdecklink/bin/ffplay-dl: No such file or directory

I have run both brew reinstall fontconfig & brew reinstall x264. Both seemed to run smoothly, but then when I try to run Brew install vrecord or Brew install ffmpegdecklink it still stalls at ffmpegdecklink and ends with the error

==> Installing amiaopensource/amiaos/ffmpegdecklink
==> ./configure --disable-shared --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --
==> make
Last 15 lines from /Users/medialab/Library/Logs/Homebrew/ffmpegdecklink/02.make:
CC	libavfilter/af_acrossover.o
CC	libavfilter/af_acrusher.o
CC	libavfilter/af_adeclick.o
CC	libavfilter/af_adecorrelate.o
CC	libavfilter/af_adelay.o
CC	libavfilter/af_adenorm.o
CC	libavfilter/af_aderivative.o
CC	libavfilter/af_adynamicequalizer.o
CC	libavfilter/af_adynamicsmooth.o
CC	libavfilter/af_aecho.o
1 error generated.
make: *** [libavdevice/decklink_enc.o] Error 1
make: *** Waiting for unfinished jobs....
1 error generated.
make: *** [libavdevice/decklink_dec.o] Error 1

** Update: now vrecord comes back with this error

≈:≈ vrecord
Starting the vrecord GUI. To bypass the GUI, run like 'vrecord FILENAME'.
 2024-12-02T15:58:04 - vrecord exited a form in an unexpected way (EXIT=), please report this error to https://github.com/amiaopensource/vrecord/issues

@DSohl
Copy link
Author

DSohl commented Dec 10, 2024

@privatezero that was, indeed, miswording on my part. I meant that I unlinked and relinked decklinksdk

At least vrecord isn't exiting a form in an unexpected way (sorry, @EmCNabs)

@RDostaly
Copy link

Hi @DSohl and @EmCNabs

I had some problem here, on a computer running macOS 14.7.1 w/ xcode 16.1
I got things working by uninstalling and reinstalling xcode command line tools:

  1. sudo rm -rf /Library/Developer/CommandLineTools
  2. xcode-select --install
  3. brew reinstall amiaopensource/amiaos/ffmpegdecklink
  4. brew install vrecord

let me know fi this works for you too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants