libvlc:加载脚本http.lua时出错

时间:2015-10-22 18:39:39

标签: c lua video-streaming vlc libvlc

我下载了vlc-2.2.1源代码并经过长时间的努力后编译了它。现在,当我从源目录运行./vlc时,它显示以下错误,并且vlc窗口没有显示。

VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[08258920] [http] lua interface error: Error loading script /home/ezio/vlcLib/vlc-2.2.1/share/lua/intf/http.luac: /home/ezio/vlcLib/vlc-2.2.1/share/lua/intf/http.luac: bad header in precompiled chunk
[081a2b18] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[082338b0] [cli] lua interface error: Error loading script /home/ezio/vlcLib/vlc-2.2.1/share/lua/intf/cli.luac: /home/ezio/vlcLib/vlc-2.2.1/share/lua/intf/cli.luac: bad header in precompiled chunk

我需要vlc的web界面功能。所以,我将〜/ .config / vlc / vlcrc配置为

#### Extra interface modules (string)
extraintf=http

如何解决此错误?

注意: 我在我的电脑上安装了vlc 2.1.6, 它工作正常

VLC media player 2.1.6 Rincewind (revision 2.1.6-0-gea01d28)
[0x8fd3718] [http] lua interface: Lua HTTP interface
[0x8fc3910] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
"sni-qt/29618" WARN  13:36:25.965 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE 

0 个答案:

没有答案