From 5eaee80217f64c3491180111b7a14abc5c173d8a Mon Sep 17 00:00:00 2001 From: Max Holland Date: Tue, 14 Nov 2023 12:24:04 +0300 Subject: [PATCH] bump ffmpeg thumbnail timeout --- core/uploader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/uploader.go b/core/uploader.go index 0394643..af5ba40 100644 --- a/core/uploader.go +++ b/core/uploader.go @@ -147,7 +147,7 @@ func extractThumb(session drivers.OSSession, filename string, segment []byte) er outFile, } - timeout, cancel := context.WithTimeout(context.Background(), 5*time.Second) + timeout, cancel := context.WithTimeout(context.Background(), 8*time.Second) defer cancel() cmd := exec.CommandContext(timeout, "ffmpeg", args...)