浏览代码

refactor: vpu/convert.py add: .img to .mp4

micha 1 年之前
父节点
当前提交
35e47f9a49
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      vpu/convert.py

+ 1 - 0
vpu/convert.py

@@ -20,6 +20,7 @@ os.system(cmd)
 cmd =  "mkdir -p groß/"
 os.system(cmd)
 
+
 def convert_img(s,t):# to 1 sec video
     cmd="ffmpeg -y -framerate 1 -i 'groß/{}' -r 1000 'groß/{}.mp4'".format(s,t)
     cmd="ffmpeg -y -framerate 1 -i 'groß/{}' -s 640x480 -c:a copy -r 1000 'klein/{}.mp4'".format(s,t)