Monday, August 12, 2019

creating animated gif or video from Octave

My Octave install does not have the campos function, but the latest version seems to have it. So, this could be useful in the future.

This post has some good guidelines - using
set(0, 'defaultfigurevisible', 'off');
to speed up things, and using print to save as png. Then using mencoder etc to create the movie.
 mencoder mf://output/*.png -mf w=640:h=480:fps=25:type=png -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o output.avi

No comments:

Post a Comment