AVFoundation共30篇 第2页
AVFoundation – AVVideoCompositionInstruction AVMutableVideoCompositionInstruction 操作指令-猿说编程

AVFoundation – AVVideoCompositionInstruction AVMutableVideoCompositionInstruction 操作指令

AVFoundation – AVVideoCompositionInstruction AVMutableVideoCompositionInstruction 操作指令 - AVVideoCompositionInstruction 继承自 NSObject ,封装了一组操作指令,由 AVVideoCompositi...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
013653
AVFoundation – AVCompositionTrack AVMutableCompositionTrack 添加移除缩放媒体音视频轨道信息-猿说编程

AVFoundation – AVCompositionTrack AVMutableCompositionTrack 添加移除缩放媒体音视频轨道信息

AVFoundation – AVCompositionTrack AVMutableCompositionTrack 添加移除缩放媒体音视频轨道信息 - 1.不可变对象AVCompositionTrack AVCompositionTrack 继承自 AVAssetTrack ,该对象中的轨道...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
07823
AVFoundation – AVVideoComposition AVMutableVideoComposition 管理所有视频轨道-猿说编程

AVFoundation – AVVideoComposition AVMutableVideoComposition 管理所有视频轨道

AVFoundation – AVVideoComposition AVMutableVideoComposition 管理所有视频轨道 - AVFoundation 类 API 中最核心的类是 AVVideoComposition / AVMutableVideoComposition 。 AVVideoComposit...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
016104
AVFoundation - AVAssetExportSession 导出视频到沙盒目录-猿说编程

AVFoundation – AVAssetExportSession 导出视频到沙盒目录

AVFoundation - AVAssetExportSession 导出视频到沙盒目录 AVAsset 是 AVFoundation 框架中的核心的类,它提供了基于时间的音视频数据.(如电影文件,视频流),一个 asset 包含很多轨道的结合,如 au...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
013243
AVFoundation – AVComposition  AVMutableComposition 将多个媒体合并-猿说编程

AVFoundation – AVComposition AVMutableComposition 将多个媒体合并

AVComposition AVMutableComposition 将多个媒体合并 - AVFoundation 框架中提供了丰富的接口用于视听资源的编辑,其中的关键是 composition ,它将不同的 AVAsset 相结合并形成一个新的 AVAsse...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
019741
AVFoundation – AVQueuePlayer 播放多个媒体文件-猿说编程

AVFoundation – AVQueuePlayer 播放多个媒体文件

AVQueuePlayer 播放多个媒体文件 - 使用该方法在 AVPlayer 播放多个视频时,是很容易出现性能问题的,切换视频时会存在卡顿现象,尤其在视频内容比较多的时候,无法完美衔接,中间会有一个短暂...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
013802
AVFoundation – AVPlayerLayer 显示视频-猿说编程

AVFoundation – AVPlayerLayer 显示视频

AVPlayerLayer 显示视频 - AVPlayerLayer 构建于 Core Animation 之上,是 AVFoundation 中位数不多的可见组件。AVPlayerLayer 扩展了 Core Animation 的 CALayer 类,通过框架在屏幕上显示视频...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
09752
AVFoundation – AVPlayerItem 管理资源对象-猿说编程

AVFoundation – AVPlayerItem 管理资源对象

AVPlayerItem 管理资源对象 - AVPlayerItem 作为资源管理对象,它控制着视频从创建到销毁的诸多状态。 //播放状态 status typedef NS_ENUM(NSInteger,AVPlayerItemStatus) { AVPlayerItemStatus...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
013332
AVFoundation – AVPlayer 播放视频-猿说编程

AVFoundation – AVPlayer 播放视频

AVFoundation – AVPlayer 播放视频 - AVPlayer 控制播放器的播放,暂停,播放速度;注意更改播放速度要在视频开始播放之后才会生效; AVPlayerItem 管理资源对象,提供播放数据源; AVPlayerLay...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
014233
AVFoundation - AVAssetExportSession 裁剪/转码-猿说编程

AVFoundation – AVAssetExportSession 裁剪/转码

AVAssetExportSession 裁剪/转码 - /* 参数: asset :要导出的会话 presetName :字符串常量 */ - (instancetype)initWithAsset:(AVAsset *)asset presetName:(NSString *)presetName; + (inst...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
020643