Update app.py
Browse files
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 |
-
|
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
|