From a687879e94fa5d3ecdd76bec3d94d0e1698ee913 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 5 May 2023 13:41:48 +0200 Subject: Reload the video after waiting for the files lock --- shared/server-commands/videos/live.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shared/server-commands') diff --git a/shared/server-commands/videos/live.ts b/shared/server-commands/videos/live.ts index 578e6ede7..3b09d3ff8 100644 --- a/shared/server-commands/videos/live.ts +++ b/shared/server-commands/videos/live.ts @@ -21,8 +21,8 @@ function sendRTMPStream (options: { command.outputOption('-c copy') } else { command.outputOption('-c:v libx264') - command.outputOption('-g 50') - command.outputOption('-keyint_min 2') + command.outputOption('-g 120') + command.outputOption('-x264-params "no-scenecut=1"') command.outputOption('-r 60') } -- cgit v1.2.3