Config: Add preset, quality, and device options for FFmpeg #4969

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-04-27 14:36:36 +02:00
parent 27ec7a1282
commit eb4fc032ff
23 changed files with 490 additions and 143 deletions

View File

@@ -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(),