Skip to content

System.NotSupportedException: Specified method is not supported (MacOS)Β #89

@FinHorsley

Description

@FinHorsley

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions