Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def chamada():
|
|
55 |
width = vcap.get(3) # float `width`
|
56 |
height = vcap.get(4) # float `height`
|
57 |
fps = vcap.get(5)
|
58 |
-
os.system("ffmpeg -i inputvideo -compression_level 10 -pred mixed -pix_fmt rgb24 -sws_flags +accurate_rnd+full_chroma_int -s "+str(width)+"x"+str(height)+" -r "+fps+" ./_input/imagem-%4d.png")
|
59 |
percent_complete= percent_complete+ 30
|
60 |
with col1:
|
61 |
my_bar.progress(percent_complete )
|
|
|
55 |
width = vcap.get(3) # float `width`
|
56 |
height = vcap.get(4) # float `height`
|
57 |
fps = vcap.get(5)
|
58 |
+
os.system("ffmpeg -i inputvideo -compression_level 10 -pred mixed -pix_fmt rgb24 -sws_flags +accurate_rnd+full_chroma_int -s "+str(int(width))+"x"+str(int(height))+" -r "+str(int(fps))+" ./_input/imagem-%4d.png")
|
59 |
percent_complete= percent_complete+ 30
|
60 |
with col1:
|
61 |
my_bar.progress(percent_complete )
|