Add first draft of keyframe extraction for Matroska

This commit is contained in:
cvium
2021-09-23 15:29:12 +02:00
parent 1ebd3c9ac3
commit 9c15f96e12
23 changed files with 893 additions and 112 deletions

View File

@@ -1,3 +1,5 @@
using System;
#nullable disable
#pragma warning disable CS1591
@@ -37,6 +39,7 @@ namespace MediaBrowser.Model.Configuration
EnableHardwareEncoding = true;
AllowHevcEncoding = false;
EnableSubtitleExtraction = true;
AllowAutomaticKeyframeExtractionForExtensions = Array.Empty<string>();
HardwareDecodingCodecs = new string[] { "h264", "vc1" };
}
@@ -111,5 +114,7 @@ namespace MediaBrowser.Model.Configuration
public bool EnableSubtitleExtraction { get; set; }
public string[] HardwareDecodingCodecs { get; set; }
public string[] AllowAutomaticKeyframeExtractionForExtensions { get; set; }
}
}