public class AVMutableMovieTrack extends AVMovieTrack
AVAssetTrack.Block_loadAssociatedTracksOfTypeCompletionHandler, AVAssetTrack.Block_loadMetadataForFormatCompletionHandler, AVAssetTrack.Block_loadSamplePresentationTimeForTrackTimeCompletionHandler, AVAssetTrack.Block_loadSegmentForTrackTimeCompletionHandlerNSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retAVAsynchronousKeyValueLoading.Block_loadValuesAsynchronouslyForKeysCompletionHandler| Modifier | Constructor and Description |
|---|---|
protected |
AVMutableMovieTrack(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
void |
addTrackAssociationToTrackType(AVMovieTrack movieTrack,
java.lang.String trackAssociationType)
addTrackAssociationToTrack:type:
|
static AVMutableMovieTrack |
alloc() |
static AVMutableMovieTrack |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
long |
alternateGroupID()
[@property] alternateGroupID
|
boolean |
appendSampleBufferDecodeTimePresentationTimeError(CMSampleBufferRef sampleBuffer,
CMTime outDecodeTime,
CMTime outPresentationTime,
org.moe.natj.general.ptr.Ptr<NSError> outError)
appendSampleBuffer:decodeTime:presentationTime:error:
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
CGSize |
cleanApertureDimensions()
[@property] cleanApertureDimensions
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
CGSize |
encodedPixelsDimensions()
[@property] encodedPixelsDimensions
|
java.lang.String |
extendedLanguageTag()
[@property] extendedLanguageTag
|
static long |
hash_static() |
boolean |
hasProtectedContent()
[@property] hasProtectedContent
|
AVMutableMovieTrack |
init() |
void |
insertEmptyTimeRange(CMTimeRange timeRange)
insertEmptyTimeRange:
|
boolean |
insertMediaTimeRangeIntoTimeRange(CMTimeRange mediaTimeRange,
CMTimeRange trackTimeRange)
insertMediaTimeRange:intoTimeRange:
|
boolean |
insertTimeRangeOfTrackAtTimeCopySampleDataError(CMTimeRange timeRange,
AVAssetTrack track,
CMTime startTime,
boolean copySampleData,
org.moe.natj.general.ptr.Ptr<NSError> outError)
insertTimeRange:ofTrack:atTime:copySampleData:error:
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isEnabled()
[@property] enabled
|
boolean |
isModified()
[@property] modified
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
java.lang.String |
languageCode()
[@property] languageCode
|
long |
layer()
[@property] layer
|
AVMediaDataStorage |
mediaDataStorage()
[@property] mediaDataStorage
|
NSArray<? extends AVMetadataItem> |
metadata()
[@property] metadata
|
CGSize |
naturalSize()
[@property] naturalSize
|
static AVMutableMovieTrack |
new_objc() |
long |
preferredMediaChunkAlignment()
[@property] preferredMediaChunkAlignment
|
CMTime |
preferredMediaChunkDuration()
[@property] preferredMediaChunkDuration
|
long |
preferredMediaChunkSize()
[@property] preferredMediaChunkSize
|
CGAffineTransform |
preferredTransform()
[@property] preferredTransform
|
float |
preferredVolume()
[@property] preferredVolume
|
CGSize |
productionApertureDimensions()
[@property] productionApertureDimensions
|
void |
removeTimeRange(CMTimeRange timeRange)
removeTimeRange:
|
void |
removeTrackAssociationToTrackType(AVMovieTrack movieTrack,
java.lang.String trackAssociationType)
removeTrackAssociationToTrack:type:
|
void |
replaceFormatDescriptionWithFormatDescription(CMFormatDescriptionRef formatDescription,
CMFormatDescriptionRef newFormatDescription)
replaceFormatDescription:withFormatDescription:
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
NSURL |
sampleReferenceBaseURL()
[@property] sampleReferenceBaseURL
|
void |
scaleTimeRangeToDuration(CMTimeRange timeRange,
CMTime duration)
scaleTimeRange:toDuration:
|
void |
setAlternateGroupID(long value)
[@property] alternateGroupID
|
void |
setCleanApertureDimensions(CGSize value)
[@property] cleanApertureDimensions
|
void |
setEnabled(boolean value)
[@property] enabled
|
void |
setEncodedPixelsDimensions(CGSize value)
[@property] encodedPixelsDimensions
|
void |
setExtendedLanguageTag(java.lang.String value)
[@property] extendedLanguageTag
|
void |
setLanguageCode(java.lang.String value)
[@property] languageCode
|
void |
setLayer(long value)
[@property] layer
|
void |
setMediaDataStorage(AVMediaDataStorage value)
[@property] mediaDataStorage
|
void |
setMetadata(NSArray<? extends AVMetadataItem> value)
[@property] metadata
|
void |
setModified(boolean value)
[@property] modified
|
void |
setNaturalSize(CGSize value)
[@property] naturalSize
|
void |
setPreferredMediaChunkAlignment(long value)
[@property] preferredMediaChunkAlignment
|
void |
setPreferredMediaChunkDuration(CMTime value)
[@property] preferredMediaChunkDuration
|
void |
setPreferredMediaChunkSize(long value)
[@property] preferredMediaChunkSize
|
void |
setPreferredTransform(CGAffineTransform value)
[@property] preferredTransform
|
void |
setPreferredVolume(float value)
[@property] preferredVolume
|
void |
setProductionApertureDimensions(CGSize value)
[@property] productionApertureDimensions
|
void |
setSampleReferenceBaseURL(NSURL value)
[@property] sampleReferenceBaseURL
|
void |
setTimescale(int value)
[@property] timescale
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
int |
timescale()
[@property] timescale
|
static long |
version_static() |
mediaDecodeTimeRange, mediaPresentationTimeRangeasset, associatedTracksOfType, availableMetadataFormats, availableTrackAssociationTypes, commonMetadata, copyWithZone, estimatedDataRate, formatDescriptions, hasAudioSampleDependencies, hasMediaCharacteristic, isDecodable, isPlayable, isSelfContained, loadAssociatedTracksOfTypeCompletionHandler, loadMetadataForFormatCompletionHandler, loadSamplePresentationTimeForTrackTimeCompletionHandler, loadSegmentForTrackTimeCompletionHandler, loadValuesAsynchronouslyForKeysCompletionHandler, mediaType, metadataForFormat, minFrameDuration, naturalTimeScale, nominalFrameRate, requiresFrameReordering, samplePresentationTimeForTrackTime, segmentForTrackTime, segments, statusOfValueForKeyError, timeRange, totalSampleDataLength, trackIDaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected AVMutableMovieTrack(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public void addTrackAssociationToTrackType(AVMovieTrack movieTrack, java.lang.String trackAssociationType)
Establishes a track association of a specific type between two tracks.
movieTrack - An AVMovieTrack object that is to be associated with the receiver.trackAssociationType - The type of track association to add between the receiver and the specified movieTrack (for instance, AVTrackAssociationTypeChapterList).public static AVMutableMovieTrack alloc()
public static AVMutableMovieTrack allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public long alternateGroupID()
An integer indicating the track as a member of a particular alternate group.
alternateGroupID in class AVMovieTrackpublic boolean appendSampleBufferDecodeTimePresentationTimeError(CMSampleBufferRef sampleBuffer, CMTime outDecodeTime, CMTime outPresentationTime, org.moe.natj.general.ptr.Ptr<NSError> outError)
Appends sample data to a media file and adds sample references for the added data to a track's media sample tables.
If the sample buffer carries sample data, the sample data is written to the container specified by the track property mediaDataStorage if non-nil, or else by the movie property defaultMediaDataStorage if non-nil, and sample references will be appended to the track's media. If both media data storage properties are nil, the method will fail and return NO. If the sample buffer carries sample references only, sample data will not be written and sample references to the samples in their original container will be appended to the track's media as necessary.
Note regarding sample timing: in a track's media, the first sample's decode timestamp must always be zero. For an audio track, each sample buffer's duration is used as the sample decode duration. For other track types, difference between a sample's decode timestamp and the following sample's decode timestamp is used as the first sample's decode duration, so as to preserve the relative timing.
Note that this method does not modify the track's sourceTimeMappings but only appends sample references and sample data to the track's media. To make the new samples appear in the track's timeline, invoke -insertMediaTimeRange:intoTimeRange:. You can retrieve the mediaPresentationTimeRange property before and after appending a sequence of samples, using CMTimeRangeGetEnd on each to calculate the media TimeRange for -insertMediaTimeRange:intoTimeRange:.
It's safe for multiple threads to call this method on different tracks at once.
sampleBuffer - The CMSampleBuffer to be appended; this may be obtained from an instance of AVAssetReader.outDecodeTime - A pointer to a CMTime structure to receive the decode time in the media of the first sample appended from the sample buffer. Pass NULL if you do not need this information.outPresentationTime - A pointer to a CMTime structure to receive the presentation time in the media of the first sample appended from the sample buffer. Pass NULL if you do not need this information.outError - If the appending fails, describes the nature of the failure. For example, if the device containing the track's media data storage is full, AVErrorDiskFull is returned.public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public CGSize cleanApertureDimensions()
A CGSize indicating the clean aperture dimensions of the track.
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public CGSize encodedPixelsDimensions()
A CGSize indicating the dimensions encoded pixels dimensions of the track.
public java.lang.String extendedLanguageTag()
The language tag associated with the track.
The value of this property is an IETF BCP 47 (RFC 4646) language identifier indicating the language tag associated with the track; may be nil if no language tag is indicated.
extendedLanguageTag in class AVAssetTrackpublic boolean hasProtectedContent()
Whether a track contains protected content.
The value of this property is a BOOL that indicates whether the track contains protected content.
public static long hash_static()
public AVMutableMovieTrack init()
init in class AVMovieTrackpublic void insertEmptyTimeRange(CMTimeRange timeRange)
Adds an empty time range to the target track.
timeRange - The time range to be made empty. Note that you cannot add empty time ranges to the end of a track.public boolean insertMediaTimeRangeIntoTimeRange(CMTimeRange mediaTimeRange, CMTimeRange trackTimeRange)
Inserts a reference to a media time range into a track.
Use this method after you have appended samples or sample references to a track's media.
To specify that the media time range be played at its natural rate, pass mediaTimeRange.duration == trackTimeRange.duration; otherwise, the ratio between these is used to determine the playback rate.
Pass kCMTimeInvalid for trackTimeRange.start to indicate that the segment should be appended to the end of the track.
mediaTimeRange - The presentation time range of the media to be inserted.trackTimeRange - The time range of the track into which the media is to be inserted.public boolean insertTimeRangeOfTrackAtTimeCopySampleDataError(CMTimeRange timeRange, AVAssetTrack track, CMTime startTime, boolean copySampleData, org.moe.natj.general.ptr.Ptr<NSError> outError)
Inserts a portion of an AVAssetTrack object into the target movie.
timeRange - The time range from the track from which media is to be inserted.track - An AVAssetTrack object indicating the source of the inserted media. Only AVAssetTracks of AVURLAssets and AVCompositions are supported.
Must not be nil.startTime - The time in the target track at which the media is to be inserted.copySampleData - A BOOL value that indicates whether sample data is to be copied from the source to the destination during edits.
If YES, the sample data is written to the file specified by the track property mediaDataStorage if non-nil,
or else by the movie property defaultMediaDataStorage if non-nil; if both are nil, the method will fail and return NO.
If NO, sample data will not be written and sample references to the samples in their original container will be added
as necessary. Note that in this case, this method will fail if the original samples are fragmented.outError - If the insertion fails, describes the nature of the failure.public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public boolean isEnabled()
A BOOL value indicating whether the track is enabled by default for presentation.
isEnabled in class AVAssetTrackpublic boolean isModified()
Whether a track has been modified.
The value of this property is a BOOL that indicates whether the AVMutableMovieTrack object has been modified since it was created, was last written, or had its modified state cleared via a call to setModified:NO.
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public java.lang.String languageCode()
The language associated with the track.
The value of this property is an ISO 639-2/T language code indicating the language associated with the track; may be nil if no language is indicated.
languageCode in class AVAssetTrackpublic long layer()
The layer level of the visual media data of the track.
public AVMediaDataStorage mediaDataStorage()
The storage container for media data added to a track.
The value of this property is an AVMediaDataStorage object that indicates the location at which media data inserted or appended to the track will be written.
mediaDataStorage in class AVMovieTrackpublic NSArray<? extends AVMetadataItem> metadata()
A collection of metadata stored by the track.
The value of this property is an array of AVMetadataItem objects representing the collection of metadata stored by the track.
metadata in class AVAssetTrackpublic CGSize naturalSize()
A CGSize indicating the dimensions at which the visual media data of the track should be displayed.
naturalSize in class AVAssetTrackpublic static AVMutableMovieTrack new_objc()
public long preferredMediaChunkAlignment()
For file types that support media chunk alignment, the boundary for media chunk alignment (in bytes).
The default value is 0, which means that no padding should be used to achieve chunk alignment. It is an error to set a negative value for chunk alignment.
public CMTime preferredMediaChunkDuration()
For file types that support media chunk durations, the maximum duration to be used for each chunk of sample data written to the file.
The total duration of the samples in a chunk will be no greater than this preferred chunk duration, or the duration of a single sample if the sample's duration is greater than this preferred chunk duration.
The default media chunk duration is 1.0 second. It is an error to set a chunk duration that is negative or non-numeric.
public long preferredMediaChunkSize()
For file types that support media chunk sizes, the maximum size (in bytes) to be used for each chunk of sample data written to the file.
The total size of the samples in a chunk will be no larger than this preferred chunk size, or the size of a single sample if the sample is larger than this preferred chunk size.
The default media chunk size is 1024 * 1024 bytes. It is an error to set a negative chunk size.
public CGAffineTransform preferredTransform()
A CGAffineTransform indicating the transform specified in the track's storage container as the preferred transformation of the visual media data for display purposes; the value is often but not always CGAffineTransformIdentity.
preferredTransform in class AVAssetTrackpublic float preferredVolume()
The preferred volume of the audible media data of the track; often but not always 1.0.
preferredVolume in class AVAssetTrackpublic CGSize productionApertureDimensions()
A CGSize indicating the production aperture dimensions of the track.
public void removeTimeRange(CMTimeRange timeRange)
Removes a specified time range from a track.
timeRange - The time range to be removed.public void removeTrackAssociationToTrackType(AVMovieTrack movieTrack, java.lang.String trackAssociationType)
Removes a track association of a specific type between two tracks.
movieTrack - An AVMovieTrack object that is associated with the receiver.trackAssociationType - The type of track association to remove between the receiver and the specified movieTrack (for instance, AVTrackAssociationTypeChapterList).public void replaceFormatDescriptionWithFormatDescription(CMFormatDescriptionRef formatDescription, CMFormatDescriptionRef newFormatDescription)
Replaces one of the receiver's format descriptions with another format description
You can use this method to make surgical changes to a track's format descriptions, such as adding format description extensions to a format description or changing the audio channel layout of an audio track. You should note that a format description can have extensions of type kCMFormatDescriptionExtension_VerbatimSampleDescription and kCMFormatDescriptionExtension_VerbatimISOSampleEntry; if you modify a copy of a format description, you should delete those extensions from the copy or your changes might be ignored.
An NSInvalidArgumentException will be thrown if the media type of the new format description does not match the media type of the receiver.
formatDescription - A CMFormatDescription occurring in the array returned by the -formatDescriptions method.newFormatDescription - A CMFormatDescription to replace the specified format description.public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public NSURL sampleReferenceBaseURL()
For file types that support writing sample references, such as QuickTime Movie files, specifies the base URL that sample references are relative to; may be nil.
If the value of this property can be resolved as an absolute URL, the sample locations written to the file when appending sample references to this track will be relative to this URL. The URL must point to a location contained by any common parent directory of the locations that will be referenced. For example, setting the sampleReferenceBaseURL property to "file:///Users/johnappleseed/Movies/" and appending sample buffers that refer to "file:///Users/johnappleseed/Movies/data/movie1.mov" will cause the sample reference "data/movie1.mov" to be written to the movie file.
If the value of the property cannot be resolved as an absolute URL or if it points to a location that is not contained by any common parent directory of the locations that will be referenced, the location will be written unmodified.
The default value is nil, which means that the location will be written unmodified.
public void scaleTimeRangeToDuration(CMTimeRange timeRange, CMTime duration)
Changes the duration of a time range of a track.
timeRange - The time range to be scaled.duration - The new duration of the time range.public void setAlternateGroupID(long value)
An integer indicating the track as a member of a particular alternate group.
public void setCleanApertureDimensions(CGSize value)
A CGSize indicating the clean aperture dimensions of the track.
public void setEnabled(boolean value)
A BOOL value indicating whether the track is enabled by default for presentation.
public void setEncodedPixelsDimensions(CGSize value)
A CGSize indicating the dimensions encoded pixels dimensions of the track.
public void setExtendedLanguageTag(java.lang.String value)
The language tag associated with the track.
The value of this property is an IETF BCP 47 (RFC 4646) language identifier indicating the language tag associated with the track; may be nil if no language tag is indicated.
public void setLanguageCode(java.lang.String value)
The language associated with the track.
The value of this property is an ISO 639-2/T language code indicating the language associated with the track; may be nil if no language is indicated.
public void setLayer(long value)
The layer level of the visual media data of the track.
public void setMediaDataStorage(AVMediaDataStorage value)
The storage container for media data added to a track.
The value of this property is an AVMediaDataStorage object that indicates the location at which media data inserted or appended to the track will be written.
public void setMetadata(NSArray<? extends AVMetadataItem> value)
A collection of metadata stored by the track.
The value of this property is an array of AVMetadataItem objects representing the collection of metadata stored by the track.
public void setModified(boolean value)
Whether a track has been modified.
The value of this property is a BOOL that indicates whether the AVMutableMovieTrack object has been modified since it was created, was last written, or had its modified state cleared via a call to setModified:NO.
public void setNaturalSize(CGSize value)
A CGSize indicating the dimensions at which the visual media data of the track should be displayed.
public void setPreferredMediaChunkAlignment(long value)
For file types that support media chunk alignment, the boundary for media chunk alignment (in bytes).
The default value is 0, which means that no padding should be used to achieve chunk alignment. It is an error to set a negative value for chunk alignment.
public void setPreferredMediaChunkDuration(CMTime value)
For file types that support media chunk durations, the maximum duration to be used for each chunk of sample data written to the file.
The total duration of the samples in a chunk will be no greater than this preferred chunk duration, or the duration of a single sample if the sample's duration is greater than this preferred chunk duration.
The default media chunk duration is 1.0 second. It is an error to set a chunk duration that is negative or non-numeric.
public void setPreferredMediaChunkSize(long value)
For file types that support media chunk sizes, the maximum size (in bytes) to be used for each chunk of sample data written to the file.
The total size of the samples in a chunk will be no larger than this preferred chunk size, or the size of a single sample if the sample is larger than this preferred chunk size.
The default media chunk size is 1024 * 1024 bytes. It is an error to set a negative chunk size.
public void setPreferredTransform(CGAffineTransform value)
A CGAffineTransform indicating the transform specified in the track's storage container as the preferred transformation of the visual media data for display purposes; the value is often but not always CGAffineTransformIdentity.
public void setPreferredVolume(float value)
The preferred volume of the audible media data of the track; often but not always 1.0.
public void setProductionApertureDimensions(CGSize value)
A CGSize indicating the production aperture dimensions of the track.
public void setSampleReferenceBaseURL(NSURL value)
For file types that support writing sample references, such as QuickTime Movie files, specifies the base URL that sample references are relative to; may be nil.
If the value of this property can be resolved as an absolute URL, the sample locations written to the file when appending sample references to this track will be relative to this URL. The URL must point to a location contained by any common parent directory of the locations that will be referenced. For example, setting the sampleReferenceBaseURL property to "file:///Users/johnappleseed/Movies/" and appending sample buffers that refer to "file:///Users/johnappleseed/Movies/data/movie1.mov" will cause the sample reference "data/movie1.mov" to be written to the movie file.
If the value of the property cannot be resolved as an absolute URL or if it points to a location that is not contained by any common parent directory of the locations that will be referenced, the location will be written unmodified.
The default value is nil, which means that the location will be written unmodified.
public void setTimescale(int value)
For file types that contain a 'moov' atom, such as QuickTime Movie files, specifies the time scale of the track's media.
The default media time scale is 0.
This property should be set on a new empty track before any edits are performed on the track.
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public int timescale()
For file types that contain a 'moov' atom, such as QuickTime Movie files, specifies the time scale of the track's media.
The default media time scale is 0.
This property should be set on a new empty track before any edits are performed on the track.
public static long version_static()