Flag2

public struct Flag2 : OptionSet

Encoding support

These flags can be passed in AVCodecContext.flags2 before initialization.

  • Allow non spec compliant speedup tricks.

    Declaration

    Swift

    public static let fast: AVCodecContext.Flag2
  • Skip bitstream encoding.

    Declaration

    Swift

    public static let noOutput: AVCodecContext.Flag2
  • Place global headers at every keyframe instead of in extradata.

    Declaration

    Swift

    public static let localHeader: AVCodecContext.Flag2
  • Input bitstream might be truncated at a packet boundaries instead of only at frame boundaries.

    Declaration

    Swift

    public static let chunks: AVCodecContext.Flag2
  • Discard cropping information from SPS.

    Declaration

    Swift

    public static let ignoreCrop: AVCodecContext.Flag2
  • Show all frames before the first keyframe.

    Declaration

    Swift

    public static let showAll: AVCodecContext.Flag2
  • Export motion vectors through frame side data.

    Declaration

    Swift

    public static let exportMVS: AVCodecContext.Flag2
  • Do not skip samples and export skip information as frame side data.

    Declaration

    Swift

    public static let skipManual: AVCodecContext.Flag2
  • Do not reset ASS ReadOrder field on flush (subtitles decoding).

    Declaration

    Swift

    public static let roFlushNoop: AVCodecContext.Flag2
  • Declaration

    Swift

    public let rawValue: Int32
  • Declaration

    Swift

    public init(rawValue: Int32)
  • Declaration

    Swift

    public var description: String { get }