排序
iOS UIImage 与 RGBA 相互转换
iOS UIImage 与 RGBA 相互转换 - UIImage 转 RGBA RGBA 转 UIImage iOS 视频图像开发中无法避免使用到 UIImage 与 Bytes Pixel 之间转换。bytes pixel 可以理解为将一张图片的所有像素点写到二...
AVFoundation – 将多个媒体合并(三) – 多个轨道,每个轨道对应一个单独的音频或者视频
AVFoundation – 将多个媒体合并(三) – 多个轨道,每个轨道对应一个单独的音频或者视频 - 为了避免导出失败,解决方案是提取视频资源 AVURLAsset 音频轨道和视频轨道,重新构建 AVComposition ...
AVFoundation – 将多个媒体合并(二) – 一个轨道多个视频无缝衔接
AVFoundation – 将多个媒体合并(二) - 一个轨道多个视频无缝衔接 - 为了避免导出失败,解决方案是提取视频资源 AVURLAsset 音频轨道和视频轨道,重新构建 AVComposition ,然后在使用 AVAssetE...
AVFoundation – AVVideoCompositionInstruction AVMutableVideoCompositionInstruction 操作指令
AVFoundation – AVVideoCompositionInstruction AVMutableVideoCompositionInstruction 操作指令 - AVVideoCompositionInstruction 继承自 NSObject ,封装了一组操作指令,由 AVVideoCompositi...
AVFoundation – AVCompositionTrackSegment 可变轨道片段
AVFoundation – AVCompositionTrackSegment 可变轨道片段 - AVCompositionTrackSegment 继承自AVAssetTrackSegment,AVAssetTrack的一个片段,由URL,轨道标识符和从源轨道到合成轨道的时间映...
AVFoundation – AVAssetTrackSegment 不可变轨道片段
AVFoundation – AVAssetTrackSegment 不可变轨道片段 - AVAssetTrackSegment 不可变轨道片段;AVCompositionTrackSegment 可变轨道片段,继承自 AVAssetTrackSegment;
AVFoundation – AVCompositionTrack AVMutableCompositionTrack 添加移除缩放媒体音视频轨道信息
AVFoundation – AVCompositionTrack AVMutableCompositionTrack 添加移除缩放媒体音视频轨道信息 - 1.不可变对象AVCompositionTrack AVCompositionTrack 继承自 AVAssetTrack ,该对象中的轨道...
AVFoundation – AVVideoComposition AVMutableVideoComposition 管理所有视频轨道
AVFoundation – AVVideoComposition AVMutableVideoComposition 管理所有视频轨道 - AVFoundation 类 API 中最核心的类是 AVVideoComposition / AVMutableVideoComposition 。 AVVideoComposit...
Object-C 保存文件到相册
Object-C 保存文件到相册 1.UIImageWriteToSavedPhotosAlbum 2.AssetsLibrary 3.PHPhotoLibrary Xcode – This app has attempted to access privacy-sensitive data without a usage descripti...
Object-C 加载 TTF/OTF/TTC 文件
Object-C 加载 TTF/OTF/TTC 文件 - /* *函数描述:加载字体并返回 * *参数: * fontName : 字体名字,并非字体文件 * fontSize : 字体大小 * *返回值:加载成功,返回字体,加载失败,返回nil...