TuSDKVideoTrackInfo Class Reference
Inherits from | NSObject |
---|---|
Declared in | TuSDKVideoInfo.h |
+ trackInfoWithVideoAssetTrack:
TuSDKVideoTrackInfo
+ (instancetype)trackInfoWithVideoAssetTrack:(AVAssetTrack *)videoTrack
Parameters
videoTrack |
TuSDKVideoTrackInfo |
---|
Return Value
Declared In
TuSDKVideoInfo.h
– initWithVideoAssetTrack:
根据 AVAssetTrack 初始化 TuSDKVideoTrackInfo
- (instancetype)initWithVideoAssetTrack:(AVAssetTrack *)videoTrack
Parameters
videoTrack |
AVAssetTrack |
---|
Return Value
TuSDKVideoTrackInfo
Declared In
TuSDKVideoInfo.h
naturalSize
The natural dimensions of the media data referenced by the track.
@property (nonatomic, readonly) CGSize naturalSize
Declared In
TuSDKVideoInfo.h
presentSize
The present dimensions of the media data referenced by the track.
@property (nonatomic, readonly) CGSize presentSize
Declared In
TuSDKVideoInfo.h
nominalFrameRate
For tracks that carry a full frame per media sample, indicates the frame rate of the track in units of frames per second.
@property (nonatomic, readonly) CGFloat nominalFrameRate
Discussion
For field-based video tracks that carry one field per media sample, the value of this property is the field rate, not the frame rate.
Declared In
TuSDKVideoInfo.h
isTransposedSize
视频宽高是否需要交换
@property (nonatomic, readonly) BOOL isTransposedSize
Declared In
TuSDKVideoInfo.h
preferredTransform
The transform specified in the track’s storage container as the preferred transformation of the visual media data for display purposes.
@property (nonatomic, readonly) CGAffineTransform preferredTransform
Declared In
TuSDKVideoInfo.h
orientation
rotation
@property (nonatomic, readonly) LSQGPUImageRotationMode orientation
Declared In
TuSDKVideoInfo.h