Code: Select all
import java.applet.*;
import java.awt.Canvas;
import javax.swing.JPanel;
import org.videolan.jvlc.JVLC;
import org.videolan.jvlc.Playlist;
public class PruJvlc extends Applet {
private Playlist playlist;
private JVLC jvlc;
public Canvas jvcanvas;
public JPanel jvcc;
public void init () {
jvcc = new JPanel();
jvcanvas = new java.awt.Canvas();
jvcanvas.setSize(200, 200);
jvcc.add(jvcanvas);
add(jvcc);
jvlc = new JVLC();
playlist = new Playlist(jvlc);
jvlc.setVideoOutput(jvcanvas);
try{
playlist.add("despedida.avi","Prueba");
playlist.play();
}catch(Exception e){
e.printStackTrace();
}
}
}
[00000001] main libvlc debug: libvlc was configured with ./configure '--host=i586-mingw32msvc' '--build=i386-linux' '--enable-mkv' '--enable-release' '--without-contrib' '--enable-nls' '--enable-shared-libvlc' '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-real' '--enable-realrtsp' '--enable-ffmpeg' '--with-ffmpeg-mp3lame' '--with-ffmpeg-faac' '--with-ffmpeg-config-path=/usr/win32/bin' '--with-ffmpeg-zlib' '--enable-live555' '--with-live555-tree=/usr/win32/live.com' '--ena
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc error: no memcpy module matched "any"
[00000007] main access error: no access module matched "file"
[00000006] main input error: open of `file/xspf-open://C:\Documents and Settings\aNiTa\Datos de programa\vlc\ml.xspf' failed: could not create access: no access module matched "file"
[00000010] main interface error: no interface module matched "hotkeys,none"
[00000010] main interface error: no suitable interface module
[00000001] main libvlc error: interface "hotkeys,none" initialization failed
*** LibVLC Exception not handled: No active input
Set a breakpoint in 'libvlc_exception_not_handled' to debug.
[00000013] main access error: no access module matched "any"
[00000011] main input error: open of `despedida.avi' failed: could not create access: no access module matched "any"
smbd can help me?