alphacep / alphacep/vosk-api

Different results between WAVE and FFMPEG reading audio file in Python

Open
#1,286 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.1k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

Hi everyone,
I've found that if we change the method to read the audio file (from WAVE to FFMPEG), the WER increase dramatically. When I use WAVE to read audio files (4000 utts), the WER is 9.64%. But when I use FFMPEG instead, the WER is decreased to 4.77%. Can you explain why the difference exist?
Btw, I've printed the result of each method when reading audio (_process.stdout.read(4000)_ and _data = wf.readframes(4000)_) and the result was different.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.