Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Unreliable Seek Position


I am playing back a mp3, charting out it's waveform, making markers on the waveform, and using those markers to seek to those sections of the playback. The player is set to auto start, and if I seek to a position while the player is relatively early in the playback, it seeks just fine. The farther I let the playback continue the more incorrect the audio in the playback is.

Example on a 30 second file:
Current time is 0
Seek to 18 seconds, both audio and time are correct
Play to 25 seconds
Seek to 18 seconds, the audio is actually around 14 seconds, but the time displayed is correct

3 Community Answers

john

Best Answer 

Changing the bitrate to 16bit instead of variable fixed the issue.

View in conversation

john

User  
0 rated :

Looks like someone else is having a similar issue with no answer:

https://support.jwplayer.com/customer/portal/questions/15999506-mp3-playback-position-wrong-after-seek-in-chrome-43

john

User  
0 rated :

This may be relevant. Audacity, VLC, etc, all say the file I am using is 24 seconds. Jwplayer thinks it's 37+ seconds.

{position: 18.37, duration: 37.512, type: "time"}

john

Best Answer  User  
0 rated :

Changing the bitrate to 16bit instead of variable fixed the issue.

This question has received the maximum number of answers.