VideoProfileLevelColor

sealed class VideoProfileLevelColor(val profile: Int, val level: Int, val colorStandard: Int, val dynamicRangeProfile: DynamicRangeProfile)

Video profile level with color information.

Constructors

Link copied to clipboard
protected constructor(profile: Int, level: Int, colorStandard: Int, dynamicRangeProfile: DynamicRangeProfile)

Types

Link copied to clipboard
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

The dynamic range profile. It is deduced from the profile. See Also: DynamicRangeProfiles

Link copied to clipboard
val isHdr: <Error class: unknown class>

Whether the configuration is HDR or not.

Link copied to clipboard
val level: Int

Video encoder level. Encoders may not support requested level. In this case, StreamPack fallbacks to default level. ** See ** MediaCodecInfo.CodecProfileLevel

Link copied to clipboard

Video encoder profile. Encoders may not support requested profile. In this case, StreamPack fallbacks to default profile. If not set, profile is always a 8 bit profile. StreamPack try to apply the highest profile available. If the decoder does not support the profile, you should explicitly set the profile to a lower value such as AVCProfileBaseline for AVC, HEVCProfileMain for HEVC, VP9Profile0 for VP9. ** See ** MediaCodecInfo.CodecProfileLevel