cannot open .mp4 videos

Hi, there

I built ELAN-5.8 from source with java 8, it was successfully built, however, when I tried to open .mp4 files, it gave me the following errors. there are some other errors, could someone help me with this? Many thanks

Nov 11, 2019 10:58:45 AM mpi.eudico.client.annotator.prefs.PreferencesReader parse
INFO: Reading preferences: /home/seamanj/.elan_data/elan.pfsx
External updater thread started
Nov 11, 2019 10:58:46 AM mpi.eudico.client.annotator.DesktopAppHandler setHandlers
INFO: The APP_ABOUT action is not supported on the current platform!
Nov 11, 2019 10:58:46 AM mpi.eudico.client.annotator.DesktopAppHandler setHandlers
INFO: The APP_QUIT_HANDLER action is not supported on the current platform!
Nov 11, 2019 10:58:46 AM mpi.eudico.client.annotator.DesktopAppHandler setHandlers
INFO: The APP_OPEN_FILE action is not supported on the current platform!
Nov 11, 2019 10:58:46 AM mpi.eudico.client.annotator.DesktopAppHandler setHandlers
INFO: The APP_PREFERENCES action is not supported on the current platform!
Nov 11, 2019 10:58:46 AM mpi.eudico.client.annotator.prefs.PreferencesReader parse
INFO: Preferences file does not exist: /home/seamanj/.elan_data/shortcuts.pfsx
Nov 11, 2019 10:58:46 AM mpi.eudico.client.annotator.commands.ShortcutsUtil readCurrentShortcuts
INFO: Could not load the keyboard shortcut preferences file. The file does not exist or is not valid.
Nov 11, 2019 10:59:08 AM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /home/seamanj/.elan_data/elan.pfsx
Nov 11, 2019 10:59:08 AM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /home/seamanj/.elan_data/elan.pfsx
Trying VLCJ Player for file:///home/seamanj/Workspace/elan-5.8/01April_2010_Thursday_heute-6697.mp4
Preferred media framework ‘VLCJ’ can not handle the file: uk.co.caprica.vlcj.factory.NativeLibraryMappingException: Failed to properly initialise the native library
Using JavaFX Player for file:///home/seamanj/Workspace/elan-5.8/01April_2010_Thursday_heute-6697.mp4
Could not create a JavaFX based player… The JavaFX based player requires Java 8 or higher
Nov 11, 2019 10:59:10 AM mpi.eudico.client.annotator.commands.ClipMediaCA <init>
INFO: No clipping script found!
Nov 11, 2019 10:59:10 AM mpi.eudico.client.annotator.tiersets.TierSetUtil readTierSetsFromFile
INFO: Could not load the tier set file. The file does not exist or is not valid.
Nov 11, 2019 10:59:11 AM mpi.eudico.client.annotator.util.AvailabilityDetector loadFilesFromExtensionsFolder
WARNING: The extension folder could not be found (/home/seamanj/Workspace/elan-5.8/target/classes/extensions).
Nov 11, 2019 10:59:11 AM mpi.eudico.client.annotator.util.AvailabilityDetector loadFilesFromExtensionsFolder
WARNING: The extension folder could not be found (/home/seamanj/Workspace/elan-5.8/target/classes/extensions).
Nov 11, 2019 10:59:11 AM mpi.eudico.client.annotator.util.AvailabilityDetector loadFilesFromExtensionsFolder
WARNING: The extension folder could not be found (/home/seamanj/Workspace/elan-5.8/target/classes/extensions).

The ELAN 5.8 version requires a VLC 3.x player installed on the system in one of the default or “known” locations. The integration of a VLC player in ELAN is now built on VLCJ library 4.x. It is still possible to load native libraries from other, “unknown” locations, but that isn’t implemented in ELAN yet. But maybe the location of native libraries is not the problem, but something else (I don’t know).

Again, you might want to try with an older version of the ELAN sources to see if the player works then?

Thanks, Han. I upgraded Java to 11, it still has problem with vlcj, but it is able to open .mp4 by using JavaFX player. I will just leave it like that. Many thanks for your help.