Spaces:
Runtime error
Runtime error
Commit
·
4414403
1
Parent(s):
3b87d0d
1 thread seems good there
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def write_video_av(file_name, images, fps=17):
|
|
58 |
|
59 |
stream = container.add_stream("h264", rate=fps)
|
60 |
# stream.options = {'preset': 'faster'}
|
61 |
-
stream.thread_count =
|
62 |
stream.width = 512
|
63 |
stream.height = 512
|
64 |
stream.pix_fmt = "yuv420p"
|
|
|
58 |
|
59 |
stream = container.add_stream("h264", rate=fps)
|
60 |
# stream.options = {'preset': 'faster'}
|
61 |
+
stream.thread_count = 0
|
62 |
stream.width = 512
|
63 |
stream.height = 512
|
64 |
stream.pix_fmt = "yuv420p"
|