Open wwfcnu opened 10 months ago
any audio waveform as numpy array should work
any audio waveform as numpy array should work任何作为 numpy 数组的音频波形都应该有效 But when I input a file in PCM format, the load_audio function encounters an error during the ffmpeg processing
subprocess.CalledProcessError: Command '['ffmpeg', '-nostdin', '-threads', '0', '-i', '/mnt/data/asr_datasets/online_audio/20231018/000000b9-7ba0-40fd-994b-a0d0b53a782d.pcm', '-f', 's
16le', '-ac', '1', '-acodec', 'pcm_s16le', '-ar', '16000', '-']' returned non-zero exit status 1.
i said numpy array not pcm file
How ffmpeg handles pcm format
support model.transcribe(example.pcm)?