I'm trying to create an app in my app where the user can trim the order of "drag and drop" trimmed Videos that have already been penned in an Avimatable Compression track.
Using the "Segments" property, I can get NSARR containing each segment of the track, copied this array to another array,
Any ideas I have How can i
Any help would be appreciated.
Any help would be appreciated.
But when I try to get the output by NSLog (), compTrack.se does not show any changes in its order of components. // Retrieve Segment Array NSMutableArray * compTracksArr = [[NSMutableArray alloc] initWithArray: compTrack.segments]; // Change order [compTracksArr changeObjectIndexX: Object with: [CompaqAraR ObakAbject]]; // Split array to specify the array in comptrack.segments = [NSArray arrayWithArray: compTracksArr];
/ *! Validate the method @ TrackSegments: Error: @Abrooper Checks an array of AVCompositionTrackSegments whether they are in line with the rules of time mentioned above (see property key "Track Sessions"). @ Param track The array of AVCompositionTrackSegments is valid. @PRAM error If the verification fails, the information about the failure returns. @ Discussion Arrays have been tested for suitability to set track segments as the value of the property. If a part of an existing trackSegments array is to be modified, then the modification can be done by an example of NSMutableArray, and the resulting -validateTrackSegments can be tested through the resulting array: Error:. * / - (BOOL) validateTrackSegments: (NSArray *) trackSegments error: (NSError **) error;
It should answer some.
Comments
Post a Comment