AVAssetExportSession翻译
来源:互联网 发布:淘宝马克华菲折扣店 编辑:程序博客网 时间:2024/06/11 10:57
@class AVAssetExportSession
@abstract
一个AVAssetExportSession创建一个新的timed media resource, 这个resource来自一个已存在的被一个指定的输出预设描述的AVAsset的内容。
@discussion
1.在实例化一个AVAssetExportSession之前,你可以调用+allExportPresets来确保所有的预设值列表有效。调用+exportPresetsCompatibleWithAsset:来确保所有的预设值对一个特定的AVAsset是兼容的。
2.要配置一个export,用一个包含了source media, an AVAssetExportPreset, the output file type, (a UTI string from
those defined in AVMediaFormat.h) and the output URL的AVAsset来实例化一个AVAssetExportSession。
3.在配置完成之后,调用exportAsynchronouslyWithCompletionHandler: 来开始export process。这个方法立即返回,这个export是异步执行的。调用-progress方法来查看进度。注意在某些情况下,取决于设备的能力,当多个exports同时执行时,有些exports可能需要排队知道其他exports完成。当这种情况发生时,queued export的status将指示”waiting”。
4.当这个export fails, completes, or is cancelled,你提供的completion handler将被调用。Upon
completion, the status property indicates whether the export has completed
successfully. If it has failed, the value of the error property supplies additional
information about the reason for the failure.
- AVAssetExportSession翻译
- AVAssetExportSession的问题
- AVAssetExportSession progress KVO
- AVAssetExportSession 视频转码
- ios AVAssetExportSession的使用完整版
- iOS 两个视频首尾合并- AVAssetExportSession
- AVAssetExportSession 导出视频无法完成操作
- AVAssetExportSession的exportAsynchronouslyWithCompletionHandler:回调不执行的原因
- iOS AVAssetExportSession视频进行转码、裁剪
- Converting Audio (mp3 etc) files to m4a with AVAssetExportSession
- AVAssetExportSession 模拟器iphone5s iOS7.1 下初始化为nil
- 翻译
- 翻译
- 翻译
- 翻译
- 翻译
- 翻译
- 翻译
- 如何基于西安80坐标查询定位
- 嵌入式学习日记(六)
- Kotlin实战02 — Kotlin基础
- RNN网络结构及公式推导
- hdu 1069 monkey and banana
- AVAssetExportSession翻译
- Codeforces Round #383 (Div. 2) 742A Arpa’s hard exam and Mehrdad’s naive cheat
- 代码版本控制
- 【mysql】线上数据库sql文件导入本地错误的一种解决方案
- VUE2.0中echarts图表的使用
- CentOS 7下Python2与Python3共存
- 关于keil调试不能下断点的问题解决
- hdu1873
- 为对应的xml文件加上智能的代码提示