Fix previews generation bug (#231)

This commit is contained in:
bnkai 2019-11-30 18:58:15 +02:00 committed by StashAppDev
parent ddae45f2b4
commit 3f511e48e8
1 changed files with 1 additions and 1 deletions

View File

@ -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",