google / google/ExoPlayer

Determine duration of possibly-VBR MP3 by reading end of file (without needing to load whole file into SampleQueue)

Open
#10,487 4 comments 1 reaction 1 assignee Assigned to @rohitjoins View on GitHub
enhancement low priority
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

### ExoPlayer Version

2.18.1

### Devices that reproduce the issue

Pixel 4 on Android 11, Android 12 Emulator

### Devices that do not reproduce the issue

_No response_

### Reproducible in the demo app?

Yes

### Reproduction steps

Play the attached media file and seek.

### Expected result

Seeking works like if FLAG_ENABLE_INDEX_SEEKING was disbaled

### Actual result

Instead of seeking, exoplayer will skip to the next chapter.

### Media

Will be sent by mail

### Bug Report

- [X] You will email the zip file produced by `adb bugreport` to dev.exoplayer@gmail.com after filing this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.