mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 05:02:36 +01:00
Log error if audio to text cannot generate wav file
This commit is contained in:
parent
aecb66b1cd
commit
3f035d41e9
@ -437,6 +437,18 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
}
|
||||
}
|
||||
|
||||
Application.DoEvents();
|
||||
System.Threading.Thread.Sleep(100);
|
||||
|
||||
if (!File.Exists(outWaveFile))
|
||||
{
|
||||
SeLogger.Error("Generated wave file not found: " + outWaveFile + Environment.NewLine +
|
||||
"ffmpeg: " + process.StartInfo.FileName + Environment.NewLine +
|
||||
"Parameters: " + process.StartInfo.Arguments + Environment.NewLine +
|
||||
"OS: " + Environment.OSVersion + Environment.NewLine +
|
||||
"64-bit: " + Environment.Is64BitOperatingSystem);
|
||||
}
|
||||
|
||||
return outWaveFile;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user