在Windows 7上运行LibVLC.NET示例 [英] Running LibVLC.NET Example on Windows 7

查看:278
本文介绍了在Windows 7上运行LibVLC.NET示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想尝试用于.Net C#的VLC媒体框架绑定。

I want to try out VLC media framework bindings for .Net C#.

我从 http:// libvlcnet下载源码。 codeplex.com/SourceControl/latest ,将其解压缩,从 http://www.videolan .org / vlc / ,将其安装到C:\Program Files\。然后我打开下载的源项目,构建它,毕竟我尝试启动D:\libvlcnet-20526\trunk\Tests\Tutorial\bin\Debug\Tutorial.exe,最后错误是trwn: / p>

I download source from http://libvlcnet.codeplex.com/SourceControl/latest , unzip it, download latest VLC from http://www.videolan.org/vlc/ , install it to C:\Program Files\ . Then I open downloaded source project, build it and after all I try to launch D:\libvlcnet-20526\trunk\Tests\Tutorial\bin\Debug\Tutorial.exe and finally error is trown :

 Unhandled exception:  System dll not found exception no valid libvlc.dll could br found VLC is probably not installed!
 at LibVlc.Net.LibVlcLibrary.getorloadlibrary(String libVLCLibrary)

我去C: \Program Files\VideoLAN\VLC并复制libvlccore.dll,libvlc.dll和plugins文件夹(instrumentitotns in http://libvlcnet.codeplex.com/ ),然后将这些文件粘贴到D:\libvlcnet-20526\trunk\Tests\Tutorial\bin\Debug\,同样的目录我创建VLC文件夹和粘贴dll的,这样做后,我复制了VLC文件夹并粘贴在每个上层文件夹,以确保这个应用程序可以看到dll(我猜你已经注意到了冗余:))。我对VLC文件夹的内容做同样的事情,仍然得到相同的错误。我认为我做了一切什么 http://libvlcnet.codeplex.com/ 建议我做,仍然我失败了启动该项目。

I go to C:\Program Files\VideoLAN\VLC and copy "libvlccore.dll", "libvlc.dll" and "plugins" folder (instruciotns in http://libvlcnet.codeplex.com/ ), then paste these files to D:\libvlcnet-20526\trunk\Tests\Tutorial\bin\Debug\ , in the same directory I create "VLC" folder and paste dll's, after doing that I copied "VLC" folder and pasted in every upper folder just to be sure that this application could see dlls (I guess you already noticed redundacy :) ). I do the same thing with the contents of that "VLC" folder and still get the same error. I think I did everything what http://libvlcnet.codeplex.com/ suggested me to do and still I failed to launch that project.

我错了什么?

当初始化库时,我提供了到VLC的路径:

When initializing library I provided path to VLC:

 LibVLCLibrary library = LibVLCLibrary.Load("C:\\Program Files\\VideoLAN\\VLC");

我目前有2.0.0 VLC安装,所需版本为1.2,但是官方的ftp没有该版本 http://download.videolan.org/pub/videolan/vlc/ 这一次我得到另一个错误程序入口点aout_ismuted coul不位于动态链接库liblccore.dll。我也尝试过VLC 1.1.2,但仍然无法启动。

I currently have 2.0.0 VLC installed and required version is 1.2 ,however official ftp doesn't have that version http://download.videolan.org/pub/videolan/vlc/ and this time I get yet another error "Procedure entry point aout_ismuted coul not be located in the dynamic link library liblccore.dll". I also tried VLC 1.1.2, but it still fails to launch.

推荐答案

我发现另一个.NET C#库,一些工作示例 http://sourceforge.net/projects/libvlcnet/

I found another .NET C# library, which has some working examples http://sourceforge.net/projects/libvlcnet/

这篇关于在Windows 7上运行LibVLC.NET示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆