Android的 - 拍摄的视频与水印水印、视频、Android

2023-09-05 05:14:57 作者:好梦总被尿憋醒

我知道如何捕捉视频的Andr​​oid设备,但我想捕捉视频并添加就可以了,例如一些其他的信息一些有趣的时钟进度,并保存所有文件,以便在观看视频的人会看到捕获的确切时间。我还要补充一些水印。 你知不知道我该怎么做,或是否有可能在Android设备?我读了API,但无法找到任何可以帮助我。

I know how to capture video on android device, but i would like to capture video and add some other information on it e.g. some funny timeclock and save it all to file so the person watching the video will see the exact time of capturing. I would also like to add some watermark. Do you know how can i do it or is it possible on android device? I read the API but couldnt find anything that could help me.

推荐答案

其实,我不认为这是可能的。您可以获取从相机preVIEW视频帧,但有没有什么好办法来恩code他们的视频。标准视频连接codeR(MediaRecorder)只能记录实际的相机直接输入到一个视频文件。

I actually don't think that's possible. You can fetch video frames from a camera preview, but there's no good way to encode them to video. The standard video encoder (MediaRecorder) can only record the actual direct camera input into a video file.