From 84f876d4867df7e629472fd83cef2eb6a452e6cb Mon Sep 17 00:00:00 2001 From: gioelecerati <50955448+gioelecerati@users.noreply.github.com> Date: Tue, 23 Jul 2024 19:24:13 +0200 Subject: [PATCH] thumbnails: q:v quality flag (#1340) * thumbnails: q:v quality flag * update --- thumbnails/thumbnails.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thumbnails/thumbnails.go b/thumbnails/thumbnails.go index 1ef1d87fe..7d138d5de 100644 --- a/thumbnails/thumbnails.go +++ b/thumbnails/thumbnails.go @@ -248,6 +248,8 @@ func processSegment(input string, thumbOut string) error { "vframes": "1", // video filter to resize "vf": fmt.Sprintf("scale=%s:force_original_aspect_ratio=decrease", resolution), + // set quality + "q:v": "2", }, ).OverWriteOutput().WithErrorOutput(&ffmpegErr).Run() }, clients.DownloadRetryBackoff())