-
Initialize capabilities probing API based on
AVOption
API.Throws
AVErrorDeclaration
Swift
public init(formatContext: AVFormatContext, options: [String: String]? = nil) throws
Parameters
formatContext
Context of the device.
options
An dictionary filled with device-private options. The same options must be passed later to
AVFormatContext.writeHeader(options:)
for output devices orAVFormatContext.openInput(_:format:options:)
for input devices, or at any other place that affects device-private options. -
Undocumented
Declaration
Swift
public var codec: AVCodecID { get }
-
Undocumented
Declaration
Swift
public var sampleFormat: AVCodecID { get }
-
Undocumented
Declaration
Swift
public var sampleRate: Int { get }
-
Undocumented
Declaration
Swift
public var channelCount: Int { get }
-
Undocumented
Declaration
Swift
public var channelLayout: AVChannelLayout { get }
-
Undocumented
Declaration
Swift
public var pixelFormat: AVCodecID { get }
-
Undocumented
Declaration
Swift
public var windowWidth: Int { get }
-
Undocumented
Declaration
Swift
public var windowHeight: Int { get }
-
Undocumented
Declaration
Swift
public var frameWidth: Int { get }
-
Undocumented
Declaration
Swift
public var frameHeight: Int { get }
-
Undocumented
Declaration
Swift
public var fps: AVRational { get }