mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Update encoder_scene_preview_chunk.go
Apply ffmeg max_uxing_queue_size option fix to avoid problems with some videos
This commit is contained in:
@@ -18,6 +18,7 @@ func (e *Encoder) ScenePreviewVideoChunk(probeResult VideoFile, options ScenePre
|
|||||||
"-ss", strconv.Itoa(options.Time),
|
"-ss", strconv.Itoa(options.Time),
|
||||||
"-t", "0.75",
|
"-t", "0.75",
|
||||||
"-i", probeResult.Path,
|
"-i", probeResult.Path,
|
||||||
|
"-max_muxing_queue_size", "1024", // https://trac.ffmpeg.org/ticket/6375
|
||||||
"-y",
|
"-y",
|
||||||
"-c:v", "libx264",
|
"-c:v", "libx264",
|
||||||
"-pix_fmt", "yuv420p",
|
"-pix_fmt", "yuv420p",
|
||||||
|
|||||||
Reference in New Issue
Block a user