Open Todilo opened 1 year ago
I have the same issue.
Most likely means your ffmpeg binaries cannot be found. Try installing with the command below:
winget install "FFmpeg (Shared)"
After that you can pass an empty string to the initialise method:
SIPSorceryMedia.FFmpeg.FFmpegInit.Initialise(SIPSorceryMedia.FFmpeg.FfmpegLogLevelEnum.AV_LOG_VERBOSE, string.Empty, logger);
You need to use the "ffmpeg full build shared" versions. Available here for windows: https://github.com/GyanD/codexffmpeg/releases/tag/6.0
Prior to the update of the ffmpeg version 6 no errors but now this code breaks with error System.NotSupportedException: Specified method is not supported
ffmpeg.av_hwdevice_iterate_types(type))
System.NotSupportedException: Specified method is not supported. at FFmpeg.AutoGen.DynamicallyLoadedBindings.<>c.<Initialize>b__2_953(AVHWDeviceType <p0>) at FFmpeg.AutoGen.DynamicallyLoadedBindings.<>c.<Initialize>b__2_243(AVHWDeviceType prev) at FFmpeg.AutoGen.ffmpeg.av_hwdevice_iterate_types(AVHWDeviceType prev)
I have installed latest ffmpeg ffmpeg version 6.0-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
Runnning on windows 11.