components.io.videofilereader
- class VideoFileReader(config={}, **kwds)[source]
Bases:
ComponentRead conventional video files (mp4, flv, AVI, etc.).
VideoFileReaderhas been superseded byVideoFileReader2.This component uses FFmpeg to read video from a wide variety of formats. Make sure you have installed FFmpeg before attempting to use
VideoFileReader.The
zperiodconfig item can be used to adjust the repeat period so it is an integer multiple of a chosen number, e.g. 4 frames for a PAL encoded sequence. It has no effect ifloopingisoff.Config
pathstr
Path name of file to be read.
loopingstr
Whether to play continuously. Can be
'off'or'repeat'.typestr
Output data type. Can be
'RGB'or'Y'.16bitbool
Attempt to get greater precision than normal 8-bit range.
noauditbool
Don’t output file’s “audit trail” metadata.
zperiodint
Adjust repeat period to an integer multiple of
zperiod.
Comments or questions? Please email jim@jim-easterbrook.me.uk.