Fixed broken ffmpeg frame count command

This commit is contained in:
n00mkrad
2022-05-03 10:14:54 +02:00
parent 39800e48b9
commit 9f3fe41022

View File

@@ -215,7 +215,7 @@ namespace Flowframes
public static async Task<int> ReadFrameCountFfmpegAsync(string filePath)
{
string args = $" -loglevel panic -stats {filePath.Wrap()} -i {filePath.Wrap()} -map 0:v:0 -c copy -f null - ";
string args = $" -loglevel panic -stats -i {filePath.Wrap()} -map 0:v:0 -c copy -f null - ";
string info = await RunFfmpeg(args, LogMode.Hidden);
try
{