You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using DownKyi.Core.FileName;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace DownKyi.Core.Settings.Models
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 视频
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class VideoSettings
|
|
|
|
|
{
|
|
|
|
|
public VideoCodecs VideoCodecs { get; set; } = VideoCodecs.NONE; // AVC or HEVC
|
|
|
|
|
public int Quality { get; set; } = -1; // 画质
|
|
|
|
|
public int AudioQuality { get; set; } = -1; // 音质
|
|
|
|
|
public AllowStatus IsTranscodingFlvToMp4 { get; set; } = AllowStatus.NONE; // 是否将flv转为mp4
|
|
|
|
|
public string SaveVideoRootPath { get; set; } = null; // 视频保存路径
|
|
|
|
|
public List<string> HistoryVideoRootPaths { get; set; } = null; // 历史视频保存路径
|
|
|
|
|
public AllowStatus IsUseSaveVideoRootPath { get; set; } = AllowStatus.NONE; // 是否使用默认视频保存路径
|
|
|
|
|
public VideoContentSettings VideoContent { get; set; } = null; // 下载内容
|
|
|
|
|
public List<FileNamePart> FileNameParts { get; set; } = null; // 文件命名格式
|
|
|
|
|
public string FileNamePartTimeFormat { get; set; } = null; // 文件命名中的时间格式
|
|
|
|
|
public OrderFormat OrderFormat { get; set; } = OrderFormat.NOT_SET; // 文件命名中的序号格式
|
|
|
|
|
}
|
|
|
|
|
}
|