Page 1 of 1

Urgent question about VLC player using eclipse on Windows

Posted: 26 Jan 2011 18:21
by mary2012
Hi,
I am working on a java project using eclipse and I need to play videos. I would like to use VLC but can not find any good and complete documentation and tutorial for it...I need to get the project done asap, can anyone who is experienced with VLC player with java help me out?


I followed the link: viewtopic.php?f=32&t=68529&p=227623&hil ... se#p227623 and set up a java project but I got the following errors:
[00000001] main libvlc debug: VLC media player - version 0.9.2 Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--host=i586-mingw32msvc' '--build=i386-linux' '--enable-mkv' '--enable-release' '--without-contrib' '--enable-nls' '--enable-shared-libvlc' '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-real' '--enable-realrtsp' '--enable-ffmpeg' '--with-ffmpeg-mp3lame' '--with-ffmpeg-faac' '--with-ffmpeg-config-path=/usr/win32/bin' '--with-ffmpeg-zlib' '--enable-live555' '--with-live555-tree=/usr/win32/live.com' '--ena
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc error: no memcpy module matched "any"
[00000007] main access error: no access module matched "file"
[00000006] main input error: open of `file/xspf-open://C:\Users\Xiaoxu\AppData\Roaming\vlc\ml.xspf' failed: could not create access: no access module matched "file"
[00000010] main interface error: no interface module matched "hotkeys,none"
[00000010] main interface error: no suitable interface module
[00000001] main libvlc error: interface "hotkeys,none" initialization failed
*** LibVLC Exception not handled: No active input
Set a breakpoint in 'libvlc_exception_not_handled' to debug.
[00000013] main access error: no access module matched "any"
[00000011] main input error: open of `C:\Users\Xiaoxu\workspace\Learning\testData\suture.avi' failed: could not create access: no access module matched "any"
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x100035c0, pid=5156, tid=3692
#
# JRE version: 6.0_22-b04
# Java VM: Java HotSpot(TM) Client VM (17.1-b03 mixed mode, sharing windows-x86 )
# Problematic frame:
# C 0x100035c0
#
[thread 3032 also had an error]
# An error report file with more information is saved as:
# [thread 3032 also had an error]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


Please help me out! Your help will be highly appreciated!!


Best
Mary

Re: Urgent question about VLC player using eclipse on Window

Posted: 26 Jan 2011 22:06
by RĂ©mi Denis-Courmont
LibVLC 0.9 is old and buggy.

Re: Urgent question about VLC player using eclipse on Window

Posted: 27 Jan 2011 00:23
by gnosygnu
I would use vlcj. You can follow the thread here: viewtopic.php?f=32&t=56939&start=160.
If you start with the TestPlayer, it should be straightforward enough. I use vlcj in eclipse (on Windows XP), and integration was issue free.
Also, as Remi indicated, use a VLC version higher than .9. vlcj requires 1.1.

Also, moderators, can the "JVLC status" thread be pinned just like the C# and Delphi counterparts? At 14k views, it's not unpopular...