From f2fbdf8a7c001ad84f6fcb24eb237034eb17166d Mon Sep 17 00:00:00 2001 From: shimon Date: Sun, 7 Aug 2022 09:59:42 +0300 Subject: [PATCH] transcoding gop --- app/views/videos/dash.phtml | 1 - app/workers/transcoding.php | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/videos/dash.phtml b/app/views/videos/dash.phtml index c07069d9be..85fb6c3906 100644 --- a/app/views/videos/dash.phtml +++ b/app/views/videos/dash.phtml @@ -29,7 +29,6 @@ echo ''; ?> getParam('subtitles', []) as $subtitle):?> - diff --git a/app/workers/transcoding.php b/app/workers/transcoding.php index 88d0989ebf..5880c1cc16 100644 --- a/app/workers/transcoding.php +++ b/app/workers/transcoding.php @@ -370,10 +370,10 @@ class TranscodingV1 extends Worker '-r', '24', '-b_strategy', '1', '-bf', '3', - '-g', '2' + '-g', '120' ]; - $segmentSize = 8; + $segmentSize = 10; if ($stream === 'dash') { $dash = $video->dash()