quodlibet / mutagen

Python module for handling audio metadata
https://mutagen.readthedocs.io
GNU General Public License v2.0
1.54k stars 158 forks source link

wav file bps incorrectly identified as absurdly high value #578

Closed sparr closed 2 years ago

sparr commented 2 years ago

mplayer and vlc both correctly identify this wav file as 0.3 seconds long. vlc says it has 4 bits per sample, which seems low. mutagen, on the other hand, says it's 1558410 bps and 0.00 seconds long. I have a few hundred other wav files from the same source with similar behavior, some signficantly longer than this one.

short_wav_file.zip

The file is an audio sample from the game One Finger Death Punch.

phw commented 2 years ago

This has already been fixed in https://github.com/quodlibet/mutagen/pull/566

phw commented 2 years ago

@lazka Any plans for a new release?

lazka commented 1 year ago

@lazka Any plans for a new release?

done

if you want access/publish rights for github/pypi, let me know