Open grazder opened 5 months ago
current master
linux
I get here wrong num_frames on m4a opus-files
num_frames
https://github.com/pyannote/pyannote-audio/blob/cd3f550d00ea6bfb155dc7aef17e4f9c2516ee55/pyannote/audio/core/io.py#L280
Repro and described error can be founded here: https://github.com/pytorch/audio/issues/3731
It's better not to trust this method. For example, I've got minumum dataset item length of ~ 121s, but the minimum torchaudio_info(...).num_frames is 5674 which is obviously fake.
torchaudio_info(...).num_frames
https://github.com/pytorch/audio/issues/3731
https://github.com/pytorch/audio/issues/3573
Thanks for the report. What solution do you suggest?
Tested versions
current master
System information
linux
Issue description
I get here wrong
num_frames
on m4a opus-fileshttps://github.com/pyannote/pyannote-audio/blob/cd3f550d00ea6bfb155dc7aef17e4f9c2516ee55/pyannote/audio/core/io.py#L280
Repro and described error can be founded here: https://github.com/pytorch/audio/issues/3731
It's better not to trust this method. For example, I've got minumum dataset item length of ~ 121s, but the minimum
torchaudio_info(...).num_frames
is 5674 which is obviously fake.Minimal reproduction example (MRE)
https://github.com/pytorch/audio/issues/3731