Use reference framerate as sampling rate (target FPS) for SubtitlesOctopus

This commit is contained in:
Dmitry Lyzo
2025-01-21 22:43:37 +03:00
committed by GitHub
parent 2f6781a7c2
commit 36aa4dcd88

View File

@@ -1305,7 +1305,7 @@ export class HtmlVideoPlayer {
dropAllAnimations: false,
libassMemoryLimit: 40,
libassGlyphLimit: 40,
targetFps: videoStream?.AverageFrameRate || videoStream?.RealFrameRate || 24,
targetFps: videoStream?.ReferenceFrameRate || videoStream?.RealFrameRate || 24,
prescaleFactor: 0.8,
prescaleHeightLimit: 1080,
maxRenderHeight: 2160,