vlcj:: Unable to load library "libvlc" in 64bit OS

Ich bin mit 64-bit-OS Windows 7 und ich habe 32 bit VLC versioniert 1.1.8.

Ich habe diese Bibliotheken
jna.jar
platform.jar
vlcj-1.1.5.1.jar

Ich bin nicht in der Lage, einen stream mit jVlc

public class HelloVLC {

/**
 * @param args
 * @throws IOException 
 */
public static void main(String[] args) throws IOException {
    //TODO Auto-generated method stub

    System.out.println( WindowsRuntimeUtil.getVlcInstallDir());
      NativeLibrary.addSearchPath("libvlc", "C:\\Program Files (x86)\\VideoLAN\\VLC");
      String media = "dshow://";
     String[] options = {" :dshow-vdev=Integrated Webcam :dshow-adev=  :dshow-caching=200", ":sout = #transcode{vcodec=theo,vb=800,scale=0.25,acodec=vorb,ab=128,channels=2,samplerate=44100}:display :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep"};
        System.out.println("Streaming '" + media + "' to '" + options + "'");

        MediaPlayerFactory mediaPlayerFactory = new MediaPlayerFactory();
        final HeadlessMediaPlayer mediaPlayer = mediaPlayerFactory.newMediaPlayer();
        mediaPlayer.playMedia(media, options);
}

}

Ich bin immer der Fehler Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'libvlc': The specified module could not be found.

Bitte helfen. Gibt es eine Möglichkeit um diesen code zu erhalten arbeiten in 64-bit-OS????

InformationsquelleAutor sonu thomas | 2011-12-22

Schreibe einen Kommentar