diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-12 16:56:37 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-11-12 16:56:37 +0100 |
commit | 2122606318bf208262d1573ab8d9a772cd697448 (patch) | |
tree | 1907ff5deda5d0e2ab44e10c8f270454a5f3ab4e /server/helpers/ffmpeg-utils.ts | |
parent | 6297bae0c1abf0e318fa7557a59e1bdbf26dcc6b (diff) | |
download | PeerTube-2122606318bf208262d1573ab8d9a772cd697448.tar.gz PeerTube-2122606318bf208262d1573ab8d9a772cd697448.tar.zst PeerTube-2122606318bf208262d1573ab8d9a772cd697448.zip |
Increase live segment file name
Diffstat (limited to 'server/helpers/ffmpeg-utils.ts')
-rw-r--r-- | server/helpers/ffmpeg-utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts index 69564a1a3..1d610eff2 100644 --- a/server/helpers/ffmpeg-utils.ts +++ b/server/helpers/ffmpeg-utils.ts | |||
@@ -509,7 +509,7 @@ function addDefaultLiveHLSParams (command: ffmpeg.FfmpegCommand, outPath: string | |||
509 | command.outputOption('-hls_flags delete_segments') | 509 | command.outputOption('-hls_flags delete_segments') |
510 | } | 510 | } |
511 | 511 | ||
512 | command.outputOption(`-hls_segment_filename ${join(outPath, '%v-%04d.ts')}`) | 512 | command.outputOption(`-hls_segment_filename ${join(outPath, '%v-%06d.ts')}`) |
513 | command.outputOption('-master_pl_name master.m3u8') | 513 | command.outputOption('-master_pl_name master.m3u8') |
514 | command.outputOption(`-f hls`) | 514 | command.outputOption(`-f hls`) |
515 | 515 | ||