cortex.utils.make_movie

cortex.utils.make_movie(stim, outfile, fps=15, size='640x480')[source]

Makes an .ogv movie

A simple wrapper for ffmpeg. Calls: “ffmpeg -r {fps} -i {infile} -b 4800k -g 30 -s {size} -vcodec libtheora {outfile}.ogv”

Parameters:
stim
outfilestr
fpsfloat

refresh rate of the stimulus

sizestr

resolution of the movie out

Returns: