XULRUNNER & VLC Plugin
Posted: 19 Jan 2007 23:43
Hi all,
I'm trying to create a XUL application which is mainly a Video viewer which uses VLC plugin.
I think followed all instruction from Mozilla Gecko documentation and VLC site I put "npvlc.dll" and "vlcintf.xpt" into Xulrunner plugin folder but plugin did not started then I put also "libvlc.dll" into plugin folder and application seemed to start but no video was displayed.
Looking at error log it seems it can not find access_demux module for http! Here follows Error log and XUL snippet
I'm using gecko 1.8 and vlc 0.8.6a
Any ideas?
Marco.
XUL snippet:
Error Log:
I'm trying to create a XUL application which is mainly a Video viewer which uses VLC plugin.
I think followed all instruction from Mozilla Gecko documentation and VLC site I put "npvlc.dll" and "vlcintf.xpt" into Xulrunner plugin folder but plugin did not started then I put also "libvlc.dll" into plugin folder and application seemed to start but no video was displayed.
Looking at error log it seems it can not find access_demux module for http! Here follows Error log and XUL snippet
I'm using gecko 1.8 and vlc 0.8.6a
Any ideas?
Marco.
XUL snippet:
Code: Select all
<?xml version="1.0"?>
<window>
...
<vbox flex="1">
<spacer flex="1"/>
<hbox>
<spacer flex="1"/>
<html:embed type="application/x-vlc-plugin"
name="vclplayer"
autoplay="yes" loop="yes" width="400" height="300"
target="http://localhost:8080" />
<spacer flex="1"/>
</hbox>
<hbox>
<spacer flex="1"/>
<button label="start" oncommand="onStart();" />
<button label="stop" oncommand="onStop();" />
<spacer flex="1"/>
</hbox>
<spacer flex="1"/>
</vbox>
</window>
Code: Select all
argn=width, argv=400
argn=height, argv=300
argn=type, argv=application/x-vlc-plugin
argn=name, argv=vclplayer
argn=autoplay, argv=yes
argn=loop, argv=yes
argn=target, argv=http://localhost:8080
[00000001] main private debug: opening config file C:\Documents and Settings\theBaz\Dati applicazioni\vlc\vlcrc
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file C:\Documents and Settings\theBaz\Dati applicazioni/vlc/cache/plugins-04041e.dat
[00000001] main private debug: recursively browsing `C:\sviluppo\eclipse\xul\xulvlc\modules'
[00000001] main private debug: recursively browsing `C:\sviluppo\eclipse\xul\xulvlc\plugins'
[00000001] main private debug: module bank initialized, found 11 modules
[00000001] main private debug: opening config file C:\Documents and Settings\theBaz\Dati applicazioni\vlc\vlcrc
[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main private debug: looking for memcpy module: 2 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000016] main playlist debug: waiting for thread completion
[00000016] main playlist debug: thread 9420 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000017] main private debug: waiting for thread completion
[00000017] main private debug: thread 9404 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000018] main interface debug: looking for interface module: 0 candidates
[00000018] main interface error: no interface module matched "hotkeys,none"
[00000018] main interface error: no suitable interface module
[00000001] main private error: interface "hotkeys,none" initialization failed
[00000016] main playlist debug: adding playlist item `C:\Programmi\VideoLAN\VLC\plugins' ( C:\Programmi\VideoLAN\VLC\plugins )
[00000016] main playlist debug: adding playlist item `application.ini' ( application.ini )
[00000016] main playlist debug: adding playlist item `http://localhost:8080' ( http://localhost:8080 )
application initialized.
[00000016] main playlist debug: creating new input thread
[00000019] main input debug: waiting for thread completion
[00000019] main input debug: thread 9344 (input) created at priority 1 (input/input.c:265)
[00000019] main input debug: `application.ini' gives access `' demux `' path `application.ini'
[00000019] main input debug: creating demux: access='' demux='' path='application.ini'
[00000020] main demuxer debug: looking for access_demux module: 0 candidates
[00000020] main demuxer warning: no access_demux module matched "any"
[00000019] main input debug: creating access '' path='application.ini'
[00000021] main access debug: looking for access2 module: 0 candidates
[00000021] main access error: no access2 module matched "any"
[00000019] main input error: no suitable access module for `application.ini'
[00000019] main input debug: thread times: real 0m0,093750s, kernel 0m0,000000s, user 0m0,000000s
[00000019] main input debug: thread 9344 joined (input/input.c:412)
[00000016] main playlist debug: creating new input thread
[00000023] main input debug: waiting for thread completion
[00000023] main input debug: thread 9344 (input) created at priority 1 (input/input.c:265)
[00000023] main input debug: drive letter C: found in source
[00000023] main input debug: `C:\Programmi\VideoLAN\VLC\plugins' gives access `' demux `' path `C:\Programmi\VideoLAN\VLC\plugins'
[00000023] main input debug: creating demux: access='' demux='' path='C:\Programmi\VideoLAN\VLC\plugins'
[00000024] main demuxer debug: looking for access_demux module: 0 candidates
[00000024] main demuxer warning: no access_demux module matched "any"
[00000023] main input debug: creating access '' path='C:\Programmi\VideoLAN\VLC\plugins'
[00000025] main access debug: looking for access2 module: 0 candidates
[00000025] main access error: no access2 module matched "any"
[00000023] main input error: no suitable access module for `C:\Programmi\VideoLAN\VLC\plugins'
[00000023] main input debug: thread times: real 0m0,093750s, kernel 0m0,000000s, user 0m0,000000s
[00000023] main input debug: thread 9344 joined (input/input.c:412)
[00000016] main playlist debug: creating new input thread
[00000026] main input debug: waiting for thread completion
[00000026] main input debug: thread 9324 (input) created at priority 1 (input/input.c:265)
[00000026] main input debug: `http://localhost:8080' gives access `http' demux `' path `localhost:8080'
[00000026] main input debug: creating demux: access='http' demux='' path='localhost:8080'
[00000027] main demuxer debug: looking for access_demux module: 0 candidates
[00000027] main demuxer warning: no access_demux module matched "http"
[00000026] main input debug: creating access 'http' path='localhost:8080'
[00000028] main access debug: looking for access2 module: 0 candidates
[00000028] main access error: no access2 module matched "http"
[00000026] main input error: no suitable access module for `http://localhost:8080'