@@ -60,7 +60,7 @@ namespace Spine.Exporters
|
|||||||
if (!string.IsNullOrEmpty(_codec)) options.WithVideoCodec(_codec);
|
if (!string.IsNullOrEmpty(_codec)) options.WithVideoCodec(_codec);
|
||||||
if (!string.IsNullOrEmpty(_pixelFormat)) options.ForcePixelFormat(_pixelFormat);
|
if (!string.IsNullOrEmpty(_pixelFormat)) options.ForcePixelFormat(_pixelFormat);
|
||||||
if (!string.IsNullOrEmpty(_bitrate)) options.WithCustomArgument($"-b:v {_bitrate}");
|
if (!string.IsNullOrEmpty(_bitrate)) options.WithCustomArgument($"-b:v {_bitrate}");
|
||||||
if (!string.IsNullOrEmpty(_filter)) options.WithCustomArgument($"-vf unpremultiply=inplace=1, {_filter}");
|
if (!string.IsNullOrEmpty(_filter)) options.WithCustomArgument($"-vf \"unpremultiply=inplace=1, {_filter}\"");
|
||||||
else options.WithCustomArgument("-vf unpremultiply=inplace=1");
|
else options.WithCustomArgument("-vf unpremultiply=inplace=1");
|
||||||
if (!string.IsNullOrEmpty(_customArgs)) options.WithCustomArgument($"{_customArgs}");
|
if (!string.IsNullOrEmpty(_customArgs)) options.WithCustomArgument($"{_customArgs}");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user