排序
AVFoundation – AVVideoCompositionInstruction AVMutableVideoCompositionInstruction 操作指令
AVFoundation – AVVideoCompositionInstruction AVMutableVideoCompositionInstruction 操作指令 - AVVideoCompositionInstruction 继承自 NSObject ,封装了一组操作指令,由 AVVideoCompositi...
AVFoundation – AVCompositionTrack AVMutableCompositionTrack 添加移除缩放媒体音视频轨道信息
AVFoundation – AVCompositionTrack AVMutableCompositionTrack 添加移除缩放媒体音视频轨道信息 - 1.不可变对象AVCompositionTrack AVCompositionTrack 继承自 AVAssetTrack ,该对象中的轨道...
AVFoundation – AVVideoComposition AVMutableVideoComposition 管理所有视频轨道
AVFoundation – AVVideoComposition AVMutableVideoComposition 管理所有视频轨道 - AVFoundation 类 API 中最核心的类是 AVVideoComposition / AVMutableVideoComposition 。 AVVideoComposit...
AVFoundation – AVAssetExportSession 导出视频到沙盒目录
AVFoundation - AVAssetExportSession 导出视频到沙盒目录 AVAsset 是 AVFoundation 框架中的核心的类,它提供了基于时间的音视频数据.(如电影文件,视频流),一个 asset 包含很多轨道的结合,如 au...
AVFoundation – AVComposition AVMutableComposition 将多个媒体合并
AVComposition AVMutableComposition 将多个媒体合并 - AVFoundation 框架中提供了丰富的接口用于视听资源的编辑,其中的关键是 composition ,它将不同的 AVAsset 相结合并形成一个新的 AVAsse...
AVFoundation – AVQueuePlayer 播放多个媒体文件
AVQueuePlayer 播放多个媒体文件 - 使用该方法在 AVPlayer 播放多个视频时,是很容易出现性能问题的,切换视频时会存在卡顿现象,尤其在视频内容比较多的时候,无法完美衔接,中间会有一个短暂...
AVFoundation – AVPlayerLayer 显示视频
AVPlayerLayer 显示视频 - AVPlayerLayer 构建于 Core Animation 之上,是 AVFoundation 中位数不多的可见组件。AVPlayerLayer 扩展了 Core Animation 的 CALayer 类,通过框架在屏幕上显示视频...
AVFoundation – AVPlayerItem 管理资源对象
AVPlayerItem 管理资源对象 - AVPlayerItem 作为资源管理对象,它控制着视频从创建到销毁的诸多状态。 //播放状态 status typedef NS_ENUM(NSInteger,AVPlayerItemStatus) { AVPlayerItemStatus...
AVFoundation – AVPlayer 播放视频
AVFoundation – AVPlayer 播放视频 - AVPlayer 控制播放器的播放,暂停,播放速度;注意更改播放速度要在视频开始播放之后才会生效; AVPlayerItem 管理资源对象,提供播放数据源; AVPlayerLay...
AVFoundation – AVAssetExportSession 裁剪/转码
AVAssetExportSession 裁剪/转码 - /* 参数: asset :要导出的会话 presetName :字符串常量 */ - (instancetype)initWithAsset:(AVAsset *)asset presetName:(NSString *)presetName; + (inst...