mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
Fixed GetFfmpegOutputAsync not returning all output lines
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user