Cheese.Effect¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
If the control valve is active, the effect is connected to a video stream |
||
r/w/co |
Name of the effect |
||
r/w/co |
Description of the GStreamer pipeline associated with the effect |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
||
unused |
r |
Class Details¶
- class Cheese.Effect(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Use the accessor functions below.
- classmethod load_effects()¶
- Returns:
a list of
Cheese.Effect
, orNone
if no effects could be found- Return type:
Load effects from standard directories, including the user’s data directory.
- classmethod load_from_file(filename)¶
- Parameters:
filename (
str
) – name of the file containing the effect specification- Returns:
a
Cheese.Effect
, orNone
on error- Return type:
Load effect from file.
- classmethod new(name, pipeline_desc)¶
- Parameters:
- Returns:
a new
Cheese.Effect
- Return type:
Create a new
Cheese.Effect
.
- disable_preview()¶
Disable the preview of a
Cheese.Effect
.
- enable_preview()¶
Enable the preview of a
Cheese.Effect
.
- get_name()¶
- Returns:
the human-readable name of the effect.
- Return type:
Get the human-readable name of the self.
- get_pipeline_desc()¶
- Returns:
the Gstreamer pipeline description of the effect.
- Return type:
Get the Gstreamer pipeline description of the self.
Property Details¶
- Cheese.Effect.props.control_valve¶
- Name:
control-valve
- Type:
- Default Value:
- Flags:
If the control valve is active, then the effect is currently connected to a video stream, for previews.
- Cheese.Effect.props.name¶
- Name:
name
- Type:
- Default Value:
''
- Flags:
Name of the effect, for display in a UI.
- Cheese.Effect.props.pipeline_desc¶
- Name:
pipeline-desc
- Type:
- Default Value:
''
- Flags:
Description of the GStreamer pipeline associated with the effect.