skvideo.io.LibAVWriter
skvideo.io.LibAVWriter¶Writes frames using libav
Using libav as a backend, this class provides sane initializations for the default case.
Methods
|
Closes the video and terminates FFmpeg process |
|
Sends ndarray frames to FFmpeg |
Prepares parameters
Does not instantiate the an FFmpeg subprocess, but simply prepares the required parameters.
Video file path for writing
Input dictionary parameters, i.e. how to interpret the data coming from python.
Output dictionary parameters, i.e. how to encode the data when writing to file.
Closes the video and terminates FFmpeg process
Raises RuntimeError if FFmpeg exited with a non-zero return
code, including its stderr output in the exception message (issue
#111). Previously a failing encode produced a silent empty/corrupt
output file with no indication of what went wrong.
Sends ndarray frames to FFmpeg