Bug #937
MediaPlayer: impossible to run under Windows or Mac OS X
Statut: | Rejected | Début: | 13/07/2014 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Plugins | Temps passé: | - | |
Version cible: | 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 .
Historique
#1 Mis à jour par Matthieu Decorde il y a environ 11 ans
- Description mis à jour (diff)
#2 Mis à jour par Matthieu Decorde il y a environ 11 ans
- Version cible changé de TXM 0.X.X à MediaPlayer
#3 Mis à jour par Matthieu Decorde il y a environ 11 ans
- % réalisé changé de 0 à 80
#4 Mis à jour par Matthieu Quignard il y a plus de 8 ans
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 Mis à jour par Matthieu Quignard il y a plus de 8 ans
Workaround (tested) :
cd /Applications/VLC.app/Contents/MacOS/lib mkdir vlc cd vlc ln -s ../../plugins .
#6 Mis à jour par Serge Heiden il y a plus de 8 ans
- Description mis à jour (diff)
#7 Mis à jour par Matthieu Decorde il y a plus de 8 ans
- Version cible changé de MediaPlayer à TXM 0.8.0a (split/restructuration)
- % réalisé changé de 80 à 50
#8 Mis à jour par Sebastien Jacquot il y a plus de 7 ans
- Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0
#9 Mis à jour par Matthieu Decorde il y a plus de 6 ans
- Version cible changé de TXM 0.8.0 à TXM 0.8.2
#10 Mis à jour par Sebastien Jacquot il y a plus de 5 ans
- Statut changé de New à Rejected
- Version cible changé de TXM 0.8.2 à TXM 0.8.1
- % réalisé changé de 50 à 100
Became obsolete, Media Player now uses JavaFX instead of VLC.