TuSDKMediaMovieAssetExportSessionSettings Class Reference

Inherits from NSObject
Declared in TuSDKMediaMovieAssetExportSession.h

  outputURL

导出的地址

@property (nonatomic) NSURL *outputURL

Availability

v3.0

Declared In

TuSDKMediaMovieAssetExportSession.h

  isMixAudio

是否有音频混合

@property (nonatomic, assign) BOOL isMixAudio

Availability

v3.4.2

Declared In

TuSDKMediaMovieAssetExportSession.h

  tempOutputURL

导出过程中临时文件的地址

@property (nonatomic) NSURL *tempOutputURL

Availability

v3.4.2

Declared In

TuSDKMediaMovieAssetExportSession.h

  outputSize

输出的视频size

@property (nonatomic) CGSize outputSize

Availability

v3.0

Declared In

TuSDKMediaMovieAssetExportSession.h

  aspectOutputRatioInSideCanvas

设定输出 outputSize 时比例不一致时是否自适应画布大小 默认:NO

@property (nonatomic) BOOL aspectOutputRatioInSideCanvas

Availability

v3.3.1

Declared In

TuSDKMediaMovieAssetExportSession.h

  outputRegion

设置画面显示区域 默认:(CGRectMake(0,0,1,1) 完整画面) aspectOutputRatioInSideCanvas aspectOutputRatioInSideCanvas 为 NO 时可用

@property (nonatomic) CGRect outputRegion

Availability

v3.0

Declared In

TuSDKMediaMovieAssetExportSession.h

  outputFileType

输出的文件类型, 默认:lsqFileTypeQuickTimeMovie

@property (nonatomic) lsqFileType outputFileType

Availability

v3.0

Declared In

TuSDKMediaMovieAssetExportSession.h

  outputVideoQuality

输出的视频画质

@property (nonatomic) TuSDKVideoQuality *outputVideoQuality

Availability

v3.0

Declared In

TuSDKMediaMovieAssetExportSession.h

  shouldPassthroughAudioSettings

是否根据音频数据设置音频配置

@property (readwrite, nonatomic) BOOL shouldPassthroughAudioSettings

Availability

v3.0

Declared In

TuSDKMediaMovieAssetExportSession.h

  outputTransform

@property transform @abstract The transform specified in the output file as the preferred transformation of the visual media data for display purposes.

@property (nonatomic) CGAffineTransform outputTransform

Discussion

@discussion If no value is specified, the identity transform is used.

This property cannot be set after writing on the receiver’s AVAssetWriter has started.

Declared In

TuSDKMediaMovieAssetExportSession.h

  enableExportAssetSound

指定是否导出视频原音 默认:YES

@property (nonatomic, assign) BOOL enableExportAssetSound

Availability

v3.0

Declared In

TuSDKMediaMovieAssetExportSession.h

  videoComposition

@property videoComposition @abstract The composition of video used by the receiver.

@property (nonatomic, nullable) AVVideoComposition *videoComposition

Discussion

@discussion The value of this property is an AVVideoComposition that can be used to specify the visual arrangement of video frames read from each source track over the timeline of the source asset.

This property cannot be set after reading has started.

Declared In

TuSDKMediaMovieAssetExportSession.h

  waterMarkImage

设置水印图片

@property (nonatomic, retain) UIImage *waterMarkImage

Availability

v3.0

Declared In

TuSDKMediaMovieAssetExportSession.h

  waterMarkPosition

水印位置,默认 lsqWaterMarkBottomRight 若视频有位置相关旋转 应在设置videoOrientation后调用该setter方法

@property (nonatomic) lsqWaterMarkPosition waterMarkPosition

Availability

v3.0

Declared In

TuSDKMediaMovieAssetExportSession.h