TuSDKVideoTrackInfo Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TuSDKVideoInfo.h |
+ trackInfoWithVideoAssetTrack:
TuSDKVideoTrackInfo
+ (instancetype)trackInfoWithVideoAssetTrack:(AVAssetTrack *)videoTrackParameters
videoTrack |
TuSDKVideoTrackInfo |
|---|
Return Value
Declared In
TuSDKVideoInfo.h
– initWithVideoAssetTrack:
根据 AVAssetTrack 初始化 TuSDKVideoTrackInfo
- (instancetype)initWithVideoAssetTrack:(AVAssetTrack *)videoTrackParameters
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 naturalSizeDeclared In
TuSDKVideoInfo.h
presentSize
The present dimensions of the media data referenced by the track.
@property (nonatomic, readonly) CGSize presentSizeDeclared 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 nominalFrameRateDiscussion
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 isTransposedSizeDeclared 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 preferredTransformDeclared In
TuSDKVideoInfo.h
orientation
rotation
@property (nonatomic, readonly) LSQGPUImageRotationMode orientationDeclared In
TuSDKVideoInfo.h