skvideo.io.vwrite
skvideo.io.vwrite¶Save a video to file entirely from memory.
Video file name.
ndarray of dimension (T, M, N, C), (T, M, N), (M, N, C), or (M, N), where T is the number of frames, M is the height, N is width, and C is number of channels.
Input dictionary parameters, i.e. how to interpret the piped datastream coming from python to the subprocess.
Output dictionary parameters, i.e. how to encode the data to disk.
Program to use for handling video data. Only ‘ffmpeg’ and ‘libav’ are supported at this time.
Setting to 0 (default) disables all debugging output. Setting to 1 enables all debugging output. Useful to see if the backend is behaving properly.
Path to a media file whose audio track should be muxed into the
output, allowing audio to be preserved across a vread /
vwrite round-trip (issues #173, #176). FFmpeg backend only.