Add delay_moov flag for progressive mp4 transcoding

This commit is contained in:
Bill Thornton 2022-12-01 15:31:59 -05:00
parent 471ebec16a
commit 79f01834c1

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);