mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
@@ -3,7 +3,7 @@
|
|||||||
version: '3.4'
|
version: '3.4'
|
||||||
services:
|
services:
|
||||||
stash:
|
stash:
|
||||||
image: stashapp/stash:x86_64
|
image: stashapp/stash:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "9999:9999"
|
- "9999:9999"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ func (e *Encoder) Screenshot(probeResult VideoFile, options ScreenshotOptions) {
|
|||||||
"-v", options.Verbosity,
|
"-v", options.Verbosity,
|
||||||
"-ss", fmt.Sprintf("%v", options.Time),
|
"-ss", fmt.Sprintf("%v", options.Time),
|
||||||
"-y",
|
"-y",
|
||||||
"-i", probeResult.Path, // TODO: Wrap in quotes?
|
"-i", `"` + probeResult.Path + `"`,
|
||||||
"-vframes", "1",
|
"-vframes", "1",
|
||||||
"-q:v", fmt.Sprintf("%v", options.Quality),
|
"-q:v", fmt.Sprintf("%v", options.Quality),
|
||||||
"-vf", fmt.Sprintf("scale=%v:-1", options.Width),
|
"-vf", fmt.Sprintf("scale=%v:-1", options.Width),
|
||||||
|
|||||||
Reference in New Issue
Block a user