components.io.rawfilewriter
- class RawFileWriter(config={}, **kwds)[source]
Bases:
Component
Write “raw” Y, YUV, or RGB files.
RawFileWriter
has been superseded byVideoFileWriter2
.The
input_Y_RGB
input accepts images with 1 or 3 components as Y or RGB. Theinput_UV
input accepts UV images with 2 components. Thefourcc
config specifies how the data is arranged in the file. See the fourcc website for more detail.Note that no RGB<->YUV conversion or resampling is done in this component. Use the
RGBtoYUV
andResize
components to do that.Config
path
str
Path name of file to be written.
fourcc
str
Pixel format. Possible values:
'Y8'
,'Y16'
,'RGB[24]'
,'UYVY'
.- inputs = ['input_Y_RGB', 'input_UV']
Comments or questions? Please email jim@jim-easterbrook.me.uk.