Sound playback issues in transcription mode in 5.6-FX

Hi,

I had to update ELAN to the FX versions for them to work on macOS (10.14.5). I have had the following issue in both 5.5-FX and 5.6-FX, in transcription mode.

I have two files (one mp4 and one WAV) linked to a transcription file. When I play back (select) a section in transcription mode, with the sound from the mp4 muted, the first time it plays back the sound of the correct section (e.g. 00.00 to 01.000), but the second time, it plays back the immediately following audio (e.g. 01.00 - 02.000), and so on every 1+nth time (i.e. 01.000-02.000). This also happens when loop mode is activated. This does not happen when the WAV file is muted, so that only the sound from the mp4 file is used.

I have a media offset of +09.090, but the error described above is significantly shorter, so this does not seem to be tho source of the problem.

Jun 10, 2019 3:24:07 PM mpi.eudico.client.annotator.ELAN main
INFO:

@ELAN Launched

Jun 10, 2019 3:24:14 PM mpi.eudico.client.annotator.ELAN main
INFO: ELAN 5.6-FX
Java home: /Applications/ELAN_5.6-AVFX.app/Contents/PlugIns/Java.runtime/Contents/Home
Java version: 11.0.1
Runtime: 11.0.1+13
OS name: Mac OS X
OS version: 10.14.5
OS arch.: x86_64
User language: en
User home: /Users/bst072
User dir: /Applications/ELAN_5.6-AVFX.app/Contents/Java
Classpath: /Applications/ELAN_5.6-AVFX.app/Contents/Java/elan-5.6.jar:javafx-controls-11-mac.jar:xmlbeans-2.6.0.jar:commons-logging-1.2.jar:javafx-graphics-11-mac.jar:json-20160212.jar:jna-3.5.2.jar:httpclient-4.4.1.jar:guk-0.7.jar:activation-1.1.1.jar:javax.activation-api-1.2.0.jar:javafx-base-11-mac.jar:jlfgr-1.0.jar:slf4j-api-1.7.5.jar:lexan-api-0.9.jar:xercesImpl-2.11.0.jar:elan-5.5.jar:metadata-api-1.5.0.jar:staccato-1.0.0.jar:log4j-1.2.17.jar:mfsearch-1.5.7.jar:javafx-media-11-mac.jar:javafx-base-11.jar:AppleJavaExtensions-1.0.jar:commons-codec-1.9.jar:jaxb-api-2.3.1.jar:javafx-swing-11.jar:annot-search-lib-1.4.11.jar:vlcj-2.4.1.jar:xml-resolver-1.2.jar:commons-io-2.5.jar:bridj-0.7.0.jar:javafx-controls-11.jar:javafx-swing-11-mac.jar:xml-apis-1.4.01.jar:javafx-media-11.jar:annotation-schema-1.0.jar:annot-tools-1.1.12.jar:hsqldb-1.8.0.10.jar:xalan-2.4.1.jar:lexiconcomponent-1.6.jar:hunspell-bridj-1.0.4.jar:platform-3.5.2.jar:dx-1.7.jar:javafx-graphics-11.jar:jhall-2.0.0.5.jar:help.zip:httpcore-4.4.1.jar:im/nl.mpi.gim__V04.jar:im/nl.mpi.lookup__V1.0.jar:im/nl.mpi.lookup.CJKV__V03.jar:im/nl.mpi.lookup.IPA__V04.jar:jaxb-core.jar:jaxb-impl.jar
Library path: nativelib
Display info:
Screen 1 - isDefault:false, w:1920, h:1200, bitDepth:32
Screen 2 - isDefault:true, w:1280, h:800, bitDepth:32
Main screen resolution:113 (w:1280, h:800)

Jun 10, 2019 3:24:15 PM mpi.eudico.client.annotator.prefs.PreferencesReader parse
INFO: Reading preferences: /Users/bst072/Library/Preferences/ELAN/elan.pfsx
External updater thread started
Jun 10, 2019 3:24:28 PM mpi.eudico.client.annotator.prefs.PreferencesReader parse
INFO: Reading preferences: /Users/bst072/Library/Preferences/ELAN/shortcuts1.pfsx
Jun 10, 2019 3:24:37 PM mpi.eudico.client.annotator.prefs.PreferencesReader parse
INFO: Reading preferences: /Users/bst072/Opptak/Tromso/B100/Transkripsjon/2017-06-28.pfsx
Using JavaFX Player for file:///Users/bst072/Opptak/Tromso/B100/video/2017-06-28-full.mp4
Jun 10, 2019 3:24:39 PM mpi.eudico.client.annotator.player.JFXMediaPlayer <init>
INFO: JFXMediaPlayer URL: file:/Users/bst072/Opptak/Tromso/B100/video/2017-06-28-full.mp4
InteropFactory: cannot load com.sun.javafx.embed.swing.newimpl.InteropFactoryN
Jun 10, 2019 3:24:44 PM mpi.eudico.client.annotator.player.JFXMediaPlayer printMediaInfo
INFO: Media Information:
Track: 0 audio/mpeg
name: audio/mpeg
encoding: AAC
enabled: true
Track: 1 video/x-h264
name: video/x-h264
video width: 1280
encoding: H264
video height: 720
enabled: true

Jun 10, 2019 3:24:44 PM mpi.eudico.client.annotator.player.JFXMediaPlayer$1 run
INFO: Setting up the Scene.
Using JavaFX Player for file:///Users/bst072/Opptak/Tromso/B100/lyd/2017-06-28.wav
Jun 10, 2019 3:24:45 PM mpi.eudico.client.annotator.player.JFXMediaPlayer <init>
INFO: JFXMediaPlayer URL: file:/Users/bst072/Opptak/Tromso/B100/lyd/2017-06-28.wav
Jun 10, 2019 3:24:46 PM mpi.eudico.client.annotator.player.JFXMediaPlayer printMediaInfo
INFO: Media Information:
Track: 0 audio/x-raw
name: audio/x-raw
encoding: PCM
enabled: false

bext header found - ignoring contents…
MediaUrl SignalViewer: file:///Users/bst072/Opptak/Tromso/B100/lyd/2017-06-28.wav
Jun 10, 2019 3:24:46 PM mpi.eudico.client.annotator.commands.ClipMediaCA <init>
INFO: No clipping script found!
bext header found - ignoring contents…
MediaUrl: file:///Users/bst072/Opptak/Tromso/B100/lyd/2017-06-28.wav
Jun 10, 2019 3:24:47 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /Users/bst072/Library/Preferences/ELAN/elan.pfsx
Jun 10, 2019 3:24:51 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /Users/bst072/Opptak/Tromso/B100/Transkripsjon/2017-06-28.pfsx
Jun 10, 2019 3:24:51 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /Users/bst072/Opptak/Tromso/B100/Transkripsjon/2017-06-28.pfsx
Jun 10, 2019 3:24:51 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /Users/bst072/Opptak/Tromso/B100/Transkripsjon/2017-06-28.pfsx
Jun 10, 2019 3:24:57 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /Users/bst072/Library/Preferences/ELAN/elan.pfsx
Jun 10, 2019 3:25:02 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /Users/bst072/Opptak/Tromso/B100/Transkripsjon/2017-06-28.pfsx
Jun 10, 2019 3:25:02 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /Users/bst072/Opptak/Tromso/B100/Transkripsjon/2017-06-28.pfsx
Jun 10, 2019 3:25:02 PM mpi.eudico.client.annotator.player.JFXMediaPlayer stop
WARNING: Cannot pause player, status is: PAUSED
Jun 10, 2019 3:25:02 PM mpi.eudico.client.annotator.tiersets.TierSetUtil readTierSetsFromFile
INFO: Could not load the tier set file. The file does not exist or is not valid.
Jun 10, 2019 3:25:04 PM mpi.eudico.client.annotator.util.AvailabilityDetector detectFromJar
WARNING: No plug-in cmdi metadata file found in analyzer-gloss-0.5.jar
Jun 10, 2019 3:25:04 PM mpi.eudico.client.annotator.util.AvailabilityDetector detectFromJar
WARNING: No plug-in cmdi metadata file found in annotyzer-whitespace-split-0.7.jar
Jun 10, 2019 3:25:04 PM mpi.eudico.client.annotator.util.AvailabilityDetector detectFromJar
WARNING: No plug-in cmdi metadata file found in annotyzer-lexicon-0.5-compound.jar
Jun 10, 2019 3:25:09 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /Users/bst072/Opptak/Tromso/B100/Transkripsjon/2017-06-28.pfsx
Jun 10, 2019 3:25:09 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /Users/bst072/Opptak/Tromso/B100/Transkripsjon/2017-06-28.pfsx
Jun 10, 2019 3:25:09 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /Users/bst072/Opptak/Tromso/B100/Transkripsjon/2017-06-28.pfsx
Jun 10, 2019 3:25:09 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /Users/bst072/Opptak/Tromso/B100/Transkripsjon/2017-06-28.pfsx
Jun 10, 2019 3:25:14 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /Users/bst072/Library/Preferences/ELAN/elan.pfsx

Hi,
While trying to reproduce the problem I’m not quite sure if I correctly understand the situation. The segments you play, do they correspond to single annotations (i.e. the interval of one cell in the transcription table)? Or are these manually selected segments within the longer interval of a single annotation (e.g. you selected 00.00 to 01.000 in the first annotation which spans e.g. the interval 00.00 to 06.000)?

Also, is there a specific reason why you use the JavaFX Player? Do you have the same problem if you switch to the AV Foundation player (Edit Preferences->Platform/OS, then under Media Framework Java - AV Foundation Framework)?

-Han

Hi and thank you for the reply,

The first scenario is a correct description.

I think the reason for the use of JavaFX Player is related to the problem I was trying to solve before the 5.5 FX version regarding video playback, but I am not totally sure. That seems to have fixed the problem. Thanks!

I can also add, if you still want to replicate the problem, that other files did not show the same problem. In the other files, however, the wav file was in Player 1 and the mp4 file was in player 2, whereas for the “problem file” it was the other way around. The video was still kind of glitchy, but that seem to have been fixed now with the change to AV Foundation player.

-Bror