-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Hi there,
Sorry in advance if i've missed something obvious, but i've been through the existing issues for this and i'm still hitting the NotSupportedException
Environment
Macos - 15.0.1 (24A348)
M1
I've downloaded ffmpeg from brew
brew install ffmpeg@6 (think i need to use v6, rather than latest, see #70 (comment)). I've also tried with v4 and latest
that installs it to
/opt/homebrew/opt/ffmpeg@6/bin
$ /opt/homebrew/opt/ffmpeg@6/bin/ffmpeg -version
ffmpeg version 6.1.2 Copyright (c) 2000-2024 the FFmpeg developers
i've then set this in the Initialise
FFmpegInit.Initialise(FfmpegLogLevelEnum.AV_LOG_TRACE, libPath: "/opt/homebrew/opt/ffmpeg@6/bin", logger);
and have also tried lib
FFmpegInit.Initialise(FfmpegLogLevelEnum.AV_LOG_TRACE, libPath: "/opt/homebrew/opt/ffmpeg@6/lib", logger);
either way i get the exception
FFmpeg binaries path set to: /opt/homebrew/opt/ffmpeg@6/lib π including for clarity is either /lib or /bin
Unhandled exception. System.NotSupportedException: Specified method is not supported.
at FFmpeg.AutoGen.DynamicallyLoadedBindings.<>c.<Initialize>b__2_1227()
at FFmpeg.AutoGen.DynamicallyLoadedBindings.<>c.<Initialize>b__2_516()
at FFmpeg.AutoGen.ffmpeg.avdevice_register_all()
at SIPSorceryMedia.FFmpeg.FFmpegInit.SetFFmpegBinariesPath(String path)
at SIPSorceryMedia.FFmpeg.FFmpegInit.RegisterFFmpegBinaries(String libPath)
at SIPSorceryMedia.FFmpeg.FFmpegInit.Initialise(Nullable`1 logLevel, String libPath, ILogger appLogger)
at Program.<Main>$(String[] args) in /REDACTED
at Program.<Main>(String[] args)
Metadata
Metadata
Assignees
Labels
No labels