That thread is about custom graphics. I just want to display an Image in transparent PNG format.
Im playing with setOverlay() now.
I know what that thread is about thanks, I wrote half of it. You can use custom graphics to paint your transparent PNG and even blend it with the video if you use the approach described in that thread, you know about graphics.drawImage() right?. You can even add your JLabel with your icon to the overlay Window that is described in that thread, and it will be properly transparent.
Or if like you say you just want to display an image, maybe the the logo functionality exposed by libvlc and wrapped by vlcj is all you need:
Code: Select all
mediaPlayer.setLogoFile("mylogo.png");
mediaPlayer.setLogoOpacity(25);
mediaPlayer.setLogoLocation(10, 10);
mediaPlayer.enableLogo(true);
Logo seems to work well with vlc 1.1.x, but I've seen problems with it on vlc 1.2-git.