components.io.rawfilewriter
- class RawFileWriter(config={}, **kwds)[source]
Bases:
ComponentWrite “raw” Y, YUV, or RGB files.
RawFileWriterhas been superseded byVideoFileWriter2.The
input_Y_RGBinput accepts images with 1 or 3 components as Y or RGB. Theinput_UVinput accepts UV images with 2 components. Thefourccconfig 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
RGBtoYUVandResizecomponents to do that.Config
pathstr
Path name of file to be written.
fourccstr
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.