Flag

public struct Flag : OptionSet

Flags used by flags.

  • Muxer will use avio_open, no opened file should be provided by the caller.

    Declaration

    Swift

    public static let noFile: AVOutputFormat.Flag
  • Needs ‘%d’ in filename.

    Declaration

    Swift

    public static let needNumber: AVOutputFormat.Flag
  • Format wants global header.

    Declaration

    Swift

    public static let globalHeader: AVOutputFormat.Flag
  • Format does not need / have any timestamps.

    Declaration

    Swift

    public static let noTimestamps: AVOutputFormat.Flag
  • Format allows variable fps.

    Declaration

    Swift

    public static let variableFPS: AVOutputFormat.Flag
  • Format does not need width/height.

    Declaration

    Swift

    public static let noDimensions: AVOutputFormat.Flag
  • Format does not require any streams.

    Declaration

    Swift

    public static let noStreams: AVOutputFormat.Flag
  • Format allows flushing. If not set, the muxer will not receive a NULL packet in the write_packet function.

    Declaration

    Swift

    public static let allowFlush: AVOutputFormat.Flag
  • Format does not require strictly increasing timestamps, but they must still be monotonic.

    Declaration

    Swift

    public static let tsNonstrict: AVOutputFormat.Flag
  • Format allows muxing negative timestamps. If not set the timestamp will be shifted in writeFrame and interleavedWriteFrame so they start from 0. The user or muxer can override this through AVFormatContext.avoid_negative_ts.

    Declaration

    Swift

    public static let tsNegative: AVOutputFormat.Flag
  • Declaration

    Swift

    public let rawValue: Int32
  • Declaration

    Swift

    public init(rawValue: Int32)
  • Declaration

    Swift

    public var description: String { get }