Bug #937
MediaPlayer: impossible to run under Windows or Mac OS X
Status: | Rejected | Start date: | 07/13/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% |
|
Category: | Plugins | Spent time: | - | |
Target version: | TXM 0.8.1 |
Description
Issue
- Under Windows or Mac OS X, the MediaPlayer extension is not able to run VLC binary to play media files;
- TXM JNI code seems to have trouble to get to the VLC binary and library files.
Diagnostic (general)
The issue seems related to the libraries file path used by JNI.
Diagnostic for MacOSX
From https://github.com/caprica/vlcj/issues/349
It seems like VLCJ calls a native library (MacOSX) called LibVLC and this library has a wrong path.
This could be solved by resetting the VLC_PLUGIN_PATH to the correct value which is
/Applications/VLC.app/Contents/MacOS/plugins
Another way to workaround is to modify the VLC application folder, with a symlink, to conform to the wrong LibVLC path...
Suggestion
Find out what is or are the library paths vlcj.jar
is using and try to set JNI libraries file path properly.
- for Windows: copy VLC binary files (executable, libraries...) into TXM executable directory.
- for Mac OS X:
cd /Applications/VLC.app/Contents/MacOS/lib mkdir vlc cd vlc ln -s ../../plugins .
History
#1 Updated by Matthieu Decorde over 8 years ago
- Description updated (diff)
#2 Updated by Matthieu Decorde over 8 years ago
- Target version changed from TXM X.X to MediaPlayer
#3 Updated by Matthieu Decorde over 8 years ago
- % Done changed from 0 to 80
#4 Updated by Matthieu Quignard almost 6 years ago
From this URL
https://github.com/caprica/vlcj/issues/349
It seems like VLCJ calls a native library (MacOSX) called LibVLC and this library has a wrong path.
This could be solved by resetting the VLC_PLUGIN_PATH to the correct value which is
/Applications/VLC.app/Contents/MacOS/plugins
Another way to workaround is to modify the VLC application folder, with a symlink, to conform to the wrong LibVLC path...
#5 Updated by Matthieu Quignard almost 6 years ago
Workaround (tested) :
cd /Applications/VLC.app/Contents/MacOS/lib mkdir vlc cd vlc ln -s ../../plugins .
#6 Updated by Serge Heiden almost 6 years ago
- Description updated (diff)
#7 Updated by Matthieu Decorde almost 6 years ago
- Target version changed from MediaPlayer to TXM 0.8.0a (split/restructuration)
- % Done changed from 80 to 50
#8 Updated by Sebastien Jacquot almost 5 years ago
- Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0
#9 Updated by Matthieu Decorde about 4 years ago
- Target version changed from TXM 0.8.0 to TXM 0.8.2
#10 Updated by Sebastien Jacquot about 3 years ago
- Status changed from New to Rejected
- Target version changed from TXM 0.8.2 to TXM 0.8.1
- % Done changed from 50 to 100
Became obsolete, Media Player now uses JavaFX instead of VLC.