Search found 30 matches

Go to advanced search

by gnosygnus
08 May 2010 05:44
Forum: Development around libVLC
Topic: JVLC status
Replies: 177
Views: 58600

Re: JVLC status

Hopefully this is worthwhile to someone, but to continue an earlier post.... I encountered an issue on Windows wherein loading UTF-8 fileNames from a UTF-8 MySql database would not always work. I saw that Charset.defaultCharset().name = "windows-1252", so I thought converting the string to...
by gnosygnus
06 May 2010 08:26
Forum: Development around libVLC
Topic: JVLC status
Replies: 177
Views: 58600

Re: JVLC status

I discovered an odd issue, but it may be a boundary case. If you call setMedia with a String that has a non UTF-8 encoding (windows-1252), then the file fails to play with a "could not find file" error. [redact]However, if you convert it to UTF-8, then the file plays successfully.[/redact]...
by gnosygnus
04 May 2010 04:43
Forum: Development around libVLC
Topic: How to intercept keyboard and mouse events on Windows
Replies: 15
Views: 6456

Re: How to intercept keyboard and mouse events on Windows

From the LibVLC perspective, platform-specific code is unavoidable for video embedding. This stems from the fact that native window handles are required. Thanks. That makes complete sense. I was looking at it too much from the pampered portable-language perspective. With the newest version of the v...
by gnosygnus
03 May 2010 06:26
Forum: Development around libVLC
Topic: How to intercept keyboard and mouse events on Windows
Replies: 15
Views: 6456

Re: How to intercept keyboard and mouse events on Windows

Thanks all for the helpful comments. @sherington: I've tried a transparent GlassPane, but for some reason I couldn't get it working. I think that this has to do with mixing lightweight and heavyweight components. I discovered the AWTUtilities class here, http://java.sun.com/developer/technicalArticl...
by gnosygnus
02 May 2010 20:05
Forum: Development around libVLC
Topic: How to intercept keyboard and mouse events on Windows
Replies: 15
Views: 6456

How to intercept keyboard and mouse events on Windows

I am using java1.6 on Windows XP SP3. Thanks to sherington and the excellent vlcj project, I have a basic video player application. However, I need to intercept keyboard and mouse events to trigger actions (custom menu, log to database, etc.). The vlcj implementation passes a pointer to a heavyweigh...

Go to advanced search