Skip to content
This repository was archived by the owner on Feb 21, 2026. It is now read-only.

Unhandled exception. System.NotSupportedException: Specified method is not supported. ... at FFmpeg.AutoGen.ffmpeg.avdevice_register_all() #91

@Bungalow12

Description

@Bungalow12

Hey all,
I am seeing an issue on Ubuntu 22.04 when attempting to initialize ffmpeg. The exception is

Unhandled exception. 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)

The same code works great on OSX so I am wondering:

  1. Is this a known issue?
  2. Is there a missing lib I might need?
  3. Is this possibly a problem because it is running on a Ubuntu device without a display device? (EC2 instance)

Straight up Google searching isn't helping but I may not be asking the correct thing. Any expertise would be greatly appreciated

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