Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VLCJ not working on Mac - plugin libvlccore.5.dylib

Tags:

macos

vlcj

I am trying to get VLCJ working on Mac and PC. It works fine under Windows 7 (64bit) but when I try to run it on my Mac it crashes. I am pointing to the correct directory for the VLC dylib files but I get an "...quit unexpectedly while using the libvlccore.5.dylib plugin" message. The details are:

Process:         java [48664]
Path:            /usr/bin/java
Identifier:      com.apple.javajdk16.cmd
Version:         1.0 (1.0)
Code Type:       X86-64 (Native)
Parent Process:  java [48543]

PlugIn Path:       /Applications/VLC.app/Contents/MacOS/lib/libvlccore.5.dylib
PlugIn Identifier: libvlccore.5.dylib
PlugIn Version:    7.0.0 (compatibility 7.0.0)

Date/Time:       2012-11-09 17:42:13.389 +1300
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          416266 sec
Crashes Since Last Report:           2
Per-App Interval Since Last Report:  369 sec
Per-App Crashes Since Last Report:   2
Anonymous UUID:                      2E883C97-CC99-4700-90ED-BA9554F46C71

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000038
Crashed Thread:  30

...

Does anyone have any ideas please?

like image 395
user1505631 Avatar asked Nov 12 '12 09:11

user1505631


3 Answers

I bet you are using the libraries of VLC 2.0.4. I was experiencing the same problems and I downgraded to 2.0.3 version. It works fine now!

like image 168
user1839577 Avatar answered Nov 15 '22 03:11

user1839577


I've the same problem but I checked with all VLC versions: 2.0.1, 2.0.3, 2.0.4 & 2.0.5 and it still not working.

Could you provide me your config info to try to make it work like you? MAC OSX, JAVA version, VLCj version & VLC version?

You can follow the thread on github https://github.com/caprica/vlcj/issues/138

Thanks a lot.

like image 26
galix85 Avatar answered Nov 15 '22 03:11

galix85


This has been fixed in vlc 2.0.7.

It should also be fixed in vlc 2.1.0.

If you check the NEWS file for vlc 2.0.7 you will see this:

Video output: * Fix crash when using libvlc in 3rd party applications (Mac only)

like image 28
caprica Avatar answered Nov 15 '22 04:11

caprica