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.
ProfileInfo info
Profile data stored here.
string description
The description of this profile.
Header file for all Exception classes.
Header file for JSON class.
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.
This class loads a special text-based file called a Profile.
This struct holds profile data, typically loaded from a file.
int width
The width of the video (in pixels)
Fraction fps
Frames per second, as a fraction (i.e. 24/1 = 24 fps)
int pixel_format
The pixel format (i.e. YUV420P, RGB24, etc...)
int height
The height of the video (in pixels)
This namespace is the default namespace for all code in the openshot library.
Fraction display_ratio
The ratio of width to height of the video stream (i.e. 640x480 has a ratio of 4/3) ...