Skip to content

mac(No such file or directory: 'ffmpeg’) 【Already resolved. #2738

@HuaChayu

Description

@HuaChayu

Bug:
No such file or directory: 'ffmpeg’
Python 3.9 能输出结果 +'ffmpeg’报错

3.14 只有报错。麻了

设备:mac m4max
系统:macos26.2

输入文件:标准1.wav: RIFF (little-endian) data, WAVE audio, mono 44100 Hz

使用方式:

try:
model = AutoModel(
model="iic/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch",
device="mps",
vad_model=None,
punc_model=None,
cache_dir=r"{cache_dir}",
disable_update=True,
)

res = model.generate(
    input=r"{audio_path}",
    batch_size={batch_size},
    granularity="char",
    use_itn=False,
    predict_punctuation=False,
    show_progress_bar=False,
)

版本
torch 2.9.1
torch-complex 0.4.4
torchaudio 2.9.1
funasr 1.2.7
ffmpeg 1.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions