Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

QTCompressionOptions Reference

Inherits from
Framework
Library/Frameworks/QTKit.framework
Availability
Available in QuickTime 7.2.1 and later.
Declared in
QTCompressionOptions.h

Overview

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.

Tasks

Creating and Configuring Compression Options

Receiving Compression Options

Class Methods

compressionOptionsIdentifiersForMediaType:

An array of identifiers that can be used to create compression options on the user’s computer.

+ (QTCompressionOptions *)compressionOptionsWithIdentifier:(NSString *)identifier

Return Value

An array of strings that can be used to create compression options with compressionOptionsWithIdentifier:.

Availability
Declared In
QTCompressionOptions.h

compressionOptionsWithIdentifier:

A QTCompressionOptions instance configured with the options for the given identifier.

+ (QTCompressionOptions *)compressionOptionsWithIdentifier:(NSString *)identifier

Return Value

A compression options object with the appropriate compression options.

Availability
Declared In
QTCompressionOptions.h

Instance Methods

isEqualToCompressionOptions:

Returns whether the receiver contains options identical to those in the given compression options object.

- (BOOL)isEqualToCompressionOptions:(QTCompressionOptions *)compressionOptions

Availability
Declared In
QTCompressionOptions.h

localizedCompressionOptionsSummary

A localized summary of the receiver’s compression options.

- (NSString *)localizedCompressionOptionsSummary

Return Value

A localized string summarizing the receiver's compression options.

Availability
Declared In
QTCompressionOptions.h

localizedDisplayName

A short localized name describing the receiver’s compression options.

- (NSString *)localizedDisplayName

Return Value

A localized string appropriate for display in the user interface (in a list of compression options, for example).

Availability
Declared In
QTCompressionOptions.h

mediaType

The media type on which the receiver’s compression options should be used.

- (NSString *)mediaType

Return Value

A QuickTime media type, such as QTMediaTypeVideo or QTMediaTypeSound.

Availability
Declared In
QTCompressionOptions.h

Constants

The following are compression options identifiers. These identifiers can be passed to the compressionOptionsWithIdentifier: class method to get an instance configured with the compression options for that identifier.

QTCompressionOptionsLosslessAppleIntermediateVideo

Compresses video using the Apple Intermediate codec at lossless quality.

@"QTCompressionOptionsLosslessAppleIntermediateVideo"

Constants
@"QTCompressionOptionsLosslessAppleIntermediateVideo"

This is appropriate for an intermediate format for media that requires further processing.

Declared In
QTCompressionOptions.h

QTCompressionOptionsLosslessAnimationVideo

Compresses video using the Animation codec at highest quality and color depth.

@"QTCompressionOptionsLosslessAnimationVideo"

Constants
@"QTCompressionOptionsLosslessAnimationVideo"

This is appropriate for an intermediate format for media that requires further processing.

Declared In
QTCompressionOptions.h

QTCompressionOptions120SizeH264Video

Compresses video using the H.264 codec using medium bit-rate settings with dimensions no larger than 160x120.

@"QTCompressionOptions120SizeH264Video"

Constants
@"QTCompressionOptions120SizeH264Video"

This is appropriate for delivery to low-bandwidth and low-capacity destinations.

Declared In
QTCompressionOptions.h

QTCompressionOptions240SizeH264Video

Compresses video using the H.264 codec using medium bit-rate settings with dimensions no larger than 320x240.

@"QTCompressionOptions240SizeH264Video"

Constants
@"QTCompressionOptions240SizeH264Video"

This is appropriate for delivery to medium-bandwidth and medium-capacity destinations.

Declared In
QTCompressionOptions.h

QTCompressionOptionsSD480SizeH264Video

Compresses video using the H.264 codec using medium bit-rate settings with dimensions no larger than 720x480.

@"QTCompressionOptionsSD480SizeH264Video"

Constants
@"QTCompressionOptionsSD480SizeH264Video"

This is appropriate for delivery to medium and high-bandwidth and medium- and high-capacity destinations.

Declared In
QTCompressionOptions.h

QTCompressionOptions120SizeMPEG4Video

Compresses video using the MPEG-4 codec using medium bit-rate settings with dimensions no larger than 160x120.

@"QTCompressionOptions120SizeMPEG4Video"

Constants
@"QTCompressionOptions120SizeMPEG4Video"

This is appropriate for delivery to low-bandwidth and low-capacity destinations.

Declared In
QTCompressionOptions.h

QTCompressionOptions240SizeMPEG4Video

Compresses video using the MPEG-4 codec using medium bit-rate settings with dimensions no larger than 320x240.

@"QTCompressionOptions240SizeMPEG4Video"

Constants
@"QTCompressionOptions240SizeMPEG4Video"

This is appropriate for delivery to medium-bandwidth and medium-capacity destinations.

Declared In
QTCompressionOptions.h

QTCompressionOptionsSD480SizeMPEG4Video

Compresses video using the MPEG-4 codec using medium bit-rate settings with dimensions no larger than 720x480.

@"QTCompressionOptionsSD480SizeMPEG4Video"

Constants
@"QTCompressionOptionsSD480SizeMPEG4Video"

This is appropriate for delivery to medium and high-bandwidth and medium- and high-capacity destinations.

Declared In
QTCompressionOptions.h

QTCompressionOptionsLosslessALACAudio

Compresses audio using the Apple Lossless codec.

@"QTCompressionOptionsLosslessALACAudio"

Constants
@"QTCompressionOptionsLosslessALACAudio"

This is appropriate for an intermediate format for media that requires further processing.

Declared In
QTCompressionOptions.h

QTCompressionOptionsHighQualityAACAudio

Compresses audio using the AAC codec at 64 kbps per channel.

@"QTCompressionOptionsHighQualityAACAudio"

Constants
@"QTCompressionOptionsHighQualityAACAudio"

This is appropriate for delivery of high-quality music and other audio.

Declared In
QTCompressionOptions.h

QTCompressionOptionsVoiceQualityAACAudio

Compresses audio using the AAC codec at 32 kbps per channel.

@"QTCompressionOptionsVoiceQualityAACAudio"

Constants
@"QTCompressionOptionsVoiceQualityAACAudio"

This is appropriate for delivery of voice recordings.

Declared In
QTCompressionOptions.h

Next Page > Hide TOC


Last updated: 2007-07-23




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice