constants
Contains constants used throughout the library and version information.
SUPPORTED_VIDEO_FORMATS
module-attribute
SUPPORTED_VIDEO_FORMATS = {'3gp', 'asf', 'avi', 'divx', 'flv', 'm4v', 'mkv', 'mov', 'mp4', 'mpeg', 'mpg', 'ogv', 'rm', 'ts', 'vob', 'webm', 'wmv'}
SUPPORTED_IMAGE_FORMATS
module-attribute
ROTATION_MAP
module-attribute
ROTATION_MAP = {90: cv2.ROTATE_90_CLOCKWISE, 180: cv2.ROTATE_180, 270: cv2.ROTATE_90_COUNTERCLOCKWISE}
ExtractionMethod
Bases: Enum
Enumeration of the supported extraction methods: audio, clip, frames, gif.
Attributes:
`AUDIO` (str):
Extract the audio from a video file.
`CLIP` (str):
Extract a clip from a video file.
`FRAMES` (str):
Extract frames from a video file.
`GIF` (str):
Create a GIF from a video file.