{
if(!(bTimeout || bAborted))
{
- log(tr("\nWARNING: Input process exited with error code: %1").arg(QString::number(processInput.exitCode())));
+ const int exitCode = processInput.exitCode();
+ log(tr("\nWARNING: Input process exited with error (code: %1), your encode might be *incomplete* !!!").arg(QString::number(exitCode)));
+ if((inputType == INPUT_AVISYN) && ((exitCode < 0) || (exitCode > 2)))
+ {
+ log(tr("\nIMPORTANT: The Avs2YUV process terminated abnormally. This means Avisynth or one of your Avisynth-Plugin's just crashed."));
+ log(tr("IMPORTANT: Please fix your Avisynth script and try again! If you use Avisynth-MT, try using a *stable* Avisynth instead!"));
+ }
+ if((inputType == INPUT_VAPOUR) && ((exitCode < 0) || (exitCode > 1)))
+ {
+ log(tr("\nIMPORTANT: The Vapoursynth process terminated abnormally. This means Vapoursynth or one of your Vapoursynth-Plugin's just crashed."));
+ }
}
}
{
if(!(bTimeout || bAborted))
{
- log(tr("\nPROCESS EXITED WITH ERROR CODE: %1").arg(QString::number(process.exitCode())));
+ const int exitCode = process.exitCode();
+ log(tr("\nPROCESS EXITED WITH ERROR CODE: %1").arg(QString::number(exitCode)));
+ if((exitCode < 0) || (exitCode > 2))
+ {
+ log(tr("\nIMPORTANT: The Avs2YUV process terminated abnormally. This means Avisynth or one of your Avisynth-Plugin's just crashed."));
+ log(tr("IMPORTANT: Please fix your Avisynth script and try again! If you use Avisynth-MT, try using a *stable* Avisynth instead!"));
+ }
}
return false;
}
{
if(!(bTimeout || bAborted))
{
- log(tr("\nPROCESS EXITED WITH ERROR CODE: %1").arg(QString::number(process.exitCode())));
+ const int exitCode = process.exitCode();
+ log(tr("\nPROCESS EXITED WITH ERROR CODE: %1").arg(QString::number(exitCode)));
+ if((exitCode < 0) || (exitCode > 1))
+ {
+ log(tr("\nIMPORTANT: The Vapoursynth process terminated abnormally. This means Vapoursynth or one of your Vapoursynth-Plugin's just crashed."));
+ }
}
return false;
}