OpenShot Library | libopenshot
0.2.2
|
Go to the documentation of this file.
28 #ifndef OPENSHOT_PROFILE_H
29 #define OPENSHOT_PROFILE_H
35 #include <QtCore/qstring.h>
36 #include <QtCore/qstringlist.h>
37 #include <QtCore/qfile.h>
38 #include <QTextStream>
93 Json::Value JsonValue();
94 void SetJson(
string value);
95 void SetJsonValue(Json::Value root);
Header file for Fraction class.
Fraction fps
Frames per second, as a fraction (i.e. 24/1 = 24 fps)
This namespace is the default namespace for all code in the openshot library.
int width
The width of the video (in pixels)
int height
The height of the video (in pixels)
Fraction pixel_ratio
The pixel ratio of the video stream as a fraction (i.e. some pixels are not square)
This class represents a fraction.
int pixel_format
The pixel format (i.e. YUV420P, RGB24, etc...)
This class loads a special text-based file called a Profile.
This struct holds profile data, typically loaded from a file.
Fraction display_ratio
The ratio of width to height of the video stream (i.e. 640x480 has a ratio of 4/3)
ProfileInfo info
Profile data stored here.
string description
The description of this profile.
Header file for JSON class.
Header file for all Exception classes.