skvideo.io
.LibAVWriter
skvideo.io
.LibAVWriter¶skvideo.io.
LibAVWriter
(*args, **kwargs)[source]¶Writes frames using libav
Using libav as a backend, this class provides sane initializations for the default case.
Methods
close () |
Closes the video and terminates FFmpeg process |
writeFrame (im) |
Sends ndarray frames to FFmpeg |
__init__
(*args, **kwargs)[source]¶Prepares parameters
Does not instantiate the an FFmpeg subprocess, but simply prepares the required parameters.
Parameters: | filename : string
inputdict : dict
outputdict : dict
|
---|---|
Returns: | none : |
close
()¶Closes the video and terminates FFmpeg process
writeFrame
(im)¶Sends ndarray frames to FFmpeg