Android - 如何加入两个视频 [英] Android - How to join two videos

查看:32
本文介绍了Android - 如何加入两个视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本上,我正在寻找一种将两个 mp4 视频文件(在 sd 卡上)组合在一起的方法.更像是,在第一个视频的末尾附加第二个视频.我已经搜索了很多,但找不到合适的解决方案.(好吧,我根本找不到任何解决方案).

Basically, I am looking for a way to combine two mp4 video files (on the sd card) together. More like, appending the second video at the end of the first one. I have searched a lot, but couldn't find a suitable solution. (well I wasn't able to find any solution at all).

所以我的问题是,是否有可以组合(并可能修剪)视频的库安卓支持吗?

So my question is, Is there a library available that can combine (and possibly trim) videos supported by android?

我寻找的大多数 Java 库都依赖于平台,因为前 Xuggler 在这种情况下没有太大帮助.

Most of the java libraries I looked for this were platform dependent, for ex Xuggler was not much help in this case.

谢谢.

推荐答案

您可以使用 mp4parser 库来附加 视频.问题是文档有限.

You can use the mp4parser library to append videos. The problem is the limited documentation.

这篇关于Android - 如何加入两个视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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