Closed Ellusive1 closed 11 months ago
Thanks for your feedback. I'll get back to you next week-end.
Unfortunately I can't do anything right now as I'm on vacation 😉
The issue does not happen with all Stereo MP3s, hopefully 😅
The file you submitted has a very peculiar structure, as its MPEG headers contradict each other :
I've adjusted the code for reading MPEG headers to be able to detect such cases. Now it's slightly slower but it covers your issue ;)
Fix is available on today's v5.00
The problem
When creating a
Track
object for a stereo mp3 file, theDuration
andDurationMs
properties are twice what they should be.Environment
Details
The problem does not arise for mono files or stereo files in .wav / .ogg / .aac / joint stereo .mp3. Only for .mp3 files with
ChannelsArrangement.Description
equals toStereo (2/0.0)
.Code To Reproduce Issue
Sample audio file: https://file.io/mVQpFtw6QGY9