优化,以及增加视频编码选择

This commit is contained in:
jianzhichu
2026-01-24 21:50:37 +08:00
parent e92e290a4e
commit b63621593b
11 changed files with 93 additions and 38 deletions
+6
View File
@@ -109,6 +109,12 @@ namespace dy.net.model.entity
///// </summary>
//[SugarColumn(Length = 500, IsNullable = true)]
//public string SeriesPath { get; set; }
/// <summary>
/// 264 265 0-默认0=264
/// </summary>
[SugarColumn(IsNullable = true)]
public int? VideoEncoder { get; set; } = 265;
}
}
+10 -10
View File
@@ -1188,14 +1188,14 @@ namespace dy.net.model.response
[JsonProperty("FPS")]
public int Fps { get; set; }
//[JsonProperty("HDR_bit")]
//public string HdrBit { get; set; }
[JsonProperty("HDR_bit")]
public string HdrBit { get; set; }
//[JsonProperty("HDR_type")]
//public string HdrType { get; set; }
[JsonProperty("HDR_type")]
public string HdrType { get; set; }
//[JsonProperty("bit_rate")]
//public int BitRateValue { get; set; }
[JsonProperty("bit_rate")]
public int BitRateValue { get; set; }
[JsonProperty("format")]
public string Format { get; set; }
@@ -1206,14 +1206,14 @@ namespace dy.net.model.response
//[JsonProperty("is_bytevc1")]
//public int IsBytevc1 { get; set; }
//[JsonProperty("is_h265")]
//public int IsH265 { get; set; }
[JsonProperty("is_h265")]
public int IsH265 { get; set; }
[JsonProperty("play_addr")]
public PlayAddr PlayAddr { get; set; }
//[JsonProperty("quality_type")]
//public int QualityType { get; set; }
[JsonProperty("quality_type")]
public int QualityType { get; set; }
//[JsonProperty("video_extra")]
//public string VideoExtra { get; set; }