From 3f511e48e83977c541d1792532e48ce85cbe6ef7 Mon Sep 17 00:00:00 2001 From: bnkai <48220860+bnkai@users.noreply.github.com> Date: Sat, 30 Nov 2019 18:58:15 +0200 Subject: [PATCH] Fix previews generation bug (#231) --- pkg/ffmpeg/encoder_scene_preview_chunk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ffmpeg/encoder_scene_preview_chunk.go b/pkg/ffmpeg/encoder_scene_preview_chunk.go index f1c07a4dd..9ff655ead 100644 --- a/pkg/ffmpeg/encoder_scene_preview_chunk.go +++ b/pkg/ffmpeg/encoder_scene_preview_chunk.go @@ -17,8 +17,8 @@ func (e *Encoder) ScenePreviewVideoChunk(probeResult VideoFile, options ScenePre args := []string{ "-v", "error", "-ss", strconv.Itoa(options.Time), - "-t", "0.75", "-i", probeResult.Path, + "-t", "0.75", "-max_muxing_queue_size", "1024", // https://trac.ffmpeg.org/ticket/6375 "-y", "-c:v", "libx264",