Inherits from | |
Conforms to | |
Framework | /System/Library/Frameworks/QTKit.framework |
Availability | Available in QuickTime 7.2.1 and later. |
Declared in | QTCompressionOptions.h |
This class represents a set of compression options for a particular type of media. QTCompressionOptions
objects are used to describe compression options for different kinds of media. Compression options are created from presets keyed by a named identifier. Preset identifiers are described in the Constants section that describes the Compression Options Identifiers.
– mediaType
– localizedDisplayName
– localizedCompressionOptionsSummary
– isEqualToCompressionOptions:
Returns all of the possible identifiers for the given media type that can be used with compressionOptionsWithIdentifier:
on the user’s system.
+ (NSArray *)compressionOptionsIdentifiersForMediaType:(NSString *)mediaType
A media type used to create compression options.
An array of strings that can be used to create compression options with the compressionOptionsWithIdentifier:
method.
Media types are defined in QTMedia.h
.
QTCompressionOptions.h
Returns a compression options object configured for the given identifier.
+ (id)compressionOptionsWithIdentifier:(NSString *)identifier
The identifier for the compression options object.
A compression options object with the appropriate compression options.
QTCompressionOptions.h
Returns whether the receiver contains options identical to those in the given compression options object.
- (BOOL)isEqualToCompressionOptions:(QTCompressionOptions *)compressionOptions
The compression options of the compression options object.
QTCompressionOptions.h
A localized summary of the receiver’s compression options.
- (NSString *)localizedCompressionOptionsSummary
A localized string summarizing the receiver's compression options.
QTCompressionOptions.h
A short localized name describing the receiver’s compression options.
- (NSString *)localizedDisplayName
A localized string appropriate for display in the user interface (in a list of compression options, for example).
QTCompressionOptions.h
The media type on which the receiver’s compression options should be used.
- (NSString *)mediaType
A QuickTime media type, such as QTMediaTypeVideo
or QTMediaTypeSound
.
QTCompressionOptions.h
These identifiers can be passed to the compressionOptionsWithIdentifier:
class method to get an instance configured with the compression options for that identifier. Each identifier represents a set of options that determine how media will be compressed.
QTCompressionOptionsLosslessAppleIntermediateVideo; QTCompressionOptionsLosslessAnimationVideo; QTCompressionOptions120SizeH264Video; QTCompressionOptions240SizeH264Video; QTCompressionOptionsSD480SizeH264Video; QTCompressionOptions120SizeMPEG4Video; QTCompressionOptions240SizeMPEG4Video; QTCompressionOptionsSD480SizeMPEG4Video; QTCompressionOptionsLosslessALACAudio; QTCompressionOptionsHighQualityAACAudio; QTCompressionOptionsVoiceQualityAACAudio;
QTCompressionOptionsLosslessAppleIntermediateVideo
Compresses video using the Apple Intermediate codec at lossless quality.
This is appropriate for an intermediate format for media that requires further processing.
Not available in 64-bit.
QTCompressionOptionsLosslessAnimationVideo
Compresses video using the Animation codec at highest quality and color depth.
This is appropriate for an intermediate format for media that requires further processing.
QTCompressionOptions120SizeH264Video
Compresses video using the H.264 codec using medium bit-rate settings with dimensions no larger than 160x120.
This is appropriate for delivery to low-bandwidth and low-capacity destinations.
QTCompressionOptions240SizeH264Video
Compresses video using the H.264 codec using medium bit-rate settings with dimensions no larger than 320x240.
This is appropriate for delivery to medium-bandwidth and medium-capacity destinations.
QTCompressionOptionsSD480SizeH264Video
Compresses video using the H.264 codec using medium bit-rate settings with dimensions no larger than 720x480.
This is appropriate for delivery to medium and high-bandwidth and medium- and high-capacity destinations.
QTCompressionOptions120SizeMPEG4Video
Compresses video using the MPEG-4 codec using medium bit-rate settings with dimensions no larger than 160x120.
This is appropriate for delivery to low-bandwidth and low-capacity destinations.
Not available in 64-bit.
QTCompressionOptions240SizeMPEG4Video
Compresses video using the MPEG-4 codec using medium bit-rate settings with dimensions no larger than 320x240.
This is appropriate for delivery to medium-bandwidth and medium-capacity destinations.
Not available in 64-bit.
QTCompressionOptionsSD480SizeMPEG4Video
Compresses video using the MPEG-4 codec using medium bit-rate settings with dimensions no larger than 720x480.
This is appropriate for delivery to medium and high-bandwidth and medium- and high-capacity destinations.
Not available in 64-bit.
QTCompressionOptionsLosslessALACAudio
Compresses audio using the Apple Lossless codec.
This is appropriate for an intermediate format for media that requires further processing.
QTCompressionOptionsHighQualityAACAudio
Compresses audio using the AAC codec at 64 kbps per channel.
This is appropriate for delivery of high-quality music and other audio.
QTCompressionOptionsVoiceQualityAACAudio
Compresses audio using the AAC codec at 32 kbps per channel.
This is appropriate for delivery of voice recordings.
© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-04-08)