fix: NAS压缩输出显式指定 -f mp4 — .tmp 扩展名导致 ffmpeg41 无法推断 muxer
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user