mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 08:27:44 +01:00
Make sure to include all streams in loop mux command
This commit is contained in:
@@ -88,7 +88,7 @@ namespace Flowframes
|
|||||||
string loopSuffix = Config.Get(Config.Key.exportNamePatternLoop).Replace("[LOOPS]", $"{times}").Replace("[PLAYS]", $"{times + 1}");
|
string loopSuffix = Config.Get(Config.Key.exportNamePatternLoop).Replace("[LOOPS]", $"{times}").Replace("[PLAYS]", $"{times + 1}");
|
||||||
string outpath = $"{pathNoExt}{loopSuffix}{ext}";
|
string outpath = $"{pathNoExt}{loopSuffix}{ext}";
|
||||||
IoUtils.RenameExistingFileOrDir(outpath);
|
IoUtils.RenameExistingFileOrDir(outpath);
|
||||||
string args = $" -stream_loop {times} -i {inputFile.Wrap()} -c copy {outpath.Wrap()}";
|
string args = $" -stream_loop {times} -i {inputFile.Wrap()} -map 0 -c copy {outpath.Wrap()}";
|
||||||
await RunFfmpeg(args, LogMode.Hidden);
|
await RunFfmpeg(args, LogMode.Hidden);
|
||||||
|
|
||||||
if (delSrc)
|
if (delSrc)
|
||||||
|
|||||||
Reference in New Issue
Block a user