mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-01-04 12:59:30 -06:00
switching to -ss 1 instead of -frames:v
This commit is contained in:
@@ -323,8 +323,8 @@ public class FfmpegBuilderExecutor: FfmpegBuilderNode
|
||||
//"-frames:v", "1",
|
||||
"-ss", "10",
|
||||
// instead of file output to null
|
||||
"-f", "null", "-",
|
||||
//testFile
|
||||
//"-f", "null", "-",
|
||||
testFile
|
||||
});
|
||||
string line = string.Join("", arguments);
|
||||
if (tested.Contains(line))
|
||||
@@ -333,7 +333,7 @@ public class FfmpegBuilderExecutor: FfmpegBuilderNode
|
||||
tested.Add(line);
|
||||
|
||||
DateTime dtStart = DateTime.Now;
|
||||
const int timeout = 20;
|
||||
const int timeout = 10;
|
||||
var result = args.Execute(new ExecuteArgs
|
||||
{
|
||||
Command = ffmpeg,
|
||||
@@ -355,7 +355,7 @@ public class FfmpegBuilderExecutor: FfmpegBuilderNode
|
||||
{
|
||||
args.Logger?.ILog(
|
||||
"Sort of supported hardware decoding detected via frame=: " + string.Join(" ", hw));
|
||||
return hw;
|
||||
//return hw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user