如何添加视频记录的文字? [英] How to add text on video recording?

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

问题描述

我搜索很多,但没有找到任何解决方案。我的问题是如何将文本添加到视频录制的同时,使我们可以得到相同的文字,当我们看到视频。我想是这样的,当我看到拍摄的视频。 目前,我得到的时间和视频sepratly。所以,问题是如何结合it.Any怎样的帮助将是AP preciated.Thanks提前..

I search lot but not find any solution. My question is how to add text to video while recording so that we can get same text when we see video. I want something like this when i see capture video. Currently i am getting time and video sepratly. So issue is how to combine it.Any kind of help will be appreciated.Thanks in advance..

推荐答案

这是一个pretty的难以解决的一般解决采用了android假设你试图将文本添加到实际的视频文件,而不是简单地显示一个的TextView 通过 VideoView 。你提到,你现在有时间和视频分开,所以我想你想添加文本到视频文件本身。

This is a pretty difficult problem to solve generally using android assuming that you are attempting to add the text to the actual video file, and not simply displaying a TextView over a VideoView. You mention that you currently have the time and video separately, so I assume you are trying to add text to the video file itself.

为了将文本添加到您需要重新连接code中的实际设备上的视频录像。重新编码在Android上的视频是棘手主要是由于Android手机不同的处理器,并且该编码是取决于处理器。这里是一个开源的iOS库名为 GPUImage ,可以让你做到这一点,但是这家饭店目前无法在Android上。

In order to add text to a video you would need to re-encode the video on the actual device. Re-encoding video on Android is tricky primarily due to the different processors on Android phones, and that encoding is processor dependent. There is an open source iOS library called GPUImage that allows you to do this, but this is unfortunately not available on Android.

已经有一些努力来编译FFMPEG为Android(这在理论上允许这种发生的事情),但是这涉及到一些具有潜在的C ++ code严肃的工作,而且我还没有发现任何应用程序实现这只是在许多设备上(看看这个视频转换器,并注意针对不同的手机<一href="https://play.google.com/store/apps/details?id=roman10.media.converter.v7neon&feature=more_from_developer#?t=W251bGwsMSwxLDEwMiwicm9tYW4xMC5tZWRpYS5jb252ZXJ0ZXIudjduZW9uIl0.">different <一href="https://play.google.com/store/apps/details?id=roman10.media.converter.v7vfp3&feature=more_from_developer#?t=W251bGwsMSwxLDEwMiwicm9tYW4xMC5tZWRpYS5jb252ZXJ0ZXIudjd2ZnAzIl0.">$c$ccs需要下载)。对于一个具体的设备,你可能有更多的运气,但如果你正在寻找容易的分布在整个的许多的设备,你可能很难有时间做这个。

There has been some effort to compile FFMPEG for Android (which would theoretically allow this kind of thing to occur), but this involves some serious work with underlying C++ code, and I haven't found any application that implements this simply on many devices (check out this video converter, and notice how for different phones different codecs need to be downloaded). For one specific device you may have more luck, but if you are looking for easy distribution across many devices you may have a hard time doing this.

在这个时候,对于这个问题没有简单的解决方案。

At this time, there is no easy solution for this problem.

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

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