Skip to content

Could not load type 'FFmpeg.AutoGen.Native.LibraryLoader' from assembly 'FFmpeg.AutoGen #679

@saulgreenberg

Description

@saulgreenberg

I am considering FFME as an alternate to MediaElement, but can't get it to run correctly.
I wrote a minimal .Net 4.8.2 FFME test project constructed according to the instructions, ie.,

  • placing ffmpeg shared binaries in a folder,
  • setting the Unosquare.FFME.Library.FFmpegDirector to that folder,
  • creating an ffme:MediaElement in a grid,
  • doing a Media.Open on a video
    However, it generates this error message:
    Could not load type 'FFmpeg.AutoGen.Native.LibraryLoader' from assembly 'FFmpeg.AutoGen, Version=6.0.0.2, Culture=neutral, PublicKeyToken=9b7632533a381715'.

The ffmpeg binaries are numbered as follows, in case this is due to an incompatability with the ffmpeg libraries (although I have also tried with other ffmpeg libraries)
avcodec-61.dll
avdevice-61.dll
avfilter-10.dll
avformat-61.dll
avutil-59.dll
postproc-58.dll
swresample-5.dll
swscale-8.dll
(plus ffmpeg.exe, ffplaye.exe, ffprobe.exe)

Issue Categories

  • [ X] Bug

Version Information

  • NuGet Package .4.4350

Steps to Reproduce

I can package up the entire project as a zip file if desired. It really is a minimal application that jsut attempts to play a single video.

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