AVOutputFormat

public struct AVOutputFormat

Undocumented

  • Find AVOutputFormat based on the short name of the output format.

    Declaration

    Swift

    public init?(name: String)

    Parameters

    name

    name of the input format

  • A comma separated list of short names for the format.

    Declaration

    Swift

    public var name: String { get }
  • Descriptive name for the format, meant to be more human-readable than name.

    Declaration

    Swift

    public var longName: String { get }
  • If extensions are defined, then no probe is done. You should usually not use extension format guessing because it is not reliable enough.

    Declaration

    Swift

    public var extensions: String? { get }
  • Comma-separated list of mime types.

    Declaration

    Swift

    public var mimeType: String? { get }
  • The default audio codec of the muxer.

    Declaration

    Swift

    public var audioCodec: AVCodecID { get }
  • The default video codec of the muxer.

    Declaration

    Swift

    public var videoCodec: AVCodecID { get }
  • The default subtitle codec of the muxer.

    Declaration

    Swift

    public var subtitleCodec: AVCodecID { get }
  • Undocumented

    Declaration

    Swift

    public var flags: Flag { get set }
  • AVClass for the private context.

    Declaration

    Swift

    public var privClass: AVClass? { get }
  • Get all registered muxers.

    Declaration

    Swift

    public static var supportedFormats: [AVOutputFormat] { get }
  • Flags used by flags.

    See more

    Declaration

    Swift

    public struct Flag : OptionSet
  • Undocumented

    Declaration

    Swift

    public func withUnsafeObjectPointer<T>(_ body: (UnsafeMutableRawPointer) throws -> T) rethrows -> T