Closed R0manych closed 2 years ago
I think something has gone awry with either the nuget packaging or the way dotnet is now unwrapping them. I was able to solve the same problem on one of my examples by using:
SIPSorceryMedia.FFmpeg.FFmpegInit.Initialise(SIPSorceryMedia.FFmpeg.FfmpegLogLevelEnum.AV_LOG_VERBOSE, Environment.CurrentDirectory);
I will close the issue, as it seems solved.
Feel free to ask any other question, or reopen issue.
avpriv_mpeg4audio_get_config2 Not found in DLL Unable to load DLL 'avformat.58 under The specified module could not be found In FileSourceDecoder,InitialiseSource line 70 _fmtCtx = ffmpeg.avformat_alloc_context();
SIPSorceryMedia.FFmpeg.FileSourceDecoder.InitialiseSource() в FileSourceDecoder.cs SIPSorceryMedia.FFmpeg.FileSourceDecoder.StartDecode() в FileSourceDecoder.cs SIPSorceryMedia.FFmpeg.FFmpegFileSource.Start() в FFmpegFileSource.cs SIPSorceryMedia.FFmpeg.FFmpegFileSource.StartVideo() в FFmpegFileSource.cs VideofileStreamingConsole.Program.CreatePeerConnectionNew.AnonymousMethod__1(SIPSorcery.Net.RTCPeerConnectionState) в Program.cs
My code:
I don't know what I've done wrong, can you please help? Tried to add all av-dlls into bin\Debug\netcoreapp3.1\FFmpeg\bin\x64