QCloudGenerateSnapshotConfiguration Class Reference Inherits from NSObject Declared in QCloudGenerateSnapshotConfiguration.hQCloudGenerateSnapshotConfiguration.m Overview 媒体文件某个时间的截图配置 time 截取哪个时间点的内容,单位为秒 @property (nonatomic, assign) CGFloat time Declared In QCloudGenerateSnapshotConfiguration.h width 截图的宽。默认为0 @property (assign, nonatomic) int64_t width Declared In QCloudGenerateSnapshotConfiguration.h height 截图的宽。默认为0 @property (assign, nonatomic) int64_t height Declared In QCloudGenerateSnapshotConfiguration.h input 媒体文件的位置信息 @property (strong, nonatomic) QCloudGenerateSnapshotInput *input Declared In QCloudGenerateSnapshotConfiguration.h output 截图保存的位置信息 @property (strong, nonatomic) QCloudGenerateSnapshotOutput *output Declared In QCloudGenerateSnapshotConfiguration.h mode 截帧方式:枚举值 * GenerateSnapshotModeExactframe:截取指定时间点的帧 * GenerateSnapshotModeKeyframe:截取指定时间点之前的最近的 默认值为 exactframe @property (assign, nonatomic) QCloudGenerateSnapshotMode mode Declared In QCloudGenerateSnapshotConfiguration.h rotate 图片旋转方式:枚举值 * GenerateSnapshotRotateTypeAuto:按视频旋转信息进行自动旋转 * GenerateSnapshotRotateTypeOff:不旋转 @property (assign, nonatomic) QCloudGenerateSnapshotRotateType rotate Declared In QCloudGenerateSnapshotConfiguration.h format 截图的格式:枚举值 * GenerateSnapshotFormatJPG:jpg * GenerateSnapshotFormatPNG:png @property (assign, nonatomic) QCloudGenerateSnapshotFormat format Declared In QCloudGenerateSnapshotConfiguration.h