From 60288d567625e91da081594fcd4174b8b0955e0d Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 12 Jun 2020 16:28:41 -0700 Subject: [PATCH] Experimenting with different encoder settings --- ffmpeg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.go b/ffmpeg.go index b5e161817..5ac583b9a 100644 --- a/ffmpeg.go +++ b/ffmpeg.go @@ -64,7 +64,7 @@ func startFfmpeg(configuration Config) { "-master_pl_name stream.m3u8", "-g 60", "-keyint_min 60", // create key frame (I-frame) every 48 frames (~2 seconds) - will later affect correct slicing of segments and alignment of renditions "-framerate 30", - "-r 15", + // "-r 15", "-preset " + configuration.VideoSettings.EncoderPreset, "-sc_threshold 0", // don't create key frames on scene change - only according to -g "-profile:v main", // Main – for standard definition (SD) to 640×480, High – for high definition (HD) to 1920×1080