Generation/handling of movies (in Unix environment)
How to create a movie from your simulation using ffmpeg
ffmpeg -f image -i <filename>%04d.jpg -g 60 -b:v 4096k -vcodec mpeg4 <outputname>.avi
How to add a watermark to your movie using ffmpeg
ffmpeg -i <input>.mp4 -i <watermark>.png -filter_complex "overlay=180:600" <output>.mp4