Closed yuanliwei closed 3 years ago
Regarding the duration, there is a difference between reported and decoded duration, checked with Foobar2000:
Error: Reported length is inaccurate : 0:15.556984 vs 0:04.167596 decoded
If you parse as a stream, the ID3v1 header is skipped to prevent the entire file has to be read. This explains the different result.
Will music-metadata-browser handle this situation to get the real duration, or should I close this issue?
music-metadata-browser (actually music-metadat) intend it is not to decode audio to verify the duration. It is used to extracts the audio files metadata.
mp3-meta-test.zip
test code
output
Use ffmpeg to view the audio duration should be 4.44 seconds.