output
Browse files
main.py
CHANGED
@@ -40,7 +40,8 @@ def check_extension(video):
|
|
40 |
file_extension = split_tup[1]
|
41 |
print(file_extension)
|
42 |
|
43 |
-
if file_extension
|
|
|
44 |
clip = moviepy.VideoFileClip(video)
|
45 |
|
46 |
video = file_name+".mp4"
|
|
|
40 |
file_extension = split_tup[1]
|
41 |
print(file_extension)
|
42 |
|
43 |
+
if file_extension != ".mp4":
|
44 |
+
print("Converting to mp4")
|
45 |
clip = moviepy.VideoFileClip(video)
|
46 |
|
47 |
video = file_name+".mp4"
|