Merge pull request #8836 from thornbill/add-delay-moov-flag

This commit is contained in:
Bill Thornton 2022-12-01 23:37:16 -05:00 committed by GitHub
commit 74616a191d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5569,7 +5569,7 @@ namespace MediaBrowser.Controller.MediaEncoding
&& state.BaseRequest.Context == EncodingContext.Streaming)
{
// Comparison: https://github.com/jansmolders86/mediacenterjs/blob/master/lib/transcoding/desktop.js
format = " -f mp4 -movflags frag_keyframe+empty_moov";
format = " -f mp4 -movflags frag_keyframe+empty_moov+delay_moov";
}
var threads = GetNumberOfThreads(state, encodingOptions, videoCodec);