|
OpenShot Library | libopenshot
0.7.0
|
Go to the documentation of this file.
13 #ifndef OPENSHOT_AUDIO_VISUALIZATION_EFFECT_H
14 #define OPENSHOT_AUDIO_VISUALIZATION_EFFECT_H
17 #include "../EffectBase.h"
20 #include "../KeyFrame.h"
69 void init_effect_details();
89 std::shared_ptr<openshot::Frame>
GetFrame(int64_t frame_number)
override {
return GetFrame(std::make_shared<openshot::Frame>(), frame_number); }
90 std::shared_ptr<openshot::Frame>
GetFrame(std::shared_ptr<openshot::Frame> frame, int64_t frame_number)
override;
92 std::string
Json()
const override;
93 void SetJson(
const std::string value)
override;
96 std::string
PropertiesJSON(int64_t requested_frame)
const override;
Json::Value JsonValue() const override
Generate Json::Value for this object.
@ AUDIO_VISUALIZATION_STYLE_MINIMAL
This abstract class is the base class, used by all effects in libopenshot.
void SetJson(const std::string value) override
Load JSON string into this object.
@ AUDIO_VISUALIZATION_RADIAL
This namespace is the default namespace for all code in the openshot library.
AudioVisualizationColorMode
@ AUDIO_VISUALIZATION_SPECTRUM
AudioVisualizationChannelLayout
std::shared_ptr< openshot::Frame > GetFrame(int64_t frame_number) override
This method is required for all derived classes of ClipBase, and returns a new openshot::Frame object...
@ AUDIO_VISUALIZATION_BARS
@ AUDIO_VISUALIZATION_STYLE_CLEAN
@ AUDIO_VISUALIZATION_PARTICLES
@ AUDIO_VISUALIZATION_BACKGROUND_SOLID
@ AUDIO_VISUALIZATION_CHANNEL_OVERLAY
@ AUDIO_VISUALIZATION_PHASE_SCOPE
This class represents a color (used on the timeline and clips)
@ AUDIO_VISUALIZATION_BACKGROUND_TRANSPARENT
std::string Json() const override
Generate JSON string of this object.
AudioVisualizationBackground
A Keyframe is a collection of Point instances, which is used to vary a number or property over time.
@ AUDIO_VISUALIZATION_VU_METER
@ AUDIO_VISUALIZATION_BACKGROUND_SOURCE
@ AUDIO_VISUALIZATION_COLOR_RAINBOW
void SetJsonValue(const Json::Value root) override
Load Json::Value into this object.
@ AUDIO_VISUALIZATION_BACKGROUND_FADE
@ AUDIO_VISUALIZATION_RADIAL_BARS
@ AUDIO_VISUALIZATION_COLOR_SEED
@ AUDIO_VISUALIZATION_BACKGROUND_GRADIENT
std::string PropertiesJSON(int64_t requested_frame) const override
@ AUDIO_VISUALIZATION_CHANNEL_AUTO
@ AUDIO_VISUALIZATION_STYLE_SOFT
@ AUDIO_VISUALIZATION_CHANNEL_SPLIT
@ AUDIO_VISUALIZATION_STYLE_NEON
@ AUDIO_VISUALIZATION_WAVEFORM
@ AUDIO_VISUALIZATION_CHANNEL_COMBINED
@ AUDIO_VISUALIZATION_FILLED_WAVEFORM