class documentation

class GeneratorVideo(AbstractVideo): (source)

View In Hierarchy

A video object with frames yielded by a generator

Method __getitem__ Get a frame from the video
Method __init__ Undocumented
Method __iter__ Undocumented
Method __next__ Undocumented
Property fourcc Get the codec fourcc specification
Property fps Get the video frame rate
Property size Get the resolution of the video
Instance Variable _fourcc Undocumented
Instance Variable _fps Undocumented
Instance Variable _gen Undocumented
Instance Variable _n_frames Undocumented
Instance Variable _size Undocumented

Inherited from AbstractVideo:

Method __len__ Undocumented
Class Variable _index Undocumented
def __getitem__(self, index: Union[int, slice]): (source)
def __init__(self, frames: Generator[PIL.Image.Image, None, None], length, fps: float, fourcc: str = 'mp4v'): (source)

Undocumented

def __iter__(self): (source)

Undocumented

def __next__(self): (source)

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented