Skip to content

The Free Software Media System - Server Backend & API

Merge branch 'master' into trickplay

Nick6d9e43cfe03d
diff --cc Jellyfin.Api/Helpers/DynamicHlsHelper.cs
index bd30910558,646bf6443c..45e0d475d7
--- a/Jellyfin.Api/Helpers/DynamicHlsHelper.cs
+++ b/Jellyfin.Api/Helpers/DynamicHlsHelper.cs
@@@ -9,7 -9,7 +9,8 @@@ using System.Threading
using System.Threading.Tasks;
using Jellyfin.Api.Extensions;
using Jellyfin.Api.Models.StreamingDtos;
+using Jellyfin.Data.Entities;
+ using Jellyfin.Data.Enums;
using Jellyfin.Extensions;
using MediaBrowser.Common.Configuration;
using MediaBrowser.Common.Extensions;
diff --cc MediaBrowser.Model/Configuration/EncodingOptions.cs
index 2990cedcd1,3f0e98ec8e..84c735f9ca
--- a/MediaBrowser.Model/Configuration/EncodingOptions.cs
+++ b/MediaBrowser.Model/Configuration/EncodingOptions.cs
@@@ -49,7 -49,7 +49,8 @@@ public class EncodingOption
EnableIntelLowPowerHevcHwEncoder = false;
EnableHardwareEncoding = true;
AllowHevcEncoding = false;
+ AllowAv1Encoding = false;
+ AllowMjpegEncoding = false;
EnableSubtitleExtraction = true;
AllowOnDemandMetadataBasedKeyframeExtractionForExtensions = new[] { "mkv" };
HardwareDecodingCodecs = new string[] { "h264", "vc1" };
@@@ -250,11 -250,11 +251,16 @@@
/// </summary>
public bool AllowHevcEncoding { get; set; }
+ /// <summary>
+ /// Gets or sets a value indicating whether AV1 encoding is enabled.
+ /// </summary>
+ public bool AllowAv1Encoding { get; set; }
+
+ /// <summary>
+ /// Gets or sets a value indicating whether MJPEG encoding is enabled.
+ /// </summary>
+ public bool AllowMjpegEncoding { get; set; }
+
/// <summary>
/// Gets or sets a value indicating whether subtitle extraction is enabled.
/// </summary>