如何以编程方式记录当前屏幕活动的视频在android系统 [英] how to record video of current screen activity programmatically in android

查看:148
本文介绍了如何以编程方式记录当前屏幕活动的视频在android系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能从同一活动记录当前运行的活动的屏幕视频?
我知道如何利用当前活动的截图,但没有关于采取屏幕视频记录的任何想法。我将如何开始呢?我不知道如何下手了。

Is it possible to record screen video of current running activity from same activity ? I know how to take screenshot of current activity but don't have any idea about taking screen video record. How would I start with it ? I don't know how to start it.

推荐答案

有没有API的但在Android的直接做到这一点。但是,你可以把应用程序的屏幕截图,然后将它们合并做一个视频输出图像。

There are no APIs yet in Android to do this directly. However, you could take screenshots of the app, and then merge them to make a video out of the images.

然而,这个过程是相当繁琐,而且很可能会采取了大量的研究和调查。

However, this process is quite tedious, and would probably take a lot of research and investigation.

既然你知道如何采取截图,一个良好的起点将是寻找库/ API,这些API可以在一系列的图像,并将它们转换成视频。

Since you know how to take screenshots, a good starting point would be to look for libraries/APIs that can take in a series of images, and convert them into a video.

的ffmpeg / JMF 可能是两个很好的出发点。

ffmpeg/JMF could be two good starting points.

这篇关于如何以编程方式记录当前屏幕活动的视频在android系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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