mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Revert preview generation change
This commit is contained in:
@@ -16,8 +16,8 @@ type ScenePreviewChunkOptions struct {
|
|||||||
func (e *Encoder) ScenePreviewVideoChunk(probeResult VideoFile, options ScenePreviewChunkOptions) {
|
func (e *Encoder) ScenePreviewVideoChunk(probeResult VideoFile, options ScenePreviewChunkOptions) {
|
||||||
args := []string{
|
args := []string{
|
||||||
"-v", "error",
|
"-v", "error",
|
||||||
"-i", probeResult.Path,
|
|
||||||
"-ss", strconv.Itoa(options.Time),
|
"-ss", strconv.Itoa(options.Time),
|
||||||
|
"-i", probeResult.Path,
|
||||||
"-t", "0.75",
|
"-t", "0.75",
|
||||||
"-max_muxing_queue_size", "1024", // https://trac.ffmpeg.org/ticket/6375
|
"-max_muxing_queue_size", "1024", // https://trac.ffmpeg.org/ticket/6375
|
||||||
"-y",
|
"-y",
|
||||||
|
|||||||
Reference in New Issue
Block a user