-
Notifications
You must be signed in to change notification settings - Fork 34
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
twolame outputs a file with wrong audio duration #100
Comments
You didn't mention which twolame version is producing this wrong file.
Please, make sure you're running the latest version of twolame and encode that file again. |
Many thanks for your reply, @eblanca. Sorry, latest stable release is version 0.4.0. I’m on Linux now and Fedora ships version 0.3.13 of twolame. But as far as I can remember, this was also an issue with version 0.4.0 in Windows (not easy for me to check it now). In any case, I get the a very similar output to yours with version 0.3.13 for the MP3 file:
And for the WAVE file:
Flash Player reports a sound duration of 13 ms for the MP3 version and 12173 ms for the WAV file. If I use
Using
I must admit this is all Greek to me, it seems that Flash Player has problems to extract sound duration in MP3 files generated by twolame. |
@njh,
converting the WAVE version from https://soundbible.com/2008-0-9-Male-Vocalized.html (direct download) using twolame, the resulting MP3 file gives wrong audio duration.
Flash animation (remove
.txt
extension to drag and drop at https://ruffle.rs/demo/).Both lame and twolame are invoked using
-m m -b 32
.lame outputs has a duration of 12278ms and twolame has a duration of 6113ms.
Of course, the official Flash player gives the same numbers.
I wonder whether it would be possible to fix twolame, so that audio duration info isn’t wrong.
Many thanks for your help and your excellent work.
The text was updated successfully, but these errors were encountered: