C# ffmpeg 调用avformat_open_input报错

如题,相关代码如下:
string str = "rtsp://192.168.1.108:554/Streaming/Channels/101?transportmode=unicast&profile=Profile_1";
var format_ctx = ffmpeg.avformat_alloc_context();
int ret = ffmpeg.avformat_open_input(&format_ctx, str, null, null);
if (ret != 0)
{
Console.WriteLine("fail to open url:" + url + "return value:" + ret);
return -1;
}
return 0;
结果报错图片说明
有点懵逼,不知道错误出在哪里。。。