You've already forked lubo_toolkit
避免参数中有空格导致异常
This commit is contained in:
@ -7,7 +7,7 @@ for file in glob("*.flv"):
|
||||
if os.path.exists(new_file):
|
||||
continue
|
||||
os.system(" ".join([
|
||||
"ffmpeg", "-y", "-i", file,
|
||||
"ffmpeg", "-y", "-i", f"\"{file}\"",
|
||||
"-c copy", "-f mp4",
|
||||
new_file,
|
||||
f"\"{new_file}\"",
|
||||
]))
|
||||
|
Reference in New Issue
Block a user