Adjusted extract params
This commit is contained in:
parent
077ffdad30
commit
4a362001a6
@ -20,8 +20,7 @@ class ExtractDaemon(val referenceId: String, val work: ExtractWork, val daemonIn
|
||||
outFile.parentFile.mkdirs()
|
||||
}
|
||||
val adjustedArgs = listOf(
|
||||
"-hide_banner", "-i", File(work.inFile).absolutePath, *work.arguments.toTypedArray(), outFile.absolutePath,
|
||||
"-progress", "pipe:1"
|
||||
"-hide_banner", "-i", File(work.inFile).absolutePath, *work.arguments.toTypedArray(), outFile.absolutePath
|
||||
) + if (EncodeEnv.allowOverwrite) listOf("-y") else listOf("-nostdin")
|
||||
logger.info { "$referenceId @ ${work.workId} ${adjustedArgs.joinToString(" ")}" }
|
||||
return Daemon(EncodeEnv.ffmpeg, this).run(adjustedArgs)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user