VideoTrackInfo

Overview

Related Modules:

Format

Description:

Defines video track information.

Since:

1.0

Version:

1.0

Summary

Data Fields

Variable Name

Description

format

CodecFormat 

profile

uint16_t 

width

uint16_t 

height

uint16_t 

fpsNum

uint16_t 

fpsDen

uint16_t 

bitrate

uint32_t 

rotate

uint32_t 

durationMs

int64_t 

Details

Field Documentation

bitrate

  1. uint32_t VideoTrackInfo::bitrate

Description:

<Video bit rate, in bit/s

durationMs

  1. int64_t VideoTrackInfo::durationMs

Description:

Track duration, in milliseconds

format

  1. [CodecFormat]($api-api-SmartVision-Devices-Format.md#gaf7ed135f15d4b218d41705bac0122ba7) VideoTrackInfo::format

Description:

Video encoding format. For details, see CodecFormat.

fpsDen

  1. uint16_t VideoTrackInfo::fpsDen

Description:

Denominator of the frame rate

fpsNum

  1. uint16_t VideoTrackInfo::fpsNum

Description:

Numerator of the frame rate

height

  1. uint16_t VideoTrackInfo::height

Description:

Height, in pixels

profile

  1. uint16_t VideoTrackInfo::profile

Description:

Profile

rotate

  1. uint32_t VideoTrackInfo::rotate

Description:

Video rotation angle. The value can be 90, 180, or 270. The default value is 0.

width

  1. uint16_t VideoTrackInfo::width

Description:

Width, in pixels