Vito

Results 40 comments of Vito

overlays 里面设置的是 TrackItem, TrackItem 内有 videoConfiguration 可以设置滤镜,获得每一帧图片

# For the question If `t.startTime = embed.insertTime` is not **zero**, you should add a empty resource, and it's timeRange is **0 to t.startTime**. Make sure the track is full....

我最近比较忙,没有时间处理,你可以帮助 Cabbage 做一下支持并提交一个 pull request 吗? 需要: - 支持 Carthage - 更新 README 说明

原视频和生成后的视频贴一下看看?

You can control audio effect by only rebuild AudioMix and replace the player's audioMix

Fixed on 61c64d3 You may try it out, I'm a lot busy recently, reply maybe not very timely

Hi I think it's not possible to use a transparent video, video files only contain YUV data, we can't get the alpha value from YUV data. You may change your...

I add a demo to show how to support HDR video, you can pull the latest code. https://github.com/VideoFlint/Cabbage/commit/41c78700c32b3814eaa242a3b4fe9323e14d63fc#diff-2dc4dc28f7aa306658725e96363ac9a93d6e8642d3435f0b5a15407b463ed796R128 HDR could be supported by subclass `VideoCompositor`

your issue maybe because the audio time is bigger than the video time, you can try to cut the audio time or extend the video time

最近比较忙,没有时间搞这个 demo。 用 AVVideoCompositionCoreAnimationTool 只能离线下使用,如导出、截图的情况。使用 AVPlayerItem 做实时预览需要把 lottie 的 layer 添加到 AVSynchronizedLayer 上,AVSynchronizedLayer 再添加到播放视图上进行预览。 这个方案的实现方式比较蛋疼,渲染和预览需要走两套逻辑,所以我就没在项目里面写。