alphacep / alphacep/vosk-api

Different results between WAVE and FFMPEG reading audio file in Python

Offen
#1,286 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
15.1k
Forks
1.8k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.