You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do have a question though. It seems that the duration from properties is off, or i am doing something wrong. It happens with all file types. An example (also happens with other formats):
In all found files the duration is reported longer than it actually is. An example file will report 208 secs (3:48 mins). While sox/vlc/ffmpeg will report it as: 3:28 mins. The amount of samples is 9211020 and the sample rate is 44100 Hz.
9211020/44100 = 208.866666667 (which explains the duration)
Am i missing something here?
Summary
The file duration seems to report higher values
Expected behavior
It should report the duration correctly
Assets
No response
The text was updated successfully, but these errors were encountered:
Nope! Lofty tries not to read too much into the actual audio data, only what's absolutely needed (which can sometimes be wrong). Some difference from FFmpeg is acceptable, for example see the AAC properties test:
Reproducer
Thanks for creating Lofty!
I do have a question though. It seems that the duration from properties is off, or i am doing something wrong. It happens with all file types. An example (also happens with other formats):
In all found files the duration is reported longer than it actually is. An example file will report 208 secs (3:48 mins). While sox/vlc/ffmpeg will report it as: 3:28 mins. The amount of samples is 9211020 and the sample rate is 44100 Hz.
9211020/44100 = 208.866666667 (which explains the duration)
Am i missing something here?
Summary
The file duration seems to report higher values
Expected behavior
It should report the duration correctly
Assets
No response
The text was updated successfully, but these errors were encountered: