renatotn7 commited on
Commit
a4f8216
·
1 Parent(s): 2fb0f4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def chamada():
56
  width = vcap.get(3) # float `width`
57
  height = vcap.get(4) # float `height`
58
  fps = vcap.get(5)
59
- -vn -acodec copy output-audio.aac
60
  os.system("ffmpeg -i /tmp/inputvideo -vn -acodec copy output-audio.aac /tmp/inputvideo.acc")
61
  os.system("ffmpeg -i /tmp/inputvideo -compression_level 10 -pred mixed -pix_fmt rgb24 -sws_flags +accurate_rnd+full_chroma_int -s 720x1280 -r 30 /tmp/_input/imagem-%4d.png")
62
  percent_complete= percent_complete+ 30
 
56
  width = vcap.get(3) # float `width`
57
  height = vcap.get(4) # float `height`
58
  fps = vcap.get(5)
59
+
60
  os.system("ffmpeg -i /tmp/inputvideo -vn -acodec copy output-audio.aac /tmp/inputvideo.acc")
61
  os.system("ffmpeg -i /tmp/inputvideo -compression_level 10 -pred mixed -pix_fmt rgb24 -sws_flags +accurate_rnd+full_chroma_int -s 720x1280 -r 30 /tmp/_input/imagem-%4d.png")
62
  percent_complete= percent_complete+ 30