VideoToolbox Namespace

Low-level video toolkit stack, includes access to hardware video encoding and decoding.

Remarks

Use VideoToolbox to create your own video encoding or decoding applications: Use VideoToolbox.VTCompressionSession to compress frames and VideoToolbox.VTDecompressionSession to decompress frames.

Take advantage of the strongly typed dictionaries like VideoToolbox.VTCompressionProperties and VideoToolbox.VTDecompressionProperties to set your compression an decompression settings.

VideoTimeline Sample

Classes

TypeReason
VTColorPrimariesRepresents color primaries in compressed sample buffers
VTCompressionPropertiesStrongly typed set of options for compression sessions
VTCompressionPropertyKeyA class that encapsulates keys necessary for compression sessions. Used by VideoToolbox.VTCompressionProperties
VTCompressionSessionTurns uncompressed frames into compressed video frames
VTCompressionSession+VTCompressionOutputCallbackHandler prototype to be called for each compressed frame
VTCompressionSessionOptionFlagsFlags to control encoder in multi pass compression sessions
VTDataRateLimitStrongly typed representation of bytes and seconds used in VideoToolbox.VTCompressionProperties.DataRateLimits.
VTDecodeFrameFlagsFlags to control encoder in a decompression session
VTDecodeInfoFlagsFlags for status reporting in decoding sessions.
VTDecompressionPropertiesStrongly typed set of options for decompression sessions.
VTDecompressionPropertyKeyA class that encapsulates keys necessary for decompression sessions. Used by VideoToolbox.VTDecompressionProperties
VTDecompressionResolutionKeysA class that encapsulates keys necessary by VideoToolbox.VTEncodeFrameOptions.
VTDecompressionResolutionOptionsStrongly typed set of options used by VideoToolbox.VTDecompressionProperties.ReducedResolutionDecode.
VTDecompressionSessionTurns compressed frames into uncompressed video frames.
VTDecompressionSession+VTDecompressionOutputCallbackHandler prototype to be called for each decompressed frame.
VTDeinterlaceModeDeinterlacing techniques.
VTEncodeFrameOptionKeyA class that encapsulates keys necessary by VideoToolbox.VTEncodeFrameOptions
VTEncodeFrameOptionsStrongly typed set of options.
VTEncodeInfoFlagsEncoding status flags.
VTFieldCountFrame encoding options.
VTFieldDetailField ordering options.
VTFieldModeDecoder field mode options.
VTFrameSiloSample buffers storage object, used in conjuction of a multi pass compression session
VTH264EntropyModeStrongly typed set of options used by VideoToolbox.VTCompressionProperties.H264EntropyMode.
VTH264EntropyModeKeysA class that encapsulates keys necessary by VideoToolbox.VTH264EntropyMode.
VTMultiPassStorageClass that provides a storage for encoding metadata.
VTMultiPassStorageCreationOptionKeysA class that encapsulates keys necessary by VideoToolbox.VTMultiPassStorageCreationOptions
VTMultiPassStorageCreationOptionsStrongly typed set of options.
VTOnlyTheseFramesStrongly typed set of options used by VideoToolbox.VTDecompressionProperties.OnlyTheseFrames.
VTProfileLevelStrongly typed set of options used by VideoToolbox.VTCompressionProperties.ProfileLevel.
VTProfileLevelKeysA class that encapsulates keys necessary by VideoToolbox.VTProfileLevel.
VTPropertyKeysA class that encapsulates keys necessary by VideoToolbox.VTPropertyOptions.
VTPropertyOptionsStrongly typed set of options.
VTPropertyReadWriteStatusKeysA class that encapsulates keys necessary by VideoToolbox.VTPropertyOptions.ReadWriteStatus.
VTPropertyTypeStrongly typed set of options.
VTPropertyTypeKeysA class that encapsulates keys necessary by VideoToolbox.VTPropertyType.
VTReadWriteStatusStrongly typed set of options used by VideoToolbox.VTPropertyOptions.ReadWriteStatus.
VTSessionBase class of VideoToolbox.VTCompressionSession and VideoToolbox.VTDecompressionSession.
VTStatusPossible VideoToolbox API errors.
VTTransferFunctionStrongly typed set of options used by VideoToolbox.VTCompressionProperties.TransferFunction.
VTVideoDecoderSpecificationStrongly typed set of options.
VTVideoDecoderSpecificationKeysA class that encapsulates keys necessary by VideoToolbox.VTVideoDecoderSpecification.
VTVideoEncoderClass to fetch available encoders
VTVideoEncoderSpecificationStrongly typed representation of a video encoder.
VTVideoEncoderSpecificationKeysA class that encapsulates keys necessary by VideoToolbox.VTVideoEncoderSpecification.
VTYCbCrMatrixColorimetry for compressed content.