Sdcb.FFmpeg icon indicating copy to clipboard operation
Sdcb.FFmpeg copied to clipboard

求教怎么初始化?

Open 938134 opened this issue 2 years ago • 3 comments

VS2022已安装 Sdcb.FFmpeg 6.1.0.1、Sdcb.FFmpeg.runtime.windows-x64 6.1.1.

FormatContext inFc = FormatContext.OpenInputUrl("rtsp://admin:@192.168.58.89:554/channel=1_stream=0"); inFc.LoadStreamInfo(); MediaStream inVideoStream = inFc.GetVideoStream(); 运行时报错System.DllNotFoundException:“无法加载 DLL“avformat-60”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。” 使用大佬库时要先初始化吗?查了下DEBUG\DLL\X64\下有avformat-60

938134 avatar Apr 07 '24 11:04 938134

这个包是不是没装: Sdcb.FFmpeg.runtime.windows-x64

sdcb avatar Apr 07 '24 12:04 sdcb

已经安装了

938134 avatar Apr 08 '24 00:04 938134

使用DepedenciesGUI去查一下avformat-60,看看是不是有依赖问题?

sdcb avatar Apr 15 '24 01:04 sdcb