Code: Select all
$ java -classpath jna.jar:jvlc-core-0.9.0-SNAPSHOT.jar -Djna.library.path=$PLUGINS_DIRECTORY org.videolan.jvlc.example.VLCExample
== Starting VLCExample ==
Creating a JVLC instance without args[00000001] main libvlc debug: VLC media player - version 0.9.0-git Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--prefix=/home/jossnaz/vlc-compiled/' '--build=i386-linux' '--disable-qt4' '--disable-wxwidgets' '--disable-activex' '--disable-vcdx' '--disable-cddax' '--disable-mozilla' '--disable-gtk' '--disable-hal' '--disable-libcdio' '--disable-skins2' '--disable-portaudio' '--enable-nls' '--enable-ffmpeg' '--with-ffmpeg-faad' '--with-ffmpeg-mp3lame' '--with-ffmpeg-faac' '--with-ffmpeg-zlib' '--with-ffmpeg-a52' '--with-ffmpeg-theora' '--with-ffmpeg-vorbis' '--enable-theora' '--enable-faad' '--enable-twolame' '--enable-dv' '--enable-dvdread' '--enable-live555' '--enable-caca' '--enable-goom' '--enable-real' '--enable-realrtsp' '--enable-mkv' '--enable-shout' '--enable-dvb' '--enable-dvbpsi' '--enable-v4l' '--enable-dvdnav' '--enable-a52' '--enable-libmpeg2' '--enable-vorbis' '--enable-flac' '--enable-sout' '--enable-ogg' '--enable-vlm' '--enable-mad' '--enable-libtool' '--enable-shared' '--enable-x264' '--enable-shared-libvlc' 'build_alias=i386-linux'
[00000001] main libvlc debug: translation test: code is "C"
[00000351] inhibit interface error: Failed to connect to the D-Bus session daemon: Failed to execute dbus-launch to autolaunch D-Bus session
[00000351] main interface error: no suitable interface module
[00000001] main libvlc error: interface "inhibit,none" initialization failed
Code: Select all
java.lang.UnsatisfiedLinkError: Unable to load library 'vlc-control': libvlc-control.so
Code: Select all
java -classpath jna-3.0.2.jar:jvlc-core-0.9.0-SNAPSHOT.jar -Djna.library.path=/opt/vlc-plugins-2008-07-27 org.videolan.jvlc.example.VLCExample
== Starting VLCExample ==
Creating a JVLC instance without args[00000001] main libvlc debug: VLC media player - version 0.9.0-test3 Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--prefix=/opt/vlc-git-2008-07-27' '--build=i386-linux' '--disable-qt4' '--disable-wxwidgets' '--disable-activex' '--disable-vcdx' '--disable-cddax' '--disable-mozilla' '--disable-gtk' '--disable-hal' '--disable-libcdio' '--disable-skins2' '--disable-portaudio' '--enable-nls' '--enable-ffmpeg' '--with-ffmpeg-faad' '--with-ffmpeg-mp3lame' '--with-ffmpeg-faac' '--with-ffmpeg-zlib' '--with-ffmpeg-a52' '--with-ffmpeg-theora' '--with-ffmpeg-vorbis' '--enable-theora' '--enable-faad' '--enable-twolame' '--enable-dv' '--enable-dvdread' '--disable-live555' '--enable-caca' '--enable-goom' '--enable-real' '--enable-realrtsp' '--enable-mkv' '--enable-shout' '--enable-dvb' '--enable-dvbpsi' '--enable-v4l' '--enable-dvdnav' '--enable-a52' '--enable-libmpeg2' '--enable-vorbis' '--enable-flac' '--enable-sout' '--enable-ogg' '--enable-vlm' '--enable-mad' '--enable-libtool' '--enable-shared' '--enable-x264' '--enable-shared-libvlc' 'build_alias=i386-linux'
[00000001] main libvlc debug: translation test: code is "C"
[00000351] inhibit interface error: Failed to connect to the D-Bus session daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[00000351] main interface error: no suitable interface module
[00000001] main libvlc error: interface "inhibit,none" initialization failed
... done.
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.videolan.jvlc.event.MediaPlayerCallback.<init>(MediaPlayerCallback.java:49)
at org.videolan.jvlc.MediaPlayer.addListener(MediaPlayer.java:156)
at org.videolan.jvlc.example.VLCExample.main(VLCExample.java:35)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
... 3 more
Code: Select all
speex.c: In function ‘ProcessInitialHeader’:
speex.c:473: warning: missing initializer
speex.c:473: warning: (near initialization for ‘stereo.reserved1’)
speex.c: In function ‘OpenEncoder’:
speex.c:991: error: ‘SPEEX_SET_VBR_MAX_BITRATE’ undeclared (first use in this function)
speex.c:991: error: (Each undeclared identifier is reported only once
speex.c:991: error: for each function it appears in.)
make[5]: *** [libspeex_plugin_la-speex.lo] Error 1
make[5]: Leaving directory `/home/timeshiftuser/vlc/modules/codec'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/timeshiftuser/vlc/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/timeshiftuser/vlc/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/timeshiftuser/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/timeshiftuser/vlc'
make: *** [all] Error 2
Code: Select all
root@thepro:/home/thepro/vlc/bindings/java/core/target# java -Djna.library.path=/opt/vlc-plugins-2008-06-13 org.videolan.jvlc.example.VLCExample
== Starting VLCExample ==
Creating a JVLC instance without args[0x8132a80] main libvlc debug: VLC media player - version 1.0.0-git Goldeneye - (c) 1996-2008 the VideoLAN team
[0x8132a80] main libvlc debug: libvlc was configured with ./configure '--prefix=/opt/vlc-git-2008-06-13' '--build=i386-linux' '--disable-qt4' '--disable-wxwidgets' '--disable-activex' '--disable-vcdx' '--disable-cddax' '--disable-mozilla' '--disable-gtk' '--disable-hal' '--disable-libcdio' '--disable-skins2' '--disable-portaudio' '--enable-nls' '--enable-ffmpeg' '--with-ffmpeg-faad' '--with-ffmpeg-mp3lame' '--with-ffmpeg-faac' '--with-ffmpeg-zlib' '--with-ffmpeg-a52' '--with-ffmpeg-theora' '--with-ffmpeg-vorbis' '--enable-theora' '--enable-faad' '--enable-twolame' '--enable-dv' '--enable-dvdread' '--enable-live555' '--enable-caca' '--enable-goom' '--enable-real' '--enable-realrtsp' '--enable-mkv' '--enable-shout' '--enable-dvb' '--enable-dvbpsi' '--enable-v4l' '--enable-dvdnav' '--enable-a52' '--enable-libmpeg2' '--enable-vorbis' '--enable-flac' '--enable-sout' '--enable-ogg' '--enable-vlm' '--enable-mad' '--enable-libtool' '--enable-shared' '--enable-x264' '--enable-shared-libvlc' 'build_alias=i386-linux'
[0x8132a80] main libvlc debug: translation test: code is "C"
[0x8132a80] main libvlc error: no memcpy module matched "any"
[0x8181be8] main access error: no access module matched "file"
[0x8177a58] main input error: open of `file/xspf-open:///root/.local/share/vlc/ml.xspf' failed: no access module matched "file"
[0x8181df0] main interface error: no interface module matched "hotkeys,none"
[0x8181df0] main interface error: no suitable interface module
[0x8132a80] main libvlc error: interface "hotkeys,none" initialization failed
[0x8181c78] main interface error: no interface module matched "inhibit,none"
[0x8181c78] main interface error: no suitable interface module
[0x8132a80] main libvlc error: interface "inhibit,none" initialization failed
[0x8181c78] main interface error: no interface module matched "screensaver,none"
[0x8181c78] main interface error: no suitable interface module
[0x8132a80] main libvlc error: interface "screensaver,none" initialization failed
... done.
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.videolan.jvlc.event.MediaPlayerCallback.<init>(MediaPlayerCallback.java:49)
at org.videolan.jvlc.MediaPlayer.addListener(MediaPlayer.java:156)
at org.videolan.jvlc.example.VLCExample.main(VLCExample.java:35)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 3 more
[0x8175c38] main playlist error: no playlist export module matched "export-xspf"
Thanks for your fast answer Xyber! I did what you told me and the error now changed. JVLC just freezes in the last message:just download slf4j, an put slf4j api jar to the classpath
Code: Select all
root@thepro:/home/thepro/vlc/bindings/java/core/target# java -Djna.library.path=/opt/vlc-plugins-2008-06-13 org.videolan.jvlc.example.VLCExample
== Starting VLCExample ==
Creating a JVLC instance without args[0x9075ab28] main libvlc debug: VLC media player - version 1.0.0-git Goldeneye - (c) 1996-2008 the VideoLAN team
[0x9075ab28] main libvlc debug: libvlc was configured with ./configure '--prefix=/opt/vlc-git-2008-06-13' '--build=i386-linux' '--disable-qt4' '--disable-wxwidgets' '--disable-activex' '--disable-vcdx' '--disable-cddax' '--disable-mozilla' '--disable-gtk' '--disable-hal' '--disable-libcdio' '--disable-skins2' '--disable-portaudio' '--enable-nls' '--enable-ffmpeg' '--with-ffmpeg-faad' '--with-ffmpeg-mp3lame' '--with-ffmpeg-faac' '--with-ffmpeg-zlib' '--with-ffmpeg-a52' '--with-ffmpeg-theora' '--with-ffmpeg-vorbis' '--enable-theora' '--enable-faad' '--enable-twolame' '--enable-dv' '--enable-dvdread' '--enable-live555' '--enable-caca' '--enable-goom' '--enable-real' '--enable-realrtsp' '--enable-mkv' '--enable-shout' '--enable-dvb' '--enable-dvbpsi' '--enable-v4l' '--enable-dvdnav' '--enable-a52' '--enable-libmpeg2' '--enable-vorbis' '--enable-flac' '--enable-sout' '--enable-ogg' '--enable-vlm' '--enable-mad' '--enable-libtool' '--enable-shared' '--enable-x264' '--enable-shared-libvlc' 'build_alias=i386-linux'
[0x9075ab28] main libvlc debug: translation test: code is "C"
[0x9075ab28] main libvlc error: no memcpy module matched "any"
[0x9075c558] main access error: no access module matched "file"
[0x9075be88] main input error: open of `file/xspf-open:///root/.local/share/vlc/ml.xspf' failed: no access module matched "file"
[0x9075c430] main interface error: no interface module matched "hotkeys,none"
[0x9075c430] main interface error: no suitable interface module
[0x9075ab28] main libvlc error: interface "hotkeys,none" initialization failed
[0x907a84e8] main interface error: no interface module matched "inhibit,none"
[0x907a84e8] main interface error: no suitable interface module
[0x9075ab28] main libvlc error: interface "inhibit,none" initialization failed
[0x907a84e8] main interface error: no interface module matched "screensaver,none"
[0x907a84e8] main interface error: no suitable interface module
[0x9075ab28] main libvlc error: interface "screensaver,none" initialization failed
... done.
[0x9078a858] main access error: no access module matched "any"
[0x907a7ad8] main input error: open of `/home/carone/apps/a.avi' failed: no access module matched "any"
... and thats the problem! This "Djna.library.path" is garbage!sorry, i don't know, i'm not a jvlc magician but there are too many "libvlc error"
Code: Select all
java org.videolan.jvlc.example.VLCExample --plugin-path=/opt/vlc-plugins-2008-06-13
Return to “VLC media player for Linux and friends Troubleshooting”
Users browsing this forum: No registered users and 31 guests