Platforms to show: All Mac Windows Linux Cross-Platform
CMTimeRangeMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A CMTimeRange is represented as two CMTime structs, one that specifies the start time of the range and another that specifies the duration of the range. A time range does not include the end time that would be calculated by adding the duration to the start time.
- 7 properties
- 5 methods
- method Constructor(start as CMTimeMBS, duration as CMTimeMBS)
- method ContainsTime(time as CMTimeMBS) as boolean
- method ContainsTimeRange(timeRange as CMTimeRangeMBS) as boolean
- method Description as string
- method Show
- 8 shared methods
- shared method AllTimeRange as CMTimeRangeMBS
- shared method Equal(range1 as CMTimeRangeMBS, range2 as CMTimeRangeMBS) as boolean
- shared method Intersection(range1 as CMTimeRangeMBS, range2 as CMTimeRangeMBS) as CMTimeRangeMBS
- shared method kCMTimeRangeInvalid as CMTimeRangeMBS
- shared method kCMTimeRangeZero as CMTimeRangeMBS
- shared method Make(start as CMTimeMBS, duration as CMTimeMBS) as CMTimeRangeMBS
- shared method TimeRangeFromTimeToTime(start as CMTimeMBS, EndTime as CMTimeMBS) as CMTimeRangeMBS
- shared method Union(range1 as CMTimeRangeMBS, range2 as CMTimeRangeMBS) as CMTimeRangeMBS
This class has no sub classes.
Some methods using this class:
- AVCompositionTrackSegmentMBS.compositionTrackSegmentWithTimeRange(timeRange as CMTimeRangeMBS) as AVCompositionTrackSegmentMBS
- AVCompositionTrackSegmentMBS.Constructor(timeRange as CMTimeRangeMBS)
- AVMutableCompositionMBS.insertEmptyTimeRange(timeRange as CMTimeRangeMBS)
- AVMutableCompositionMBS.insertTimeRange(timeRange as CMTimeRangeMBS, asset as AVAssetMBS, startTime as CMTimeMBS, byref error as NSErrorMBS) as boolean
- AVMutableMovieMBS.insertTimeRange(timeRange as CMTimeRangeMBS, asset as AVAssetMBS, atTime as CMTimeMBS, copySampleData as Boolean, byref Error as NSErrorMBS) as boolean
- AVMutableMovieMBS.removeTimeRange(timeRange as CMTimeRangeMBS)
- AVMutableVideoCompositionLayerInstructionMBS.setCropRectangleRampFromStartCropRectangle(startCropRectangle as CGRectMBS, endCropRectangle as CGRectMBS, timeRange as CMTimeRangeMBS)
- AVMutableVideoCompositionLayerInstructionMBS.setOpacity(startOpacity as Double, endOpacity as Double, timeRange as CMTimeRangeMBS)
- AVVideoCompositionLayerInstructionMBS.getCropRectangleRampForTime(time as CMTimeMBS, byref startCropRectangle as CGRectMBS, byref endCropRectangle as CGRectMBS, byref timeRange as CMTimeRangeMBS) as Boolean
- AVVideoCompositionLayerInstructionMBS.getOpacityRampForTime(time as CMTimeMBS, byref startOpacity as Double, byref endOpacity as Double, byref timeRange as CMTimeRangeMBS) as boolean
Some properties using for this class:
- AVMovieTrackMBS.mediaDecodeTimeRange as CMTimeRangeMBS
- AVMovieTrackMBS.mediaPresentationTimeRange as CMTimeRangeMBS
- AVVideoCompositionInstructionMBS.timeRange as CMTimeRangeMBS
- CMTimeMappingMBS.Source as CMTimeRangeMBS
- CMTimeMappingMBS.Target as CMTimeRangeMBS
- SDAVAssetExportSessionMBS.timeRange as CMTimeRangeMBS
- AVAssetExportSessionMBS.timeRange as CMTimeRangeMBS
- AVAssetReaderMBS.timeRange as CMTimeRangeMBS
- AVMutableTimedMetadataGroupMBS.timeRange as CMTimeRangeMBS
- AVMutableVideoCompositionInstructionMBS.timeRange as CMTimeRangeMBS
Some events using this class:
- AVFoundationMBS.videoCompositionShouldContinueValidatingAfterFindingEmptyTimeRange(videoComposition as AVVideoCompositionMBS, timeRange as CMTimeRangeMBS) as boolean
Some examples using this class:
- /AVFoundation/Add text to video
- /AVFoundation/AVAssetExportSessionMBS test
- /AVFoundation/AVAssetExportSessionMBS test batch
- /AVFoundation/Merge and Crop Videos
- /AVFoundation/Merge Audio and Video
- /AVFoundation/Overlay video track with picture
Blog Entries
The items on this page are in the following plugins: MBS AVFoundation Plugin.
CMTimeMBS - CNChangeHistoryAddContactEventMBS