修改提示文本
This commit is contained in:
@@ -19,7 +19,7 @@ namespace SpineViewer.Exporter.Implementations.ExportArgs
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 文件格式
|
/// 文件格式
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Category("[2] FFmpeg 基本参数"), DisplayName("文件格式"), Description("文件格式")]
|
[Category("[2] FFmpeg 基本参数"), DisplayName("文件格式"), Description("-f, 文件格式")]
|
||||||
public abstract string Format { get; }
|
public abstract string Format { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ namespace SpineViewer.Exporter.Implementations.ExportArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[StringEnumConverter.StandardValues("libx264", "libx265", "libvpx-vp9", Customizable = true)]
|
[StringEnumConverter.StandardValues("libx264", "libx265", "libvpx-vp9", Customizable = true)]
|
||||||
[TypeConverter(typeof(StringEnumConverter))]
|
[TypeConverter(typeof(StringEnumConverter))]
|
||||||
[Category("[3] 格式参数"), DisplayName("编码器"), Description("要使用的编码器")]
|
[Category("[3] 格式参数"), DisplayName("编码器"), Description("-c:v, 要使用的编码器")]
|
||||||
public string Codec { get; set; } = "libx265";
|
public string Codec { get; set; } = "libx265";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -43,7 +43,7 @@ namespace SpineViewer.Exporter.Implementations.ExportArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[StringEnumConverter.StandardValues("yuv420p", "yuv422p", "yuv444p", "yuva420p", Customizable = true)]
|
[StringEnumConverter.StandardValues("yuv420p", "yuv422p", "yuv444p", "yuva420p", Customizable = true)]
|
||||||
[TypeConverter(typeof(StringEnumConverter))]
|
[TypeConverter(typeof(StringEnumConverter))]
|
||||||
[Category("[3] 格式参数"), DisplayName("像素格式"), Description("要使用的像素格式")]
|
[Category("[3] 格式参数"), DisplayName("像素格式"), Description("-pix_fmt, 要使用的像素格式")]
|
||||||
public string PixelFormat { get; set; } = "yuv444p";
|
public string PixelFormat { get; set; } = "yuv444p";
|
||||||
|
|
||||||
public override void SetOutputOptions(FFMpegArgumentOptions options)
|
public override void SetOutputOptions(FFMpegArgumentOptions options)
|
||||||
|
|||||||
@@ -28,13 +28,13 @@ namespace SpineViewer.Exporter.Implementations.ExportArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[StringEnumConverter.StandardValues("prores_ks", Customizable = true)]
|
[StringEnumConverter.StandardValues("prores_ks", Customizable = true)]
|
||||||
[TypeConverter(typeof(StringEnumConverter))]
|
[TypeConverter(typeof(StringEnumConverter))]
|
||||||
[Category("[3] 格式参数"), DisplayName("编码器"), Description("要使用的编码器")]
|
[Category("[3] 格式参数"), DisplayName("编码器"), Description("-c:v, 要使用的编码器")]
|
||||||
public string Codec { get; set; } = "prores_ks";
|
public string Codec { get; set; } = "prores_ks";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 预设
|
/// 预设
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[StringEnumConverter.StandardValues("auto", "proxy", "lt", "standard", "hq", "4444", "444xq")]
|
[StringEnumConverter.StandardValues("auto", "proxy", "lt", "standard", "hq", "4444", "4444xq")]
|
||||||
[TypeConverter(typeof(StringEnumConverter))]
|
[TypeConverter(typeof(StringEnumConverter))]
|
||||||
[Category("[3] 格式参数"), DisplayName("预设"), Description("-profile, 预设配置")]
|
[Category("[3] 格式参数"), DisplayName("预设"), Description("-profile, 预设配置")]
|
||||||
public string Profile { get; set; } = "auto";
|
public string Profile { get; set; } = "auto";
|
||||||
@@ -44,7 +44,7 @@ namespace SpineViewer.Exporter.Implementations.ExportArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[StringEnumConverter.StandardValues("yuv422p10le", "yuv444p10le", "yuva444p10le", Customizable = true)]
|
[StringEnumConverter.StandardValues("yuv422p10le", "yuv444p10le", "yuva444p10le", Customizable = true)]
|
||||||
[TypeConverter(typeof(StringEnumConverter))]
|
[TypeConverter(typeof(StringEnumConverter))]
|
||||||
[Category("[3] 格式参数"), DisplayName("像素格式"), Description("要使用的像素格式")]
|
[Category("[3] 格式参数"), DisplayName("像素格式"), Description("-pix_fmt, 要使用的像素格式")]
|
||||||
public string PixelFormat { get; set; } = "yuva444p10le";
|
public string PixelFormat { get; set; } = "yuva444p10le";
|
||||||
|
|
||||||
public override void SetOutputOptions(FFMpegArgumentOptions options)
|
public override void SetOutputOptions(FFMpegArgumentOptions options)
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ namespace SpineViewer.Exporter.Implementations.ExportArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[StringEnumConverter.StandardValues("libx264", "libx265", Customizable = true)]
|
[StringEnumConverter.StandardValues("libx264", "libx265", Customizable = true)]
|
||||||
[TypeConverter(typeof(StringEnumConverter))]
|
[TypeConverter(typeof(StringEnumConverter))]
|
||||||
[Category("[3] 格式参数"), DisplayName("编码器"), Description("要使用的编码器")]
|
[Category("[3] 格式参数"), DisplayName("编码器"), Description("-c:v, 要使用的编码器")]
|
||||||
public string Codec { get; set; } = "libx264";
|
public string Codec { get; set; } = "libx264";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -43,7 +43,7 @@ namespace SpineViewer.Exporter.Implementations.ExportArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[StringEnumConverter.StandardValues("yuv420p", "yuv422p", "yuv444p", Customizable = true)]
|
[StringEnumConverter.StandardValues("yuv420p", "yuv422p", "yuv444p", Customizable = true)]
|
||||||
[TypeConverter(typeof(StringEnumConverter))]
|
[TypeConverter(typeof(StringEnumConverter))]
|
||||||
[Category("[3] 格式参数"), DisplayName("像素格式"), Description("要使用的像素格式")]
|
[Category("[3] 格式参数"), DisplayName("像素格式"), Description("-pix_fmt, 要使用的像素格式")]
|
||||||
public string PixelFormat { get; set; } = "yuv444p";
|
public string PixelFormat { get; set; } = "yuv444p";
|
||||||
|
|
||||||
public override void SetOutputOptions(FFMpegArgumentOptions options)
|
public override void SetOutputOptions(FFMpegArgumentOptions options)
|
||||||
|
|||||||
@@ -29,13 +29,13 @@ namespace SpineViewer.Exporter.Implementations.ExportArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[StringEnumConverter.StandardValues("libvpx-vp9", Customizable = true)]
|
[StringEnumConverter.StandardValues("libvpx-vp9", Customizable = true)]
|
||||||
[TypeConverter(typeof(StringEnumConverter))]
|
[TypeConverter(typeof(StringEnumConverter))]
|
||||||
[Category("[3] 格式参数"), DisplayName("编码器"), Description("要使用的编码器")]
|
[Category("[3] 格式参数"), DisplayName("编码器"), Description("-c:v, 要使用的编码器")]
|
||||||
public string Codec { get; set; } = "libvpx-vp9";
|
public string Codec { get; set; } = "libvpx-vp9";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// CRF
|
/// CRF
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Category("[3] 格式参数"), DisplayName("CRF"), Description("Constant Rate Factor, 取值范围 0-63, 建议范围 18-28, 默认取值 23, 数值越小则输出质量越高")]
|
[Category("[3] 格式参数"), DisplayName("CRF"), Description("-crf, 取值范围 0-63, 建议范围 18-28, 默认取值 23, 数值越小则输出质量越高")]
|
||||||
public int CRF { get => crf; set => crf = Math.Clamp(value, 0, 63); }
|
public int CRF { get => crf; set => crf = Math.Clamp(value, 0, 63); }
|
||||||
private int crf = 23;
|
private int crf = 23;
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ namespace SpineViewer.Exporter.Implementations.ExportArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[StringEnumConverter.StandardValues("yuv420p", "yuv422p", "yuv444p", "yuva420p", Customizable = true)]
|
[StringEnumConverter.StandardValues("yuv420p", "yuv422p", "yuv444p", "yuva420p", Customizable = true)]
|
||||||
[TypeConverter(typeof(StringEnumConverter))]
|
[TypeConverter(typeof(StringEnumConverter))]
|
||||||
[Category("[3] 格式参数"), DisplayName("像素格式"), Description("要使用的像素格式")]
|
[Category("[3] 格式参数"), DisplayName("像素格式"), Description("-pix_fmt, 要使用的像素格式")]
|
||||||
public string PixelFormat { get; set; } = "yuva420p";
|
public string PixelFormat { get; set; } = "yuva420p";
|
||||||
|
|
||||||
public override void SetOutputOptions(FFMpegArgumentOptions options)
|
public override void SetOutputOptions(FFMpegArgumentOptions options)
|
||||||
|
|||||||
Reference in New Issue
Block a user