Home Forums Software ELAN [Bug] Cannot Adjust Playback Speed

[Bug] Cannot Adjust Playback Speed

This topic contains 10 replies, has 2 voices, and was last updated by  jacqland 2 weeks, 3 days ago.

Viewing 10 posts - 1 through 10 (of 11 total)
Author Posts
Author Posts
November 5, 2018 at 23:41 #12481

jacqland

I recently got a new laptop and installed ELAN 5.3 on it. It has never adjusted the playback rate correctly and continues to replay media at 100% speed, no matter which “Rate” slider I adjust (whether in annotation, segmentation, transcription mode, or using the keyboard short cuts, or anything). The media I’m using is a single mono .wav file. I didn’t have this issue on my old laptop, but I don’t think I ever upgraded to 5.3.

The computer is a Lenovo Flex 5-1470, running Windows 10 Home, version 1803.
My java is up to date as well. (1.8.0_181-b13.)

November 6, 2018 at 04:15 #12482

jacqland

Here is the error log from creating a new file (from a template and a random .wav), and trying to adjust the playback speed.

Nov 06, 2018 4:14:36 PM mpi.eudico.client.annotator.ELAN main
INFO:

@ELAN Launched

Nov 06, 2018 4:14:36 PM mpi.eudico.client.annotator.ELAN main
INFO: ELAN 5.3
Java home: C:\Program Files (x86)\ELAN 5.3\jre
Java version: 1.7.0_60
Runtime: 1.7.0_60-b19
OS name: Windows 8.1
OS version: 6.3
OS arch.: x86
User language: en
User home: C:\Users\NAME
User dir: C:\Program Files (x86)\ELAN 5.3
Classpath: C:\Program Files (x86)\ELAN 5.3\lib\elan-5.3.jar;C:\Program Files (x86)\ELAN 5.3\lib\jhall-2.0.0.5.jar;C:\Program Files (x86)\ELAN 5.3\lib\help.zip;C:\Program Files (x86)\ELAN 5.3\jmf2.1.1a\jmf.jar;C:\Program Files (x86)\ELAN 5.3\lax.jar;
Library path: C:\Program Files (x86)\ELAN 5.3\jre\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Users\NAME\AppData\Local\Microsoft\WindowsApps;;.
Display info:
Screen 1 – isDefault:true, w:1920, h:1080, bitDepth:32
Screen 2 – isDefault:false, w:1600, h:900, bitDepth:32
Main screen resolution:144 (w:1920, h:1080)

Nov 06, 2018 4:14:36 PM mpi.eudico.client.annotator.prefs.PreferencesReader parse
INFO: Reading preferences: C:\Users\NAME\.elan_data\elan.pfsx
External updater thread started
Nov 06, 2018 4:14:36 PM mpi.eudico.client.annotator.prefs.PreferencesReader parse
WARNING: Preferences file does not exist: C:\Users\NAME\.elan_data\shortcuts.pfsx
Nov 06, 2018 4:14:36 PM 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 06, 2018 4:14:37 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(…) returned error code 5.
Nov 06, 2018 4:14:37 PM java.util.prefs.WindowsPreferences WindowsRegOpenKey1
WARNING: Trying to recreate Windows registry node Software\JavaSoft\Prefs at root 0x80000002.
Nov 06, 2018 4:14:37 PM java.util.prefs.WindowsPreferences openKey
WARNING: Could not open windows registry node Software\JavaSoft\Prefs at root 0x80000002. Windows RegOpenKey(…) returned error code 2.
Nov 06, 2018 4:14:44 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\NAME\.elan_data\elan.pfsx
Nov 06, 2018 4:14:44 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\NAME\.elan_data\elan.pfsx
Nov 06, 2018 4:14:45 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\NAME\.elan_data\elan.pfsx
Nov 06, 2018 4:14:45 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\NAME\.elan_data\elan.pfsx
Nov 06, 2018 4:14:49 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\NAME\.elan_data\elan.pfsx
Nov 06, 2018 4:14:50 PM mpi.eudico.client.annotator.prefs.PreferencesReader parse
INFO: Reading preferences: C:\Users\NAME\FILEPATH\TEMPLATEe.pfsx
Nov 06, 2018 4:14:50 PM mpi.eudico.client.annotator.player.JavaSoundPlayer printClip
INFO: Java Sound Player:
File: file:///C:/Users/NAME/FILEPATH/SOUND.wav
Duration in microseconds: 2800997
Duration in seconds: 2.800997
Duration in frames: 61762
Microseconds per frame: 45
Buffer Size (bytes): 88200
Nov 06, 2018 4:14:50 PM mpi.eudico.client.annotator.player.JavaSoundPlayer printFormat
INFO: Audio Format:
Number of channels: 1
Sample rate: 22050.000000
Frame rate: 22050.000000
Frame size: 2
Sample size in bits: 16
Encoding: PCM_SIGNED
Properties: {}
Nov 06, 2018 4:14:50 PM mpi.eudico.client.annotator.player.JavaSoundPlayer detectControls
INFO: Sound Controls:
Gain Control found:
Min-Max: -80.000000 – 6.020600, Precision: 0.625000, Units: dB
Mute Control found

MediaUrl SignalViewer: file:///C:/Users/NAME/FILEPATH/SOUND.wav
Nov 06, 2018 4:14:50 PM mpi.eudico.client.annotator.commands.ExportMediaCA <init>
INFO: No version of M2-edit-cl or M2-xcode-cl found
Nov 06, 2018 4:14:50 PM mpi.eudico.client.annotator.commands.ClipMediaCA <init>
INFO: Found clipping script: clip-media.txt
Nov 06, 2018 4:14:50 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.
Nov 06, 2018 4:14:50 PM mpi.eudico.client.annotator.util.AvailabilityDetector detectFromJar
WARNING: No plug-in cmdi metadata file found in analyzer-gloss-0.4.jar
Nov 06, 2018 4:14:50 PM mpi.eudico.client.annotator.util.AvailabilityDetector detectFromJar
WARNING: No plug-in cmdi metadata file found in annotyzer-lexicon-0.4-compound.jar
Nov 06, 2018 4:14:50 PM mpi.eudico.client.annotator.util.AvailabilityDetector detectFromJar
WARNING: No plug-in cmdi metadata file found in annotyzer-whitespace-split-0.7.jar

(edit: apologies, I tried to use the code tag thinking it worked like the bbcode [code]. I think I fixed it now )

  • This reply was modified 1 month ago by  jacqland. Reason: error in formatting
November 6, 2018 at 15:05 #12485

Han

It seems you have the Java Sound Player set as the preferred media player and that player doesn’t (currently?) support changing the playback rate.
You could try with a different framework: Edit->Preferences->Edit Preferences->Platform/OS tab and then select the first option, Java – Direct Show.

-Han

November 7, 2018 at 02:02 #12487

jacqland

This worked for me after changing the setting and restarting ELAN. Thank you!

November 9, 2018 at 04:25 #12491

jacqland

Sorry, I’m back. This problem is still persisting for me in a new file, and has appeared again in a slightly different way in one of the files I “fixed” before.

It seems to be caused by swapping media files.

To reproduce:
1. Create a new file with a template and a .wav file
2. Swap a new .wav file with a different one (for example, from a stereo file to a mono file, or from a 44.1k file to the same file downsampled at 22k.)
2a. Do this via Edit – Linked Files – Adding the new media file, than removing the old media file. (I asked elsewhere how to swap a media file in ELAN and this was the solution offered. If there’s a more straightforward way to swap files that I don’t know about, it might solve this issue).
3. The media playback rate is now “stuck” at whatever it was set at with the original file.

Here is the new log:
Nov 09, 2018 4:11:06 PM mpi.eudico.client.annotator.ELAN main
INFO:

@ELAN Launched

Nov 09, 2018 4:11:06 PM mpi.eudico.client.annotator.ELAN main
INFO: ELAN 5.3
Java home: C:\Program Files (x86)\ELAN 5.3\jre
Java version: 1.7.0_60
Runtime: 1.7.0_60-b19
OS name: Windows 8.1
OS version: 6.3
OS arch.: x86
User language: en
User home: C:\Users\USER
User dir: C:\Program Files (x86)\ELAN 5.3
Classpath: C:\Program Files (x86)\ELAN 5.3\lib\elan-5.3.jar;C:\Program Files (x86)\ELAN 5.3\lib\jhall-2.0.0.5.jar;C:\Program Files (x86)\ELAN 5.3\lib\help.zip;C:\Program Files (x86)\ELAN 5.3\jmf2.1.1a\jmf.jar;C:\Program Files (x86)\ELAN 5.3\lax.jar;
Library path: C:\Program Files (x86)\ELAN 5.3\jre\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Users\USER\AppData\Local\Microsoft\WindowsApps;;.
Display info:
Screen 1 – isDefault:true, w:1920, h:1080, bitDepth:32
Screen 2 – isDefault:false, w:1600, h:900, bitDepth:32
Main screen resolution:144 (w:1920, h:1080)

Nov 09, 2018 4:11:07 PM mpi.eudico.client.annotator.prefs.PreferencesReader parse
INFO: Reading preferences: C:\Users\USER\.elan_data\elan.pfsx
External updater thread started
Nov 09, 2018 4:11:07 PM mpi.eudico.client.annotator.prefs.PreferencesReader parse
WARNING: Preferences file does not exist: C:\Users\USER\.elan_data\shortcuts.pfsx
Nov 09, 2018 4:11:07 PM 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 09, 2018 4:11:07 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(…) returned error code 5.
Nov 09, 2018 4:11:07 PM java.util.prefs.WindowsPreferences WindowsRegOpenKey1
WARNING: Trying to recreate Windows registry node Software\JavaSoft\Prefs at root 0x80000002.
Nov 09, 2018 4:11:07 PM java.util.prefs.WindowsPreferences openKey
WARNING: Could not open windows registry node Software\JavaSoft\Prefs at root 0x80000002. Windows RegOpenKey(…) returned error code 2.
Nov 09, 2018 4:11:13 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\USER\.elan_data\elan.pfsx
Nov 09, 2018 4:11:13 PM mpi.eudico.client.annotator.prefs.PreferencesReader parse
INFO: Reading preferences: C:\Users\USER\PATH\TEMPLATE.pfsx
Using JDS Player for file:///C:/Users/USER/PATH/SOUND2.wav
Registered Filters:
0: WMAudio Decoder DMO
1: WMAPro over S/PDIF DMO
2: WMSpeech Decoder DMO
3: MP3 Decoder DMO
4: Mpeg4s Decoder DMO
5: WMV Screen decoder DMO
6: WMVideo Decoder DMO
7: Mpeg43 Decoder DMO
8: Mpeg4 Decoder DMO
9: DV Muxer
10: Color Space Converter
11: WM ASF Reader
12: AVI Splitter
13: VGA 16 Color Ditherer
14: SBE2MediaTypeProfile
15: Microsoft DTV-DVD Video Decoder
16: AC3 Parser Filter
17: StreamBufferSink
18: MJPEG Decompressor
19: MPEG-I Stream Splitter
20: SAMI (CC) Parser
21: VBI Codec
22: MPEG-2 Splitter
23: Closed Captions Analysis Filter
24: SBE2FileScan
25: Microsoft MPEG-2 Video Encoder
26: Internal Script Command Renderer
27: MPEG Audio Decoder
28: DV Splitter
29: Video Mixing Renderer 9
30: Microsoft MPEG-2 Encoder
31: ACM Wrapper
32: Video Renderer
33: MPEG-2 Video Stream Analyzer
34: Line 21 Decoder
35: Video Port Manager
36: Video Renderer
37: VPS Decoder
38: WM ASF Writer
39: VBI Surface Allocator
40: File writer
41: DVD Navigator
42: Overlay Mixer2
43: AVI Draw
44: Microsoft MPEG-2 Audio Encoder
45: WST Pager
46: MPEG-2 Demultiplexer
47: DV Video Decoder
48: SampleGrabber
49: Null Renderer
50: MPEG-2 Sections and Tables
51: Microsoft AC3 Encoder
52: StreamBufferSource
53: Smart Tee
54: Overlay Mixer
55: AVI Decompressor
56: AVI/WAV File Source
57: Wave Parser
58: MIDI Parser
59: Multi-file Parser
60: File stream renderer
61: Microsoft DTV-DVD Audio Decoder
62: StreamBufferSink2
63: AVI Mux
64: Line 21 Decoder 2
65: File Source (Async.)
66: File Source (URL)
67: Infinite Pin Tee Filter
68: Enhanced Video Renderer
69: BDA MPEG2 Transport Information Filter
70: MPEG Video Decoder

Filters in the filter chain: file:///C:/Users/USER/PATH/SOUND2.wav
Filter 1: Default DirectSound Device
Pin 1: Audio Input pin (rendered)
Filter 2: Wave Parser
Pin 1: output
Pin 2: input pin
Filter 3: file:///C:/Users/USER/PATH/SOUND2.wav
Pin 1: Output
MediaUrl SignalViewer: file:///C:/Users/USER/PATH/SOUND2.wav
Nov 09, 2018 4:11:14 PM mpi.eudico.client.annotator.commands.ExportMediaCA <init>
INFO: No version of M2-edit-cl or M2-xcode-cl found
Nov 09, 2018 4:11:14 PM mpi.eudico.client.annotator.commands.ClipMediaCA <init>
INFO: Found clipping script: clip-media.txt
Nov 09, 2018 4:11:14 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.
Nov 09, 2018 4:13:36 PM mpi.eudico.client.annotator.prefs.PreferencesReader parse
INFO: Reading preferences: C:\Users\USER\PATH\NAME.pfsx
Using JDS Player for file:///C:/Users/USER/PATH/NAME_mono.wav
Filters in the filter chain: file:///C:/Users/USER/PATH/NAME_mono.wav
Filter 1: Default DirectSound Device
Pin 1: Audio Input pin (rendered)
Filter 2: Wave Parser
Pin 1: output
Pin 2: input pin
Filter 3: file:///C:/Users/USER/PATH/NAME_mono.wav
Pin 1: Output
MediaUrl SignalViewer: file:///C:/Users/USER/PATH/NAME_mono.wav
Nov 09, 2018 4:13:36 PM mpi.eudico.client.annotator.commands.ExportMediaCA <init>
INFO: No version of M2-edit-cl or M2-xcode-cl found
Nov 09, 2018 4:13:36 PM mpi.eudico.client.annotator.commands.ClipMediaCA <init>
INFO: Found clipping script: clip-media.txt
Nov 09, 2018 4:13:36 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\USER\.elan_data\elan.pfsx
Nov 09, 2018 4:14:06 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\USER\.elan_data\elan.pfsx
Nov 09, 2018 4:14:06 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\USER\.elan_data\elan.pfsx
Nov 09, 2018 4:14:07 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\USER\PATH\NAME.pfsx
Nov 09, 2018 4:14:07 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\USER\PATH\NAME.pfsx
Nov 09, 2018 4:14:18 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\USER\.elan_data\elan.pfsx
Nov 09, 2018 4:14:18 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\USER\.elan_data\elan.pfsx
Nov 09, 2018 4:14:28 PM mpi.eudico.client.annotator.prefs.PreferencesReader parse
INFO: Reading preferences: C:\Users\USER\PATH\NAME.pfsx
Using JDS Player for file:///C:/Users/USER/PATH/NAME_mono.wav
Filters in the filter chain: file:///C:/Users/USER/PATH/NAME_mono.wav
Filter 1: Default DirectSound Device
Pin 1: Audio Input pin (rendered)
Filter 2: Wave Parser
Pin 1: output
Pin 2: input pin
Filter 3: file:///C:/Users/USER/PATH/NAME_mono.wav
Pin 1: Output
MediaUrl SignalViewer: file:///C:/Users/USER/PATH/NAME_mono.wav
Nov 09, 2018 4:14:28 PM mpi.eudico.client.annotator.commands.ExportMediaCA <init>
INFO: No version of M2-edit-cl or M2-xcode-cl found
Nov 09, 2018 4:14:28 PM mpi.eudico.client.annotator.commands.ClipMediaCA <init>
INFO: Found clipping script: clip-media.txt
Nov 09, 2018 4:14:52 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\USER\.elan_data\elan.pfsx
Nov 09, 2018 4:14:52 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\USER\.elan_data\elan.pfsx
Using JDS Player for file:///C:/Users/USER/PATH/NAME.wav
Filters in the filter chain: file:///C:/Users/USER/PATH/NAME.wav
Filter 1: Default DirectSound Device
Pin 1: Audio Input pin (rendered)
Filter 2: Wave Parser
Pin 1: output
Pin 2: input pin
Filter 3: file:///C:/Users/USER/PATH/NAME.wav
Pin 1: Output
bext header found – ignoring contents…
MediaUrl SignalViewer: file:///C:/Users/USER/PATH/NAME.wav
Nov 09, 2018 4:16:18 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\USER\PATH\NAME.pfsx
Nov 09, 2018 4:16:18 PM mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: C:\Users\USER\PATH\NAME.pfsx

  • This reply was modified 1 month ago by  jacqland. Reason: censoring
November 13, 2018 at 14:27 #12496

Han

I followed the steps to reproduce the problem, but I failed: so far I have not been able to have the rate get stuck.
Did you try other orders/scenarios as well (e.g. remove wav_1 first, then add wav_2, click Apply after the Add and before the Remove etc.)?

November 19, 2018 at 21:45 #12502

jacqland

I have tried a few variations, and they all seem to freeze the playback rate, when the file is longer than about 6 minutes.
1. Link new file, delete old file = rate stuck
2. Link new file, apply, then delete old file = rate stuck
3. Link new file, apply, close and reopen, delete old file = rate stuck.

I wonder if this isn’t a memory/cpu issue. media files longer than about 15 minutes cause all sorts of problems for me on this laptop (despite it having better specs than the one I was using previously without issue).

November 21, 2018 at 10:09 #12505

Han

I don’t know, but I can’t imagine that the size of the wav files could cause this problem. 6 minutes or 15 minutes or an hour, that shouldn’t really be problem. And after all “rate stuck” cases there are no real error messages in the log?

November 22, 2018 at 01:04 #12512

jacqland

It’s usually just a pile of memory errors and then it stops accepting any sort of input (transcription, segmentation, keyboard shorcuts for forward/back/play).

the memory errors all look like this. I’ve never been able to catch the log when there’s only 1 or 2 – there’s either none, or this error is repeated 50+ times.

Exception in thread “EventPoster” java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at mpi.eudico.client.mediacontrol.EventPoster.<init>(EventPoster.java:28)
at mpi.eudico.client.mediacontrol.EventPostingBase.postEvent(EventPostingBase.java:67)
at mpi.eudico.client.mediacontrol.PeriodicUpdateController.setMediaTime(PeriodicUpdateController.java:81)
at mpi.eudico.client.annotator.player.ImagePlayer.controllerUpdate(ImagePlayer.java:163)
at mpi.eudico.client.mediacontrol.EventPoster.run(EventPoster.java:36)
at java.lang.Thread.run(Unknown Source)

November 22, 2018 at 14:47 #12513

Han

Ok, that at least explains something. This can explain why at some point the rate can get stuck (and other things as well probably) and why it is not consistent, occurring variably; when the available memory is fully “consumed” can depend on several factors.

The most surprising element in the error trace is the presence of the ImagePlayer; so far I’ve only heard about .wav files. Do you have other things than .wav files linked as well?
There seems to be, by the way, an error in the code of the ImagePlayer that can lead to an endless loop and, possibly, to an OutOfMemory situation.

Viewing 10 posts - 1 through 10 (of 11 total)

You must be logged in to reply to this topic.