选择加载本地录音文件m4a报错,请问是什么原因
- Dominant language
- Python
- Stars
- 36.9k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
Traceback (most recent call last):
File "D:\software\Anaconda3\envs\pytorch\lib\site-packages\librosa\core\audio.py", line 149, in load
with sf.SoundFile(path) as sf_desc:
File "D:\software\Anaconda3\envs\pytorch\lib\site-packages\soundfile.py", line 629, in __init__
self._file = self._open(file, mode_int, closefd)
File "D:\software\Anaconda3\envs\pytorch\lib\site-packages\soundfile.py", line 1184, in _open
"Error opening {0!r}: ".format(self.name))
File "D:\software\Anaconda3\envs\pytorch\lib\site-packages\soundfile.py", line 1357, in _error_check
raise RuntimeError(prefix + _ffi.string(err_str).decode('utf-8', 'replace'))
RuntimeError: Error opening 'C:\\Users\\zzzz\\Desktop\\2021.m4a': File contains data in an unknown format.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the traceback in librosa/core/audio.py and soundfile.py, then reproduce loading C:\Users\zzzz\Desktop\2021.m4a in the reported Python environment. Done means identifying why this m4a is rejected and recording a project-supported resolution or clear error guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100