fix: NAS压缩输出显式指定 -f mp4 — .tmp 扩展名导致 ffmpeg41 无法推断 muxer

This commit is contained in:
ericwyuan
2026-08-20 18:28:14 +08:00
parent 4e16330e87
commit 1b82db1493

View File

@@ -178,6 +178,7 @@ class Dispatcher:
'scale=trunc(iw/2)*2:trunc(ih/2)*2'), 'scale=trunc(iw/2)*2:trunc(ih/2)*2'),
'-c:v', 'libx264', '-preset', 'veryfast', '-crf', '28', '-c:v', 'libx264', '-preset', 'veryfast', '-crf', '28',
'-an', '-an',
'-f', 'mp4', # .tmp 扩展名无法推断 muxer必须显式指定
tmp_path, tmp_path,
] ]
try: try: