aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/ffmpeg-utils.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-10-30 15:09:00 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-11-09 15:33:04 +0100
commit77e9f859c6ad75ba179dec74e5410cc651eaa49b (patch)
treeec89fe374d73d9de48cb971ad18cab7718e03223 /server/helpers/ffmpeg-utils.ts
parentd2345ce920a5f35cd17ca8d89456dd98e9f11a2c (diff)
downloadPeerTube-77e9f859c6ad75ba179dec74e5410cc651eaa49b.tar.gz
PeerTube-77e9f859c6ad75ba179dec74e5410cc651eaa49b.tar.zst
PeerTube-77e9f859c6ad75ba179dec74e5410cc651eaa49b.zip
Add check params live tests
Diffstat (limited to 'server/helpers/ffmpeg-utils.ts')
-rw-r--r--server/helpers/ffmpeg-utils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts
index b985988d3..268ed7624 100644
--- a/server/helpers/ffmpeg-utils.ts
+++ b/server/helpers/ffmpeg-utils.ts
@@ -385,6 +385,7 @@ function runLiveTranscoding (rtmpUrl: string, outPath: string, resolutions: numb
385 command.outputOption('-level 3.1') 385 command.outputOption('-level 3.1')
386 command.outputOption('-map_metadata -1') 386 command.outputOption('-map_metadata -1')
387 command.outputOption('-pix_fmt yuv420p') 387 command.outputOption('-pix_fmt yuv420p')
388 command.outputOption('-max_muxing_queue_size 1024')
388 389
389 for (let i = 0; i < resolutions.length; i++) { 390 for (let i = 0; i < resolutions.length; i++) {
390 const resolution = resolutions[i] 391 const resolution = resolutions[i]