skvideo.io
.FFmpegWriter
skvideo.io
.FFmpegWriter¶skvideo.io.
FFmpegWriter
(*args, **kwargs)[source]¶Writes frames using FFmpeg
Using FFmpeg 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