ISCC - Video Processing#
Video handling module
video_meta_extract(fp)
#
Extract metadata from video.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
fp |
str
|
Filepath to video file |
required |
Returns:
Type | Description |
---|---|
dict
|
Metdata mpped to IsccMeta schema |
video_meta_embed(fp, meta)
#
Embed metadata into a copy of the video file.
Supported fields: name, description, meta, creator, license, aquire
Parameters:
Name | Type | Description | Default |
---|---|---|---|
fp |
str
|
Filepath to source video file |
required |
meta |
IsccMeta
|
Metadata to embed into video |
required |
Returns:
Type | Description |
---|---|
str
|
Filepath to new video file with updated metadata |
video_thumbnail(fp)
#
Create a thumbnail for a video.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
fp |
str
|
Filepath to video file. |
required |
Returns:
Type | Description |
---|---|
bytes
|
Raw PNG byte data |
video_features_extract(fp)
#
Extract video features.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
fp |
str
|
Filepath to video file. |
required |
Returns:
Type | Description |
---|---|
Sequence[Tuple[int, ...]]
|
A sequence of frame signatures. |
video_mp7sig_extract(fp)
#
Extract MPEG-7 Video Signature.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
fp |
str
|
Filepath to video file. |
required |
Returns:
Type | Description |
---|---|
bytes
|
raw signature data |