increase fps
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def extract_waveform_animation(audio_file, window_seconds=5):
|
|
43 |
init_func=init, interval=7, blit=False)
|
44 |
|
45 |
with tempfile.NamedTemporaryFile(delete=False, suffix='.mp4') as tmpfile:
|
46 |
-
ani.save(tmpfile.name, writer='ffmpeg', fps=
|
47 |
video_path = tmpfile.name
|
48 |
|
49 |
return video_path
|
|
|
43 |
init_func=init, interval=7, blit=False)
|
44 |
|
45 |
with tempfile.NamedTemporaryFile(delete=False, suffix='.mp4') as tmpfile:
|
46 |
+
ani.save(tmpfile.name, writer='ffmpeg', fps=30)
|
47 |
video_path = tmpfile.name
|
48 |
|
49 |
return video_path
|