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:
- stimstr
Path to the input image sequence or video file (ffmpeg -i input).
- outfilestr
Path (without extension) to write the output movie to; “.ogv” is appended.
- fpsfloat
refresh rate of the stimulus
- sizestr
resolution of the movie out