VLC加载插件失败原因及解决
2014-07-15 23:38
375 查看
最近做视频播放的程序,找到了VLC开源库。在windows+vs2013+QT5.3环境下进行调试。出现了在调用libvlc_new时提示不能找到插件、加载libvlc失败的问题。
原因及解决方法如下:
1: 提示找不到插件,是因为plugins目录位置不对,应该放在和libvlc.dll相同目录下。
https://forum.videolan.org/viewtopic.php?f=32&t=119693&p=405063&hilit=libvlc_new#p405063
2: 加载libvlc失败,我这里的问题主要是libvlc_new初始化时带上了参数,直接调用libvlc_new(0, NULL)成功。估计可能的原因是参数不对。
以下是libvlc_new函数说明
* Arguments are meant to be passed from the command line to LibVLC, just like
* VLC media player does. The list of valid arguments depends on the LibVLC
* version, the operating system and platform, and set of available LibVLC
* plugins. Invalid or unsupported arguments will cause the function to fail
* (i.e. return NULL). Also, some arguments may alter the behaviour or
* otherwise interfere with other LibVLC functions.
原因及解决方法如下:
1: 提示找不到插件,是因为plugins目录位置不对,应该放在和libvlc.dll相同目录下。
https://forum.videolan.org/viewtopic.php?f=32&t=119693&p=405063&hilit=libvlc_new#p405063
2: 加载libvlc失败,我这里的问题主要是libvlc_new初始化时带上了参数,直接调用libvlc_new(0, NULL)成功。估计可能的原因是参数不对。
以下是libvlc_new函数说明
* Arguments are meant to be passed from the command line to LibVLC, just like
* VLC media player does. The list of valid arguments depends on the LibVLC
* version, the operating system and platform, and set of available LibVLC
* plugins. Invalid or unsupported arguments will cause the function to fail
* (i.e. return NULL). Also, some arguments may alter the behaviour or
* otherwise interfere with other LibVLC functions.
相关文章推荐
- StarUML: 插件加载失败的解决方法
- Eclipse 插件安装方法和插件加载失败解决办法
- Webview加载 URL 失败的原因分析和解决办法
- PHP 加载 curl.dll 扩展失败的原因和解决方法
- php ci框架中加载css和js文件失败的原因及解决方法
- AngularJS使用ng-inlude指令加载页面失败的原因与解决方法
- spring+mybatis 注入properties文件中属性失败导致datasource加载失败的原因和解决
- 【转】Eclipse 插件安装方法和插件加载失败解决办法
- php ci框架中加载css和js文件失败的原因及解决方法
- Eclipse 插件安装方法和插件加载失败解决办法
- chrome上 flash上传插件加载失败的 解决方法
- Eclipse 插件安装方法和插件加载失败解决办法
- 【转】Eclipse 插件安装方法和插件加载失败解决办法
- Eclipse 插件安装方法和插件加载失败解决办法
- Discuz 页面不能加载插件的原因和解决方法
- Eclipse 插件安装方法和插件加载失败解决办法
- (十) ng-inlude指令加载页面失败的原因和解决方法
- 解决Eclipse因为插件加载失败而无法启动的问题
- Eclipse插件加载失败的解决办法
- [转] StarUML: 插件加载失败的解决方法