Types
Codec
Bases: Settings
, Protocol
Codec specify the behavior of video compression formats.
__contains__(codec)
Check if the available codecs contain the specified codec. This method can be useful to avoid re-encoding by checking if a codec match exists allowing for a direct copy operation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
codec |
str
|
The name of the codec to match |
required |
Returns:
Type | Description |
---|---|
bool
|
True if match else False |
Source code in nucleus/sdk/processing/video/types.py
9 10 11 12 13 14 15 16 17 |
|