AVFilterLink
public struct AVFilterLink
A link between two filters. This contains pointers to the source and destination filters between which this link exists, and the indexes of the pads involved. In addition, this link also contains the parameters which have been negotiated and agreed upon between the filter, such as image dimensions, format, etc.
-
The source filter.
Declaration
Swift
public var source: AVFilterContext { get }
-
The destination filter.
Declaration
Swift
public var destination: AVFilterContext { get }
-
The filter’s media type.
Declaration
Swift
public var mediaType: AVMediaType { get }
-
Define the timebase used by the PTS of the frames/samples which will pass through this link. During the configuration stage, each filter is supposed to change only the output timebase, while the timebase of the input link is assumed to be an unchangeable property.
Declaration
Swift
public var timebase: AVRational { get }
-
agreed upon pixel format
Declaration
Swift
public var pixelFormat: AVPixelFormat { get }
-
agreed upon image width
Declaration
Swift
public var width: Int { get }
-
agreed upon image height
Declaration
Swift
public var height: Int { get }
-
agreed upon sample aspect ratio
Declaration
Swift
public var sampleAspectRatio: AVRational { get }
-
agreed upon sample format
Declaration
Swift
public var sampleFormat: AVSampleFormat { get }
-
channel layout of current buffer
Declaration
Swift
public var channelLayout: AVChannelLayout { get }
-
samples per second
Declaration
Swift
public var sampleRate: Int { get }