summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/nat_vlc/video.py
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/tasks/nat_vlc/video.py')
-rw-r--r--kpov_judge/tasks/nat_vlc/video.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpov_judge/tasks/nat_vlc/video.py b/kpov_judge/tasks/nat_vlc/video.py
index 7593d43..3c21c82 100644
--- a/kpov_judge/tasks/nat_vlc/video.py
+++ b/kpov_judge/tasks/nat_vlc/video.py
@@ -31,7 +31,7 @@ bashCommand = "avconv -i video.mp4 -c:a copy video1.avi"
os.system(bashCommand)
# This loop will increas videos length by adding more picesec of the original video.
-last = input("Set video length in seconds: ")
+last = int(input("Set video length in seconds: "))
bashCommand = "avconv -i concat:video.avi\|video1.avi -c copy video.avi"
for i in range(0, last-2):
os.system(bashCommand)