X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fserver-commands%2Fvideos%2Flive.ts;h=3b09d3ff81c9ef01003109cbdd3f9d1431555f1d;hb=fabe350bcac2d24c8524d4b6bb776dba7e374c8d;hp=ee7444b64af2821d551850171bb46dc2fe7c9856;hpb=3545e72c686ff1725bbdfd8d16d693e2f4aa75a3;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/server-commands/videos/live.ts b/shared/server-commands/videos/live.ts index ee7444b64..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') } @@ -39,6 +39,7 @@ function sendRTMPStream (options: { if (process.env.DEBUG) { command.on('stderr', data => console.log(data)) + command.on('stdout', data => console.log(data)) } command.run()