Create thumbnail from end of segment. Closes #14

This commit is contained in:
Gabe Kangas 2020-07-06 22:16:40 -07:00
parent ba69221394
commit 266fe51028

View File

@ -75,7 +75,7 @@ func fireThumbnailGenerator(chunkPath string, variantIndex int) error {
config.Config.FFMpegPath,
"-y", // Overwrite file
"-threads 1", // Low priority processing
"-t 1", // Pull from frame 1
"-sseof -0:0:1", // Pull from the end of the segment
"-i", mostRecentFile, // Input
"-f image2", // format
"-vframes 1", // Single frame