AVAsset+PLSExtendProperty.h
764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//
// AVAsset+PLSExtendProperty.h
// PLShortVideoKit
//
// Created by suntongmian on 2018/3/28.
// Copyright © 2018年 Pili Engineering, Qiniu Inc. All rights reserved.
//
#import <AVFoundation/AVFoundation.h>
@interface AVAsset (PLSExtendProperty)
/**
@brief 视频的真实分辨率
@since v1.11.0
*/
@property (assign, nonatomic, readonly) CGSize pls_videoSize;
/**
@brief 视频是否为竖屏视频
@since v1.11.0
*/
@property (assign, nonatomic, readonly) BOOL pls_portrait;
/**
@brief 视频是否为正方形视频
@since v1.11.0
*/
@property (assign, nonatomic, readonly) BOOL pls_squareVideo;
/**
@brief 视频的码率
@since v1.11.0
*/
@property (assign, nonatomic, readonly) float pls_bitrate;
@end