Open Broadcaster Software
Free, open source software for live streaming and recording
obs_source_frame Struct Reference

Data Fields

uint8_tdata [MAX_AV_PLANES]
 
uint32_t linesize [MAX_AV_PLANES]
 
uint32_t width
 
uint32_t height
 
uint64_t timestamp
 
enum video_format format
 
float color_matrix [16]
 
bool full_range
 
float color_range_min [3]
 
float color_range_max [3]
 
bool flip
 
volatile long refs
 
bool prev_frame
 

Detailed Description

Source asynchronous video output structure. Used with obs_source_output_video to output asynchronous video. Video is buffered as necessary to play according to timestamps. When used with audio output, audio is synced to video as it is played.

If a YUV format is specified, it will be automatically upsampled and converted to RGB via shader on the graphics processor.

Field Documentation

§ color_matrix

float obs_source_frame::color_matrix[16]

§ color_range_max

float obs_source_frame::color_range_max[3]

§ color_range_min

float obs_source_frame::color_range_min[3]

§ data

uint8_t* obs_source_frame::data[MAX_AV_PLANES]

§ flip

bool obs_source_frame::flip

§ format

enum video_format obs_source_frame::format

§ full_range

bool obs_source_frame::full_range

§ height

uint32_t obs_source_frame::height

§ linesize

uint32_t obs_source_frame::linesize[MAX_AV_PLANES]

§ prev_frame

bool obs_source_frame::prev_frame

§ refs

volatile long obs_source_frame::refs

§ timestamp

uint64_t obs_source_frame::timestamp

§ width

uint32_t obs_source_frame::width

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