Some months ago it was asked in this list how to make a Movie of he process of the inflation of the brain.
Some hints:
Create this tcl script and name it as script.tcl:
for {set x 0} {$x<120} {incr x} {
set r [expr (round(1.2*$x + 3))]
shrink $r
redraw
save_tiff ${x}-img.tif
}
exit
Then use the commands:
tksurfer bert lh pial -annotation aparc.annot -tcl script.tcl
ffmpeg -r 15 -b 2500 -sameq -i %d-img.tif videoOutput.mp4
You can check the results at: