Fixed GetFfmpegOutputAsync not returning all output lines

This commit is contained in:
N00MKRAD
2021-02-04 20:11:55 +01:00
parent 8b2efa3e67
commit 1b864f92dc
2 changed files with 8 additions and 25 deletions

View File

@@ -89,7 +89,7 @@ namespace Flowframes
public static long GetDuration(string inputFile)
{
Logger.Log("Reading Duration using ffprobe.", true, false, "ffprobe");
Logger.Log("Reading Duration using ffprobe.", true, false, "ffmpeg");
string args = $" -v panic -select_streams v:0 -show_entries format=duration -of csv=s=x:p=0 -sexagesimal {inputFile.Wrap()}";
string info = GetFfprobeOutput(args);
return FormatUtils.MsFromTimestamp(info);