imageio.plugins.pyav.PyAVPlugin.write_frame
- PyAVPlugin.write_frame(frame: ndarray, *, pixel_format: str = 'rgb24') → None
Add a frame to the video stream.
This function appends a new frame to the video. It assumes that the stream previously has been initialized. I.e.,
init_video_streamhas to be called before calling this function for the write to succeed.- Parameters