Inherits from | |
Conforms to | |
Framework | /System/Library/Frameworks/AVFoundation.framework |
Availability | Available in iOS 4.0 and later. |
Declared in | AVCaptureOutput.h |
AVCaptureFileOutput
is an abstract sub-class of AVCaptureOutput
that describes a file output destination
to an AVCaptureSession
. You use an instance of its concrete subclass, AVCaptureMovieFileOutput
, to save capture output to a QuickTime movie file.
maxRecordedDuration
property
maxRecordedFileSize
property
minFreeDiskSpaceLimit
property
outputFileURL
property
recordedDuration
property
recordedFileSize
property
For more about Objective-C properties, see “Properties” in The Objective-C Programming Language.
The longest duration allowed for the recording.
@property(nonatomic) CMTime maxRecordedDuration
If the limit is reached, outputFileURL
is set to nil
, and the captureOutput:didFinishRecordingToOutputFileAtURL:fromConnections:error:
delegate method is invoked with an appropriate error.
AVCaptureOutput.h
The maximum file size allowed for the recording.
@property(nonatomic) int64_t maxRecordedFileSize
If the limit is reached, outputFileURL
is set to nil
, and the captureOutput:didFinishRecordingToOutputFileAtURL:fromConnections:error:
delegate method is invoked with an appropriate error.
AVCaptureOutput.h
The minimum available free disk space that must be available for recording to continue.
@property(nonatomic) int64_t minFreeDiskSpaceLimit
If the limit is reached, outputFileURL
is set to nil
, and the captureOutput:didFinishRecordingToOutputFileAtURL:fromConnections:error:
delegate method is invoked with an appropriate error.
AVCaptureOutput.h
The URL to which output is directed. (read-only)
@property(nonatomic, readonly) NSURL *outputFileURL
AVCaptureOutput.h
The total duration recorded to the current output file. (read-only)
@property(nonatomic, readonly) CMTime recordedDuration
AVCaptureOutput.h
The total file size recorded to the current output file. (read-only)
@property(nonatomic, readonly) int64_t recordedFileSize
AVCaptureOutput.h
Indicates whether recording is in progress.
@property(nonatomic, readonly, getter=isRecording) BOOL recording;
AVCaptureOutput.h
Starts recording to a given URL.
- (void)startRecordingToOutputFileURL:(NSURL *)outputFileURL recordingDelegate:(id < AVCaptureFileOutputRecordingDelegate >)delegate
The URL to which output is directed.
A object to serve as delegate for the recording session.
AVCaptureOutput.h
Last updated: 2010-04-13