i try to open an audio with m4a format and i got NoBackendError
- Dominant language
- Python
- Stars
- 538
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
hi ! thanks for this lib!
i have a audio with m4a format and i want get the content through audioread , but when i doing this i get an error , my code like this:
```python
import audioread
file = './tingting.m4a'
with audioread.audio_open(file) as f:
print(f.duration, f.channels)
for buf in f:
print(f)
```
the error like this:
```python
NoBackendError Traceback (most recent call last)
in ()
1 import audioread
2 file = './tingting.m4a'
----> 3 with audioread.audio_open(file) as f:
4 print(f.duration, f.channels)
5 for buf in f:
D:\Users\keltsing\Anaconda3\lib\site-packages\audioread\__init__.py in audio_open(path)
114
115 # All backends failed!
--> 116 raise NoBackendError()
NoBackendError:
```
do i choice a wrong audio format? if that's true, which format audioread support?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the audioread.audio_open entry point shown in audioread/__init__.py and reproduce the provided tingting.m4a example in the reported Anaconda environment. Check which decoder backend is available and compare the result with the repository's listed GStreamer, Core Audio, MAD, and FFmpeg backends. Done means determining whether the failure is format support or a missing backend and documenting the required resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100