-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Reduce GPU resolution
To reduce the GPU resolution during rendering, you can adjust the parameters passed to the AnimatedFunctionRenderer((Parameters(1024, 1024, 30))) eg: 1024 to 512
Render the frames
-
Install
ffmpegif you haven't already. here -
Render to MP4:
Navigate to the directory where your frames are stored and run
ffmpeg -framerate 30 -i frame%02d.png -vf "scale=540:540" -c:v libx264 -pix_fmt yuv420p output_video.mp4 -
Render to GIF:
Convert the MP4 file
ffmpeg -t 3 -i output_video.mp4 -vf "fps=30,scale=720:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output_git.gif
Metadata
Metadata
Assignees
Labels
No labels