AVVideoCompositionCoreAnimationTool not work --没有显示CALayer
在视频合成的时候 设置了AVVideoCompositionCoreAnimationTool 但是在合成视频 无AnimationLayer 的显示
你可以能需要更改
open var instructions: [AVVideoCompositionInstructionProtocol]
public protocol AVVideoCompositionInstructionProtocol : NSObjectProtocol {/* If NO, indicates that post-processing should be skipped for the duration of this instruction.See +[AVVideoCompositionCoreAnimationTool videoCompositionToolWithPostProcessingAsVideoLayer:inLayer:].*/var enablePostProcessing: Bool { get }/* If YES, rendering a frame from the same source buffers and the same composition instruction at 2 differentcompositionTime may yield different output frames. If NO, 2 such compositions would yield thesame frame. The media pipeline may me able to avoid some duplicate processing when containsTweening is NO */var containsTweening: Bool { get }
需要自定义的 实现 AVVideoCompositionInstructionProtocol 协议的 实例对象设置
enablePostProcessing = true
官方文档这句话 需要注意一下
If NO, indicates that post-processing should be skipped for the duration of this instruction.
See +[AVVideoCompositionCoreAnimationTool videoCompositionToolWithPostProcessingAsVideoLayer:inLayer:].
AVVideoCompositionCoreAnimationTool not work --没有显示CALayer相关推荐
- UI一揽子计划 23 (动画的使用场景、UIView动画、CGAffineTransform2D仿射变换、CALayer、CAAnimation、)
在iOS 中的动画是指一些视图上的过渡效果,合理利用动画能提高用户体验. 一. UIView动画 1). UIView动画块的使用 ([UIView beginAnimations: nil cont ...
- 网格变形动画MeshTransform
原文:Mesh Transforms 作者:Bartosz Ciechanowski 译者:kmyhy 我是 transform 属性的超级粉丝.让 UIView 或者 CALayer 的形体发生改变 ...
- 用instrument的僵尸工具
方法一: PAEHoldTranMainControl *control = [[PAEHoldTranMainControl alloc]init]; [self.navigationControl ...
- UI课程23 动画
1.知识点图 属性动画 //开始动画[UIView beginAnimations:nil context:nil];//设置动画时间[UIView setAnimationDuration:5];/ ...
- ORACLE-SQL笔记
-- 首先,以超级管理员的身份登录oracle <span id="172_nwp" style="width: auto; height: auto; float ...
- Android开发从入门到精通
Android开发从入门到精通 --Android经典教程 目 录 目 录 1 第一章 什么是Android 1 什么是Android - 嵌入式设备编程的历史-第一章(1) 1 开放手机联盟和And ...
- iOS 中的渲染框架:CALayer 是显示的基础,存储 bitmap
文章目录 前言 I .各个渲染框架 1.1 Core Animation 是什么 1.2 Core Animation 的职责 II CALayer 是显示的基础:存储 bitmap III.CALa ...
- 【动画2】CALayer动画
一)UIView动画 二)CoreAnimation动画 前言:上一篇已经介绍了UIKit给我们封装好的UIView动画的使用,UIKit动画是建立在CoreAnimation动画之上的,CoreAn ...
- [分享]iOS开发-UI篇:CAlayer层的属性
iOS开发UI篇-CAlayer层的属性 一.position和anchorPoint 1.简单介绍 CALayer有2个非常重要的属性:position和anchorPoint @property ...
最新文章
- TypeScript--类
- python graphviz工具的使用
- lumanager mysql_LuManager单独安装mysqli
- Safari 14.0 的功臣 Webp?
- 使用Sense操作ElasticSearch CRUD
- SAP Spartacus里cx-carousel的实现
- 支付宝瓜分9亿,20倍大概能分到多少钱?
- 【2022】JVM常见面试真题详解
- Python 检测字符串开始值String.StartsWith 方法
- Noip 2016 Day1 题解
- 关于Qt学习之路2:8、添加动作 这一节课 发现里面的程序运行后没有图标
- torch.nn模块介绍
- 如何写一手好 SQL!!!
- 同花顺linux 行情软件,GitHub - zhnlks/puppet: 简单的股票程序化交易系统。核心模块基于同花顺和通达信金融终端。用户交流群:624585416...
- 数据分析思维(极客时间)
- 996工作制,还要抽时间提升自己吗?
- kali清理_linux下清理系统垃圾
- 举个栗子!Tableau 技巧(109):用 LOD 计算产品销售周期
- Python 导出微信电子相册中的照片
- 与10.110.12.30 mask 255.255.255.224属于同一网段的主机IP地址是?