mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 22:13:06 +03:00
update startup tests
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user