You've already forked FrameTour-RenderWorker
refactor
This commit is contained in:
@@ -111,9 +111,9 @@ class DefaultRenderService(RenderService):
|
||||
logger.info("Executing FFmpeg: %s", " ".join(args))
|
||||
|
||||
try:
|
||||
# 执行FFmpeg进程
|
||||
# 执行FFmpeg进程 (使用构建器已经包含的参数)
|
||||
process = subprocess.run(
|
||||
["ffmpeg", "-progress", "-", "-loglevel", "error"] + args[1:],
|
||||
args,
|
||||
stderr=subprocess.PIPE,
|
||||
**subprocess_args(True)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user