We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 472d0be commit 7b0115aCopy full SHA for 7b0115a
ff-utils-winforms/Media/FfmpegExtract.cs
@@ -304,7 +304,7 @@ public static async Task ExtractSingleFrameAtTime(string inputFile, string outpu
304
Size res = await GetMediaResolutionCached.GetSizeAsync(inputFile);
305
string vf = res.Height > maxH ? $"-vf scale=-1:{maxH.RoundMod(2)}" : "";
306
string noKeyArg = noKey ? "-skip_frame nokey" : "";
307
- string args = $"{noKeyArg} -ss {skipSeconds} -i {inputFile.Wrap()} -vframes 1 {pixFmt} {vf} {outputPath.Wrap()}";
+ string args = $"{noKeyArg} -ss {skipSeconds} -i {inputFile.Wrap()} -map 0:v -vframes 1 {pixFmt} {vf} {outputPath.Wrap()}";
308
await RunFfmpeg(args, LogMode.Hidden);
309
}
310
0 commit comments