1. mocha package¶
-
class
mocha.
Settings
(override=False, read_overridden=True)¶ Bases:
PySide2.QtCore.QSettings
-
class
BooleanSettingAccessor
(key, default_value=None, choices={})¶ Bases:
mocha.Settings.SettingAccessor
-
value_types
¶ alias of
builtins.bool
-
-
class
CustomSettingAccessor
(custom_getter, custom_setter)¶ Bases:
object
-
class
FloatSettingAccessor
(key, default_value=None, choices={})¶ Bases:
mocha.Settings.SettingAccessor
-
value_types
¶ alias of
builtins.float
-
-
class
IntegerSettingAccessor
(key, default_value=None, choices={})¶ Bases:
mocha.Settings.SettingAccessor
-
value_types
¶ alias of
builtins.int
-
-
class
SettingAccessorCoupler
(mapper_data)¶ Bases:
object
-
class
StringSettingAccessor
(key, default_value=None, choices={})¶ Bases:
mocha.Settings.SettingAccessor
-
value_types
¶ alias of
builtins.str
-
-
absolute_output_dir
¶
-
absolute_output_dir_enabled
¶
-
allKeys
(self) → typing.List[str]¶
-
childGroups
(self) → typing.List[str]¶
-
childKeys
(self) → typing.List[str]¶
-
disable_offscreen_buffers
¶
-
enable_cl_tracker
¶
-
gpu_device
¶
-
output_format
¶
-
relative_output_dir
¶
-
setValue
(self, key: str, value: typing.Any) → None¶
-
undo_history_size
¶
-
use_with_ae
¶
-
value
(self, arg__1: str, defaultValue: typing.Optional[typing.Any] = None, type: typing.Optional[object] = None) → object¶
-
class
-
mocha.
get_mocha_exec_name
(app='mochapro')¶ - Parameters
app (str) – application name (without an extension)
Return the absolute path of the mocha executable file.
-
mocha.
run_mocha
(app='mochapro', footage_path='', **kwargs)¶ - Parameters
app (str) – application name (without an extension)
footage_path (str) – an absolute path to footage file
kwargs – Keyword arguments for command line.
Run mocha application with given command-line arguments
See https://borisfx.com/support/documentation/mocha/#_command_line
Keywords mapping:
in_point => --in out_point => --out frame_rate => --frame-rate par => --par interlace_mode => --interlace-mode