CBLVideoMetadata
Objective-C
@protocol CBLVideoMetadata <NSObject>
Swift
protocol VideoMetadata : NSObjectProtocol
An object containing video-specific metadata.
-
The frame size of the video, in pixels. Will be
CGSizeZeroif unknown.Declaration
Objective-C
@property (nonatomic, readonly) CGSize frameSize;Swift
var frameSize: CGSize { get } -
The frame rate of the video. Will be
0.0if unknown.Declaration
Objective-C
@property (nonatomic, readonly) double frameRate;Swift
var frameRate: Double { get } -
The duration of the video, in seconds. Will be
0.0if unknown.Declaration
Objective-C
@property (nonatomic, readonly) NSTimeInterval duration;Swift
var duration: TimeInterval { get } -
The codec of the video, if known. This value is a “FourCC” code, compatible with the
FourCharCodeandCMVideoCodecTypetypes in CoreMedia. SeeCMFormatDescription.hfor possible values.Will be
0x0if unknown.Declaration
Objective-C
@property (nonatomic, readonly) uint32_t codec;Swift
var codec: UInt32 { get }