Fix audio with VFR encodes, add WMV to format whitelist, better ascii char warning

This commit is contained in:
N00MKRAD
2020-11-26 23:47:09 +01:00
parent 514e5a8489
commit c1caa7bb77
4 changed files with 14 additions and 8 deletions

View File

@@ -80,11 +80,12 @@ namespace Flowframes.Main
else
{
await FFmpegCommands.FramesToMp4(framesPath, outPath, h265, crf, fps, "", false, -1, ext); // Create video
await MergeAudio(i.lastInputPath, outPath);
if (looptimes > 0)
await Loop(outPath, looptimes);
}
if (looptimes > 0)
await Loop(outPath, looptimes);
await MergeAudio(i.lastInputPath, outPath);
if (changeFps > 0)
{
string newOutPath = IOUtils.FilenameSuffix(outPath, $"-{changeFps.ToString("0")}fps");