jvlc

Keep getting an Error “Component must be displayable”

旧巷老猫 提交于 2020-01-03 03:44:05
问题 Hi I keep getting an error "Component must be displayable" and cant solve it I looked at the Questions on SO and tried the solutions but to no avail. I'm trying to implement a JVLC player the error occurs when I try " .setVideoOutput(canvas1) " in the Vid class here is the main class. import java.awt.Component; import java.awt.Toolkit; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; import java.util.logging.Level; import java.util

How to use JVLC (Java bindings for VLC)?

…衆ロ難τιáo~ 提交于 2019-12-11 07:08:12
问题 I'm trying to use JVLC but I can't seem to get it work. I've downloaded the jar, I installed VLC and passed the -D argument to the JVM telling it where VLC is installed. I also tried: NativeLibrary.addSearchPath("libvlc", "C:\\Program Files\\VideoLAN\\VLC"); with no luck. I always get: Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'libvlc': The specified module could not be found. Has anyone made it work? 回答1: You can get that exception if the dll you are

Keep getting an Error “Component must be displayable”

筅森魡賤 提交于 2019-12-06 19:21:27
Hi I keep getting an error "Component must be displayable" and cant solve it I looked at the Questions on SO and tried the solutions but to no avail. I'm trying to implement a JVLC player the error occurs when I try " .setVideoOutput(canvas1) " in the Vid class here is the main class. import java.awt.Component; import java.awt.Toolkit; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author Shane */ public class Main extends javax.swing.JFrame { private