mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
Add first draft of keyframe extraction for Matroska
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user