OpenShot Library | libopenshot
0.4.0
|
Go to the documentation of this file.
14 #ifndef OPENSHOT_STABILIZER_EFFECT_H
15 #define OPENSHOT_STABILIZER_EFFECT_H
70 void init_effect_details();
71 std::string protobuf_data_path;
92 std::shared_ptr<Frame>
GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number)
override;
94 std::shared_ptr<openshot::Frame>
GetFrame(int64_t frame_number)
override {
95 return GetFrame(std::make_shared<openshot::Frame>(), frame_number);
102 std::string
Json()
const override;
103 void SetJson(
const std::string value)
override;
109 std::string
PropertiesJSON(int64_t requested_frame)
const override;
EffectCamTrajectory(double _x, double _y, double _a)
This abstract class is the base class, used by all effects in libopenshot.
void SetJsonValue(const Json::Value root) override
Load Json::Value into this object.
std::string Json() const override
Generate JSON string of this object.
This class stabilizes a video clip to remove undesired shaking and jitter.
This namespace is the default namespace for all code in the openshot library.
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...
std::map< size_t, EffectCamTrajectory > trajectoryData
Header file for EffectBase class.
std::string PropertiesJSON(int64_t requested_frame) const override
Header file for the Keyframe class.
bool LoadStabilizedData(std::string inputFilePath)
Load protobuf data file.
A Keyframe is a collection of Point instances, which is used to vary a number or property over time.
std::map< size_t, EffectTransformParam > transformationData
Json::Value JsonValue() const override
Generate Json::Value for this object.
void SetJson(const std::string value) override
Load JSON string into this object.
std::shared_ptr< Frame > GetFrame(std::shared_ptr< Frame > frame, int64_t frame_number) override
This method is required for all derived classes of EffectBase, and returns a modified openshot::Frame...
Header file for JSON class.