Add GIF Animation Output Option

From a user voice request

Add GIF Animation Output Option

It would be great if Paraview could directly output animations to the GIF format.

Currently, this requires to use ffmpeg and png files.

2 Likes

Hi Mathieu, is it still the case for Paraview 5.13.1. I am using it to output animation files in avi format but dont know whether I am also able to do that as GiF format

Still not supported I’m afraid.

For what it’s worth, I’ve long used a bash script for converting MP4 output from ParaView into GIFs:

#!/bin/bash
ffmpeg -y -i $1  -filter_complex "[0:v] palettegen" palette.png
ffmpeg -y -i $1 -i palette.png -filter_complex "[0:v][1:v] paletteuse" -filter_threads 6 -filter_complex_threads 6 $2
convert_mp4_to_quality_gif.sh /path/to/mp4 /path/to/output/gif

I figure that, whether ParaView supported exporting GIFs directly or not, you still need to render every frame - so might as well get a video output in addition to GIF.