You've already forked lubo_toolkit
初始化项目
This commit is contained in:
11
auto_convert_flv_to_mp4.py
Normal file
11
auto_convert_flv_to_mp4.py
Normal file
@ -0,0 +1,11 @@
|
||||
from glob import glob
|
||||
import os
|
||||
|
||||
|
||||
for file in glob("*.flv"):
|
||||
new_file = file.replace(".flv", ".mp4")
|
||||
os.system(" ".join([
|
||||
"ffmpeg", "-i", file,
|
||||
"-c copy", "-f mp4",
|
||||
new_file,
|
||||
]))
|
Reference in New Issue
Block a user