1. mocha package¶
- class mocha.Settings(override=False, read_overridden=True)¶
Bases: PySide.QtCore.QSettings
- class BooleanSettingAccessor(key, default_value=None, choices=set([]))¶
Bases: mocha.SettingAccessor
- value_types¶
alias of bool
- class Settings.CustomSettingAccessor(custom_getter, custom_setter)¶
Bases: object
- class Settings.FloatSettingAccessor(key, default_value=None, choices=set([]))¶
Bases: mocha.SettingAccessor
- value_types¶
alias of float
- class Settings.IntegerSettingAccessor(key, default_value=None, choices=set([]))¶
Bases: mocha.SettingAccessor
- value_types = (<type 'int'>, <type 'long'>)¶
- class Settings.SettingAccessor(key, default_value=None, choices=set([]))¶
Bases: object
- value_types = None¶
- class Settings.SettingAccessorCoupler(mapper_data)¶
Bases: object
- class Settings.StringSettingAccessor(key, default_value=None, choices=set([]))¶
Bases: mocha.SettingAccessor
- value_types = (<type 'str'>, <type 'unicode'>)¶
- Settings.allKeys()¶
- Settings.childGroups()¶
- Settings.childKeys()¶
- Settings.setValue(key, value)¶
- Settings.value(key, default=None)¶
- mocha.get_mocha_exec_dir()¶
Return the absolute path of the mocha bin directory.
- mocha.get_mocha_exec_name(app=u'mochapro')¶
Parameters: app (str) – application name (without an extension) Return the absolute path of the mocha executable file.
- mocha.run_mocha(app=u'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 http://www.imagineersystems.com/support/documentation/#Command_Line
Keywords mapping:
in_point => --in out_point => --out frame_rate => --frame-rate par => --par interlace_mode => --interlace-mode