You've already forked lubo_toolkit
已经转换了的不要再转换
This commit is contained in:
@ -4,8 +4,10 @@ import os
|
||||
|
||||
for file in glob("*.flv"):
|
||||
new_file = file.replace(".flv", ".mp4")
|
||||
if os.path.exists(new_file):
|
||||
continue
|
||||
os.system(" ".join([
|
||||
"ffmpeg", "-i", file,
|
||||
"ffmpeg", "-y", "-i", file,
|
||||
"-c copy", "-f mp4",
|
||||
new_file,
|
||||
]))
|
||||
|
Reference in New Issue
Block a user