Skip to content

Add option to enable exact (but inefficient) seeking into variable bitrate MP3s #6787

@natidykstein

Description

@natidykstein

Issue description

When seeking to 1603000ms in the mp3 file it seems to seek approx. 3 seconds earlier.
Seeking the mp3 file using Audacity(or VLC) it seeks to the expected position (as you can hear the expected audio).
I'm not sure it's relevant but the mp3 was created by extracting the aac stream of an mp4 video file using ffmpeg. (The original mp4 is seeked correctly by ExoPlayer while the mp3 does not)

Reproduction steps

  1. Using ExoPlayer demo app seek to 1603000ms. (I manually changed the code)
  2. The expected audio should say "I'll a..." and instead it says "are you asking me..."
    This happens consistently across devices.

Link to test content

A link to the mp3 file was emailed to dev.exoplayer@gmail.com.

A full bug report captured from the device

Full bug reported was emailed to dev.exoplayer@gmail.com

Version of ExoPlayer being used

2.11.0

Device(s) and version(s) of Android being used

Was reproduced on -
OnePlus 6 running Android 10
Google Pixel 3 running Android 10
Virtual device Google Pixel 2 Running Android 9
Virtual device Nexus 5X running Android 7.1.1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions