← Back to team overview

openjdk team mailing list archive

[Bug 1215378] [NEW] vlcj not work on linux mint

 

Public bug reported:

I'm trying do use vlcj with this simple code but i have an error.
this is my code:

import uk.co.caprica.vlcj.binding.LibVlc;
import uk.co.caprica.vlcj.component.EmbeddedMediaPlayerComponent;
import uk.co.caprica.vlcj.runtime.RuntimeUtil;

import com.sun.jna.NativeLibrary;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;

public class Tutorial2B {

    private final EmbeddedMediaPlayerComponent mediaPlayerComponent;

    public static void main(final String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {
                new Tutorial2B(args);
            }
        });
    }

    private Tutorial2B(String[] args) {
        JFrame frame = new JFrame("vlcj Tutorial");

        mediaPlayerComponent = new EmbeddedMediaPlayerComponent();

        frame.setContentPane(mediaPlayerComponent);

        frame.setLocation(100, 100);
        frame.setSize(1050, 600);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setVisible(true);

        mediaPlayerComponent.getMediaPlayer().playMedia("/home/davide-mint/jdownloader/downloads/Basi mp3 cdg italiani/Adriano Celentano - Il Tempo se ne Va.MP3");
    }
}


In the attached file you find the report of error.
Thanks

** Affects: openjdk-7 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "hs_err_pid1012.log"
   https://bugs.launchpad.net/bugs/1215378/+attachment/3782297/+files/hs_err_pid1012.log

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1215378

Title:
  vlcj not work on linux mint

Status in “openjdk-7” package in Ubuntu:
  New

Bug description:
  I'm trying do use vlcj with this simple code but i have an error.
  this is my code:

  import uk.co.caprica.vlcj.binding.LibVlc;
  import uk.co.caprica.vlcj.component.EmbeddedMediaPlayerComponent;
  import uk.co.caprica.vlcj.runtime.RuntimeUtil;

  import com.sun.jna.NativeLibrary;
  import javax.swing.JFrame;
  import javax.swing.SwingUtilities;

  public class Tutorial2B {

      private final EmbeddedMediaPlayerComponent mediaPlayerComponent;

      public static void main(final String[] args) {
          SwingUtilities.invokeLater(new Runnable() {
              @Override
              public void run() {
                  new Tutorial2B(args);
              }
          });
      }

      private Tutorial2B(String[] args) {
          JFrame frame = new JFrame("vlcj Tutorial");

          mediaPlayerComponent = new EmbeddedMediaPlayerComponent();

          frame.setContentPane(mediaPlayerComponent);

          frame.setLocation(100, 100);
          frame.setSize(1050, 600);
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.setVisible(true);

          mediaPlayerComponent.getMediaPlayer().playMedia("/home/davide-mint/jdownloader/downloads/Basi mp3 cdg italiani/Adriano Celentano - Il Tempo se ne Va.MP3");
      }
  }

  
  In the attached file you find the report of error.
  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1215378/+subscriptions


Follow ups

References