mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-08 16:58:50 +01:00
Merge remote-tracking branch 'upstream/master' into search-rebased
# Conflicts: # Emby.Server.Implementations/Library/LibraryManager.cs # Jellyfin.Server.Implementations/Item/PeopleRepository.cs # MediaBrowser.Controller/Library/ILibraryManager.cs # MediaBrowser.Controller/Persistence/IPeopleRepository.cs
This commit is contained in:
@@ -61,7 +61,7 @@ public class EncodingOptions
|
||||
SubtitleExtractionTimeoutMinutes = 30;
|
||||
AllowOnDemandMetadataBasedKeyframeExtractionForExtensions = ["mkv"];
|
||||
HardwareDecodingCodecs = ["h264", "vc1"];
|
||||
HlsAudioSeekStrategy = HlsAudioSeekStrategy.DisableAccurateSeek;
|
||||
HlsAudioSeekStrategy = HlsAudioSeekStrategy.TrimCopiedAudio;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -307,6 +307,6 @@ public class EncodingOptions
|
||||
/// <summary>
|
||||
/// Gets or sets the method used for audio seeking in HLS.
|
||||
/// </summary>
|
||||
[DefaultValue(HlsAudioSeekStrategy.DisableAccurateSeek)]
|
||||
[DefaultValue(HlsAudioSeekStrategy.TrimCopiedAudio)]
|
||||
public HlsAudioSeekStrategy HlsAudioSeekStrategy { get; set; }
|
||||
}
|
||||
|
||||
@@ -7,11 +7,12 @@ namespace MediaBrowser.Model.Configuration
|
||||
public enum HlsAudioSeekStrategy
|
||||
{
|
||||
/// <summary>
|
||||
/// If the video stream is transcoded and the audio stream is copied,
|
||||
/// seek the video stream to the same keyframe as the audio stream. The
|
||||
/// resulting timestamps in the output streams may be inaccurate.
|
||||
/// When video is transcoded and audio is copied, use a bitstream filter
|
||||
/// to drop copied audio packets before the seek point, aligning them
|
||||
/// with the accurately-seeked video. Timestamps are accurate and audio
|
||||
/// remains stream-copied (no re-encoding overhead).
|
||||
/// </summary>
|
||||
DisableAccurateSeek = 0,
|
||||
TrimCopiedAudio = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Prevent audio streams from being copied if the video stream is transcoded.
|
||||
|
||||
Reference in New Issue
Block a user