alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
8.06k stars 1.11k forks source link

Difficulties Processing Batch Commands #1240

Closed ehobson closed 1 year ago

ehobson commented 1 year ago

I've noticed that Vosk has problems with running batch commands. If there are more than two files being processed in one instance, Vosk will frequently only save the output for the last file in the sequence (or sometimes just the first and last files) and will not write any of the data for the remaining transcriptions to file, even though it can be seen in the terminal that transcription is occurring. Vosk will generate output files with the correct names but that contain no data. Why might Vosk struggle with batch commands?

ehobson commented 1 year ago

Just want to note that the behavior is inconsistent.

nshmyrev commented 1 year ago

What exact command are you running please?

nshmyrev commented 1 year ago

Let us know when you are able to provide more information