update startup tests

This commit is contained in:
Luke Pulverenti
2016-06-30 21:06:18 -04:00
parent 106087b685
commit 580a68d19c
4 changed files with 11 additions and 9 deletions

View File

@@ -78,17 +78,19 @@ namespace MediaBrowser.MediaEncoding.Encoder
"libx265",
"mpeg4",
"msmpeg4",
//"libvpx",
//"libvpx-vp9",
"libvpx",
"libvpx-vp9",
"aac",
"libmp3lame",
"libopus",
//"libvorbis",
"libvorbis",
"srt",
"h264_nvenc",
"h264_qsv"
};
output = output ?? string.Empty;
foreach (var codec in required)
{
var srch = " " + codec + " ";
@@ -116,7 +118,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
WindowStyle = ProcessWindowStyle.Hidden,
ErrorDialog = false,
RedirectStandardOutput = true,
RedirectStandardError = true
//RedirectStandardError = true
}
};
@@ -126,7 +128,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
try
{
process.BeginErrorReadLine();
//process.BeginErrorReadLine();
return process.StandardOutput.ReadToEnd();
}