Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPEG: Improve duration estimation #395

Merged
merged 2 commits into from
May 4, 2024
Merged

MPEG: Improve duration estimation #395

merged 2 commits into from
May 4, 2024

Conversation

Serial-ATA
Copy link
Owner

When estimating the duration of an MPEG file using the bitrate, we rely on the offset of the last frame in the file. Turns out the last frame wasn't being returned, just one that happened to be near the end of the file. This wasn't major, as it just reported durations 100ms or so off.

@Serial-ATA Serial-ATA merged commit b45f456 into main May 4, 2024
4 checks passed
@Serial-ATA Serial-ATA deleted the mpeg-properties branch May 4, 2024 20:16
@Serial-ATA Serial-ATA added this to the 0.20.0 milestone May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant