将电影分成两部分,然后将其中一部电影与另一部电影连接起来 [英] split a movie into two parts an then concatenate one of the movie with another movie

查看:203
本文介绍了将电影分成两部分,然后将其中一部电影与另一部电影连接起来的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个ios6应用程序,我必须将电影分成两部分,取一部分,然后将其与其他影片剪辑连接起来。
我试过ffmpeg但是无法编译ffmpeg,有没有其他方法可以做到这一点?

I am working on an ios6 app in which I have to split a movie into two parts, take one part of it and then concatenate it with other movie clip. I tried ffmpeg but could not compile ffmpeg, is there any other way to do this?

如果你有任何解决办法,任何人都可以帮助我问题

Can any one help me out if you have any solution to this problem

提前致谢

推荐答案

您使用的是AVMutableComposition类。

you use the AVMutableComposition class.

请参阅:如何使用AVFoundation组合具有不同方向的视频剪辑

以及SO上的多个其他答案,说明如何使用class

as well as multiple other answers here on SO that show how to use the class

这篇关于将电影分成两部分,然后将其中一部电影与另一部电影连接起来的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆