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);
99 bool LoadStabilizedData(std::string inputFilePath);
102 std::string Json()
const override;
103 void SetJson(
const std::string value)
override;
104 Json::Value JsonValue()
const override;
105 void SetJsonValue(
const Json::Value root)
override;
109 std::string PropertiesJSON(int64_t requested_frame)
const override;
This abstract class is the base class, used by all effects in libopenshot.
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, EffectTransformParam > transformationData
Header file for the Keyframe class.
std::map< size_t, EffectCamTrajectory > trajectoryData
Header file for JSON class.
EffectCamTrajectory(double _x, double _y, double _a)
This namespace is the default namespace for all code in the openshot library.
Header file for EffectBase class.
This class stabilizes a video clip to remove undesired shaking and jitter.
A Keyframe is a collection of Point instances, which is used to vary a number or property over time...