Instance Property


The base URL sample references are relative to.


@property(nonatomic, copy) NSURL *sampleReferenceBaseURL;


This property is only valid for file types that support writing sample references, such as QuickTime Movie files. If the value of this property can be resolved as an absolute URL, the sample locations written to the file when appending sample references will be relative to this URL. The URL must point to a location that is in a directory that is a parent of the sample reference location.

For example: setting the sampleReferenceBaseURL property to file:///User/johnappleseed/Movies/ and appending sample buffers with the kCMSampleBufferAttachmentKey_SampleReferenceURL attachment set to file:///User/johnappleseed/Movies/data/ will cause the sample reference data/ to be written to the movie.

See Also

Inspecting a Writer Input


The media type of the samples that are appendable to the input.


The settings used for encoding the media appended to the output.


A hint about the format of the buffers to appended.