Spaces:
Runtime error
Runtime error
Commit
•
7b39726
1
Parent(s):
c780404
Codec test
Browse files- app.py +6 -1
- static/test.mp4 +0 -0
app.py
CHANGED
@@ -177,7 +177,12 @@ def show_data():
|
|
177 |
|
178 |
def testing():
|
179 |
codec = cv2.VideoWriter_fourcc(*'avc1')
|
180 |
-
cv2.VideoWriter("static/test.mp4", codec, 10, [ int(1.5*100), 100 ] )
|
|
|
|
|
|
|
|
|
|
|
181 |
print("hi")
|
182 |
testing()
|
183 |
|
|
|
177 |
|
178 |
def testing():
|
179 |
codec = cv2.VideoWriter_fourcc(*'avc1')
|
180 |
+
vr = cv2.VideoWriter("static/test.mp4", codec, 10, [ int(1.5*100), 100 ] )
|
181 |
+
print(vr)
|
182 |
+
print("hi")
|
183 |
+
codec = cv2.VideoWriter_fourcc(*'mp4v')
|
184 |
+
vr = cv2.VideoWriter("static/test.mp4", codec, 10, [ int(1.5*100), 100 ] )
|
185 |
+
print(vr)
|
186 |
print("hi")
|
187 |
testing()
|
188 |
|
static/test.mp4
CHANGED
Binary files a/static/test.mp4 and b/static/test.mp4 differ
|
|