Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -92,10 +92,9 @@ def merge_audio_video(entities_num, resize_img_list, text_input):
|
|
92 |
#videoclip.ipython_display()
|
93 |
|
94 |
#Getting size and frame count of merged video file
|
95 |
-
video = cv2.VideoCapture(mergedclip)
|
96 |
print('Getting size and frame count of merged video file')
|
97 |
-
duration =
|
98 |
-
frame_count =
|
99 |
print('duration is:',duration)
|
100 |
print('frame count :', frame_count)
|
101 |
|
|
|
92 |
#videoclip.ipython_display()
|
93 |
|
94 |
#Getting size and frame count of merged video file
|
|
|
95 |
print('Getting size and frame count of merged video file')
|
96 |
+
duration = mergedclip.duration
|
97 |
+
frame_count = mergedclip.fps
|
98 |
print('duration is:',duration)
|
99 |
print('frame count :', frame_count)
|
100 |
|