Fix broken ffprobe frame count command

This commit is contained in:
n00mkrad
2022-06-01 20:28:58 +02:00
parent 224cf75ea2
commit 2a3fe9a88f

View File

@@ -196,8 +196,8 @@ namespace Flowframes
public static async Task<int> ReadFrameCountFfprobe(string filePath)
{
string args = $" -v panic {filePath.Wrap()} -threads 0 -select_streams v:0 -show_entries stream=nb_frames -of default=noprint_wrappers=1 {filePath.Wrap()}";
string info = await RunFfprobe(args);
string args = $"-threads 0 -select_streams v:0 -show_entries stream=nb_frames -of default=noprint_wrappers=1 {filePath.Wrap()}";
string info = await RunFfprobe(args, LogMode.Hidden, "panic");
string[] entries = info.SplitIntoLines();
try