Ok I want to ask something. As displayed on screenshot, it absolutely shows no other information because it is an error thrown by Mozilla Deep Speech.NET library DLL. So how can I provide more information?
And if hardware were problem I would know that. I am checking and have plenty of ram memory and hard drive space.
This is the code that thrown that error
DeepSpeechClient.DeepSpeech deepSpeechClient =
new DeepSpeechClient.DeepSpeech("deepspeech-0.8.2-models.pbmm");
deepSpeechClient.EnableExternalScorer("deepspeech-0.8.2-models.scorer");
var AudioFilePath = $"{srFileName}";
var waveBuffer =
new NAudio.Wave.WaveBuffer(File.ReadAllBytes(AudioFilePath));
using (var waveInfo = new NAudio.Wave.WaveFileReader(AudioFilePath))
{
DeepSpeechClient.Models.Metadata vrMeta = deepSpeechClient.SpeechToTextWithMetadata(
waveBuffer.ShortBuffer,
Convert.ToUInt32(waveBuffer.MaxSize / 2), 1);
}
By the way I have splitted file into the 12 equal pieces and trying that way now. So I hope wont have stackoverflow exception and also have now multi-threading capability.
Edit : After splitting audio file into the 12 equal pieces, it worked without any problem. So definitely there is a bug in the library.