From 4344ab6b0095683348983616b1eabf7142ece2d6 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 6 Jul 2020 22:39:07 -0700 Subject: [PATCH] Revert "Create thumbnail from end of segment. Closes #14" This reverts commit 266fe51028a3a49a61864a929a639bb240dc9122. --- core/ffmpeg/thumbnailGenerator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ffmpeg/thumbnailGenerator.go b/core/ffmpeg/thumbnailGenerator.go index 832a1ed75..cd5ecde13 100644 --- a/core/ffmpeg/thumbnailGenerator.go +++ b/core/ffmpeg/thumbnailGenerator.go @@ -75,7 +75,7 @@ func fireThumbnailGenerator(chunkPath string, variantIndex int) error { config.Config.FFMpegPath, "-y", // Overwrite file "-threads 1", // Low priority processing - "-sseof -0:0:1", // Pull from the end of the segment + "-t 1", // Pull from frame 1 "-i", mostRecentFile, // Input "-f image2", // format "-vframes 1", // Single frame