简体   繁体   English

ffmpeg在Android上的视频http

[英]ffmpeg on android on a video http

I have to create such a file, on android from a video that is on http: 我必须从http上的视频在android上创建这样的文件:

So I have the following questions: 所以我有以下问题:

  1. Is there any way to use ffmpeg on android? 有什么办法可以在Android上使用ffmpeg吗?
  2. How much does it cost me to create this file? 创建此文件需要多少钱? Consider that we do not use the wifi connection and use the data connection, how much would it cost me in megabite? 考虑到我们不使用wifi连接,而是使用数据连接,以兆比特计我要花多少钱?

Assuming that the video is lasting 2 hours. 假设视频持续2个小时。

I'm not sure what exactly you want to create - whether it is combining multiple images into a video or combining multiple videos into a single grid, but as a quick note either way if you can do it server side you will have the luxury of more processing power, less battery usage concerns and possibly less bandwidth issues also. 我不确定您到底要创建什么-是将多个图像合并为一个视频还是将多个视频合并为一个网格,但是请注意,无论哪种方式,如果可以在服务器端实现,您将拥有更多的处理能力,更少的电池使用问题以及可能更少的带宽问题。

Assuming you do want to do it on Android, then one way to use ffmpeg which I have found worked well is to use a wrapper program. 假设您确实想在Android上做到这一点,那么我发现效果很好的一种使用ffmpeg的方法是使用包装程序。 One well supported example is here: 一个很好的示例在这里:

There may be newer ones now also. 现在可能还会有更新的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM