mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Config: Add preset, quality, and device options for FFmpeg #4969
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -33,7 +33,7 @@ func TranscodeCmd(srcName, destName string, opt encode.Options) (cmd *exec.Cmd,
|
||||
if fs.TypeAnimated[fs.FileType(srcName)] != "" {
|
||||
cmd = exec.Command(
|
||||
opt.Bin,
|
||||
"-y",
|
||||
"-hide_banner", "-y",
|
||||
"-strict", "-2",
|
||||
"-i", srcName,
|
||||
"-pix_fmt", encode.FormatYUV420P.String(),
|
||||
|
||||
Reference in New Issue
Block a user