OpenShot Library | libopenshot 0.5.0
Loading...
Searching...
No Matches
openshot::ProfileInfo Struct Reference

This struct holds profile data, typically loaded from a file. More...

#include <Profiles.h>

Public Attributes

std::string description
 The description of this profile.
Fraction display_ratio
 The ratio of width to height of the video stream (i.e. 640x480 has a ratio of 4/3).
Fraction fps
 Frames per second, as a fraction (i.e. 24/1 = 24 fps).
int height
 The height of the video (in pixels).
bool interlaced_frame
 Are the contents of this frame interlaced.
int pixel_format
 The pixel format (i.e. YUV420P, RGB24, etc...).
Fraction pixel_ratio
 The pixel ratio of the video stream as a fraction (i.e. some pixels are not square).
bool spherical
 Is this video a spherical/360° video.
int width
 The width of the video (in pixels).

Detailed Description

This struct holds profile data, typically loaded from a file.

Profile data contains common settings for Writers, such as frame rate, aspect ratios, width, and height combinations.

Definition at line 38 of file Profiles.h.

Member Data Documentation

◆ description

std::string openshot::ProfileInfo::description

The description of this profile.

Definition at line 40 of file Profiles.h.

◆ display_ratio

Fraction openshot::ProfileInfo::display_ratio

The ratio of width to height of the video stream (i.e. 640x480 has a ratio of 4/3).

Definition at line 46 of file Profiles.h.

Referenced by openshot::Profile::operator<, openshot::Profile::operator==, and openshot::Profile::operator>.

◆ fps

Fraction openshot::ProfileInfo::fps

Frames per second, as a fraction (i.e. 24/1 = 24 fps).

Definition at line 44 of file Profiles.h.

Referenced by openshot::Profile::operator<, openshot::Profile::operator==, and openshot::Profile::operator>.

◆ height

int openshot::ProfileInfo::height

The height of the video (in pixels).

Definition at line 41 of file Profiles.h.

Referenced by openshot::Profile::operator<, openshot::Profile::operator==, and openshot::Profile::operator>.

◆ interlaced_frame

bool openshot::ProfileInfo::interlaced_frame

Are the contents of this frame interlaced.

Definition at line 47 of file Profiles.h.

Referenced by openshot::Profile::operator==.

◆ pixel_format

int openshot::ProfileInfo::pixel_format

The pixel format (i.e. YUV420P, RGB24, etc...).

Definition at line 43 of file Profiles.h.

◆ pixel_ratio

Fraction openshot::ProfileInfo::pixel_ratio

The pixel ratio of the video stream as a fraction (i.e. some pixels are not square).

Definition at line 45 of file Profiles.h.

◆ spherical

bool openshot::ProfileInfo::spherical

Is this video a spherical/360° video.

Definition at line 48 of file Profiles.h.

Referenced by openshot::Profile::operator==.

◆ width

int openshot::ProfileInfo::width

The width of the video (in pixels).

Definition at line 42 of file Profiles.h.

Referenced by openshot::Profile::operator<, openshot::Profile::operator==, and openshot::Profile::operator>.


The documentation for this struct was generated from the following file: