GstPbutils.AudioVisualizer¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
Virtual Methods¶
- Inherited:
|
|
|
|
|
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Shading color to use (big-endian ARGB) |
||
r/w |
Shader function to apply on each frame |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
ainfo |
r |
||
parent |
r |
||
req_spf |
r |
||
vinfo |
r |
Class Details¶
- class GstPbutils.AudioVisualizer(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
A baseclass for scopes (visualizers). It takes care of re-fitting the audio-rate to video-rate and handles renegotiation (downstream video size changes).
It also provides several background shading effects. These effects are applied to a previous picture before the
render()
implementation can draw a new frame.- do_render(audio, video) virtual¶
- Parameters:
audio (
Gst.Buffer
) –video (
GstVideo.VideoFrame
) –
- Return type:
Property Details¶
- GstPbutils.AudioVisualizer.props.shade_amount¶
-
Shading color to use (big-endian ARGB)
- GstPbutils.AudioVisualizer.props.shader¶
- Name:
shader
- Type:
- Default Value:
- Flags:
Shader function to apply on each frame