python-soundfile icon indicating copy to clipboard operation
python-soundfile copied to clipboard

"Format not recognised." for m4a files

Open bohning opened this issue 1 year ago • 2 comments
trafficstars

When I try to read an m4a file via

import soundfile as sf
data, samplerate = sf.read('test.m4a')

I get the following error:

soundfile.LibsndfileError: Error opening 'songs/test.m4a': Format not recognised.

Is m4a not supported? Or am I doing something wrong? The file plays just fine e.g. in VLC, was encoded by "Lavf60.3.100".

bohning avatar Apr 20 '24 21:04 bohning