Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求教怎么初始化? #19

Open
938134 opened this issue Apr 7, 2024 · 3 comments
Open

求教怎么初始化? #19

938134 opened this issue Apr 7, 2024 · 3 comments

Comments

@938134
Copy link

938134 commented Apr 7, 2024

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

@sdcb
Copy link
Owner

sdcb commented Apr 7, 2024

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

@938134
Copy link
Author

938134 commented Apr 8, 2024

已经安装了

@sdcb
Copy link
Owner

sdcb commented Apr 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants