videodata package

Submodules

videodata.video module

videodata.videobuffer module

videodata.videocoords module

videodata.videodataexc module

src.videodata.videodataexc.py

Exceptions for videodata package.

exception videodata.videodataexc.VideoBrowseError(name)[source]

Bases: sppas.src.config.exceptions.sppasIOError

:ERROR 3630:.

Video of file {filename} can’t be read by OpenCV library.

__init__(name)[source]
exception videodata.videodataexc.VideoLockError[source]

Bases: sppas.src.config.exceptions.sppasIOError

:ERROR 3640:.

A video has already locked the video stream.

__init__()[source]
exception videodata.videodataexc.VideoOpenError(name)[source]

Bases: sppas.src.config.exceptions.sppasIOError

:ERROR 3610:.

Video of file {filename} can’t be opened by opencv library.

__init__(name)[source]
exception videodata.videodataexc.VideoWriteError(name)[source]

Bases: sppas.src.config.exceptions.sppasIOError

:ERROR 3620:.

Video of file {filename} can’t be written by opencv library.

__init__(name)[source]

videodata.videoutils module

Module contents

filename

sppas.src.videodata.__init__.py

author

Brigitte Bigi

contact

develop@sppas.org

summary

Package for the management of video files.

videodata: management of video files

Requires the following other internal packages:

  • config

  • utils

  • imgdata

Requires the following other external libraries:

  • opencv

  • numpy

If the video feature is not enabled, the sppasEnableFeatureError() is raised when a class is instantiated.

class videodata.sppasCoordsVideoBuffer(*args, **kwargs)[source]

Bases: videodata.sppasVideodataError

class videodata.sppasCoordsVideoReader(*args, **kwargs)[source]

Bases: videodata.sppasVideoWriter

class videodata.sppasCoordsVideoWriter(*args, **kwargs)[source]

Bases: videodata.sppasVideoWriter

class videodata.sppasImageVideoWriter(*args, **kwargs)[source]

Bases: videodata.sppasVideoWriter

class videodata.sppasVideoReader(*args, **kwargs)[source]

Bases: videodata.sppasVideodataError

class videodata.sppasVideoReaderBuffer(*args, **kwargs)[source]

Bases: videodata.sppasVideodataError

DEFAULT_BUFFER_OVERLAP = 0
DEFAULT_BUFFER_SIZE = 0
MAX_MEMORY_SIZE = 0
class videodata.sppasVideoWriter(*args, **kwargs)[source]

Bases: videodata.sppasVideodataError

FOURCC = {}
MAX_FPS = 0
RESOLUTIONS = {}