mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-31 20:24:21 -04:00
adjust default settings
This commit is contained in:
parent
29caf70fee
commit
0d45ab8d64
@ -244,7 +244,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||||||
|
|
||||||
if (extractKeyFrameInterval && mediaInfo.RunTimeTicks.HasValue)
|
if (extractKeyFrameInterval && mediaInfo.RunTimeTicks.HasValue)
|
||||||
{
|
{
|
||||||
if (ConfigurationManager.Configuration.EnableVideoFrameAnalysis && mediaInfo.Size.HasValue && mediaInfo.Size.Value <= ConfigurationManager.Configuration.VideoFrameAnalysisLimitBytes)
|
if (ConfigurationManager.Configuration.EnableVideoFrameByFrameAnalysis && mediaInfo.Size.HasValue)
|
||||||
{
|
{
|
||||||
foreach (var stream in mediaInfo.MediaStreams)
|
foreach (var stream in mediaInfo.MediaStreams)
|
||||||
{
|
{
|
||||||
|
@ -222,8 +222,7 @@ namespace MediaBrowser.Model.Configuration
|
|||||||
public bool DisableXmlSavers { get; set; }
|
public bool DisableXmlSavers { get; set; }
|
||||||
public bool EnableWindowsShortcuts { get; set; }
|
public bool EnableWindowsShortcuts { get; set; }
|
||||||
|
|
||||||
public bool EnableVideoFrameAnalysis { get; set; }
|
public bool EnableVideoFrameByFrameAnalysis { get; set; }
|
||||||
public long VideoFrameAnalysisLimitBytes { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="ServerConfiguration" /> class.
|
/// Initializes a new instance of the <see cref="ServerConfiguration" /> class.
|
||||||
@ -273,8 +272,7 @@ namespace MediaBrowser.Model.Configuration
|
|||||||
|
|
||||||
PeopleMetadataOptions = new PeopleMetadataOptions();
|
PeopleMetadataOptions = new PeopleMetadataOptions();
|
||||||
|
|
||||||
EnableVideoFrameAnalysis = true;
|
EnableVideoFrameByFrameAnalysis = false;
|
||||||
VideoFrameAnalysisLimitBytes = 800000000;
|
|
||||||
|
|
||||||
InsecureApps9 = new[]
|
InsecureApps9 = new[]
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user