aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-12 16:56:37 +0100
committerChocobozzz <me@florianbigard.com>2020-11-12 16:56:37 +0100
commit2122606318bf208262d1573ab8d9a772cd697448 (patch)
tree1907ff5deda5d0e2ab44e10c8f270454a5f3ab4e
parent6297bae0c1abf0e318fa7557a59e1bdbf26dcc6b (diff)
downloadPeerTube-2122606318bf208262d1573ab8d9a772cd697448.tar.gz
PeerTube-2122606318bf208262d1573ab8d9a772cd697448.tar.zst
PeerTube-2122606318bf208262d1573ab8d9a772cd697448.zip
Increase live segment file name
-rw-r--r--server/helpers/ffmpeg-utils.ts2
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