mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
Fix broken ffprobe frame count command
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user