Skip to main content

Module video

Module video 

Source
Expand description

Recording the 3D view: numbered PNG frames in recordings/<date-time>/ under the working directory, made into recordings/<date-time>.mp4 by Blender where it is installed. Blender is a big, optional program, so it is looked for, not depended on; without it the frames stay for any other encoder.

Structs§

Encoding
The video being made from a stopped recording; its messages come once Blender is done.
Recording
A recording in progress. Frames are written on a thread of their own, since encoding a PNG takes about as long as drawing a frame; that thread then runs Blender, so the window never waits for either.

Constants§

FPS
Frames per second of real time, in the frames and in the video.

Functions§

now_stamp
“2026-11-13_08-15-30” for now, in UTC: for names of files saved, so that one does not overwrite the last.
picture_saver
What saves a screenshot of the window, cut to area (left, top, width, height in physical pixels: a plot), as the PNG file path, for Screenshot’s observe; what it says (saved, or why not) goes into said.