补充遗漏参数项

This commit is contained in:
ww-rm
2025-04-09 15:56:51 +08:00
parent 94dabebf2b
commit 32d36c0757
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ namespace SpineViewer.Exporter
public override void SetOutputOptions(FFMpegArgumentOptions options) public override void SetOutputOptions(FFMpegArgumentOptions options)
{ {
base.SetOutputOptions(options); base.SetOutputOptions(options);
options.WithVideoCodec(Codec).WithConstantRateFactor(CRF).WithCustomArgument($"-loop {Loop}"); options.WithVideoCodec(Codec).ForcePixelFormat(PixelFormat).WithConstantRateFactor(CRF).WithCustomArgument($"-loop {Loop}");
} }
} }
} }

View File

@@ -54,7 +54,7 @@ namespace SpineViewer.Exporter
public override void SetOutputOptions(FFMpegArgumentOptions options) public override void SetOutputOptions(FFMpegArgumentOptions options)
{ {
base.SetOutputOptions(options); base.SetOutputOptions(options);
options.WithVideoCodec(Codec).WithCustomArgument($"-lossless {(Lossless ? 1 : 0)} -quality {Quality} -loop {Loop}"); options.WithVideoCodec(Codec).ForcePixelFormat(PixelFormat).WithCustomArgument($"-lossless {(Lossless ? 1 : 0)} -quality {Quality} -loop {Loop}");
} }
} }
} }