Skip to content

Commit 3f0ae5b

Browse files
author
Andreas Kugel
committed
update
1 parent 828f04f commit 3f0ae5b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/8-juliaMovie.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,9 @@ def nextJulia(t):
7777

7878
animation = VideoClip(nextJulia, duration=30)
7979
# write the video file
80-
animation.write_videofile("julia.webm",preset="high",fps=25,audio=False)
80+
# webm format generates fairly small file, around 1MB
81+
# with mp4, preset controls quality. default is medium which gives about 1M file size
82+
# at low quality. Veryslow looks much better, but increases file size to ~30MB
83+
animation.write_videofile("julia.webm", fps=25,audio=False)
84+
#animation.write_videofile("julia.mp4", preset="veryslow",fps=25,audio=False)
85+
# you can also output other formats. See ffmpeg for more infos

0 commit comments

Comments
 (0)