MCPcopy
hub / github.com/ladaapp/lada / EncodingPreset

Class EncodingPreset

lada/utils/video_utils.py:274–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272
273@dataclass
274class EncodingPreset:
275 name: str
276 description: str
277 user_preset: bool
278 encoder_name: str
279 encoder_options: str
280
281 def __hash__(self): return hash(self.name)
282
283 def clone(self): return EncodingPreset(**dataclasses.asdict(self))
284
285def get_default_preset_name():
286 if os_utils.has_nvidia_gpu() and is_nvidia_cuda_encoding_available():

Callers 3

get_next_custom_presetFunction · 0.90
cloneMethod · 0.85
get_encoding_presetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected