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 (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)
|
||||
{
|
||||
|
|
|
@ -222,8 +222,7 @@ namespace MediaBrowser.Model.Configuration
|
|||
public bool DisableXmlSavers { get; set; }
|
||||
public bool EnableWindowsShortcuts { get; set; }
|
||||
|
||||
public bool EnableVideoFrameAnalysis { get; set; }
|
||||
public long VideoFrameAnalysisLimitBytes { get; set; }
|
||||
public bool EnableVideoFrameByFrameAnalysis { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ServerConfiguration" /> class.
|
||||
|
@ -273,8 +272,7 @@ namespace MediaBrowser.Model.Configuration
|
|||
|
||||
PeopleMetadataOptions = new PeopleMetadataOptions();
|
||||
|
||||
EnableVideoFrameAnalysis = true;
|
||||
VideoFrameAnalysisLimitBytes = 800000000;
|
||||
EnableVideoFrameByFrameAnalysis = false;
|
||||
|
||||
InsecureApps9 = new[]
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user