录制[ContinuousCaptureActivity]时如何在视频中添加音频[Grafika] [英] How to add Audio to Video while Recording [ContinuousCaptureActivity] [Grafika]

查看:121
本文介绍了录制[ContinuousCaptureActivity]时如何在视频中添加音频[Grafika]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 ContinuousCaptureActivity.java .很完美.

I implement Video recording using ContinuousCaptureActivity.java. it's work perfectly.

现在,我想在此视频中添加音频.

Now i want to add Audio in this video.

我知道使用 MediaMuxer 可以在视频中添加音频.

I know using MediaMuxer it is possible to add audio in video.

但是问题是我不知道如何使用MediaMuxer.

But the problem is i don't know how to i use MediaMuxer.

如果您还有其他没有MediaMuxer的解决方案,请与我分享任何链接或文档.

Also if you have any other solution without MediaMuxer then share with me any link or doc.

我也有演示 AudioVideoRecordingSample .但是我不明白如何将其与我的代码合并.

also i have demo AudioVideoRecordingSample. But i don't understand how to i merge this with my code.

如果有人知道,请向我解释.

please explain to me if anyone knows.

在此先感谢.

推荐答案

对不起,我来晚了.这就是你想要的.

Sorry, I am late. this is what you want.

https://github.com/Kickflip/kickflip-android-sdk

它还使用MediaCodec实现了编码,并使用ffmpeg上传了视频流.

It also implemented encoding with MediaCodec and upload video stream with ffmpeg.

这篇关于录制[ContinuousCaptureActivity]时如何在视频中添加音频[Grafika]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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