CBLVideoFormatCompressionLevel
Objective-C
enum CBLVideoFormatCompressionLevel : NSInteger {}
Swift
enum VideoFormatCompressionLevel : Int, @unchecked Sendable
Values representing the level of video compression for a CBLVideoFormatPropertyValue
value. In general,
higher values have more compression (i.e., smaller file sizes).
-
The compression level is unavailable.
Declaration
Objective-C
CBLVideoFormatCompressionLevelUnknown = 0
Swift
case unknown = 0
-
The video is being compressed with a raw codec.
Declaration
Objective-C
CBLVideoFormatCompressionLevelRaw = 1
Swift
case raw = 1
-
The video is being compressed using a codec that’s effectively lossless, such as ProRes.
Declaration
Objective-C
CBLVideoFormatCompressionLevelEffectivelyLossless = 2
Swift
case effectivelyLossless = 2
-
The video is being compressed using a codec designed for editing. This includes codecs like MJPEG, as well as h264/h265 in ALL-I/XAVC S-I mode.
Declaration
Objective-C
CBLVideoFormatCompressionLevelForEditing = 3
Swift
case forEditing = 3
-
The video is being compressed using a codec designed for playback. This includes h264/h265 in Long GOP/IPB/ IPB Standard/XAVC S/XAVC HS mode.
Declaration
Objective-C
CBLVideoFormatCompressionLevelNormal = 4
Swift
case normal = 4
-
The video is being compressed using a codec designed for smaller file sizes. This includes h264/264 in IPB Light/XAVC L mode.
Declaration
Objective-C
CBLVideoFormatCompressionLevelHigh = 5
Swift
case high = 5