struct Protocol::SystemInfo::VideoEncodeAcceleratorCapability

Overview

Describes a supported video encoding profile with its associated maximum resolution and maximum framerate.

Included Modules

Defined in:

protocol/system_info.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def max_framerate_denominator : Int::Primitive #

[View source]
def max_framerate_numerator : Int::Primitive #

Maximum encoding framerate in frames per second supported for this |profile|, as fraction's numerator and denominator, e.g. 24/1 fps, 24000/1001 fps, etc.


[View source]
def max_resolution : Size #

Maximum video dimensions in pixels supported for this |profile|.


[View source]
def profile : String #

Video codec profile that is supported, e.g H264 Main.


[View source]