Android:处理手机上的视频和声音
我想合并声音文件和视频文件(从视频文件中删除声音并用我自己的声音替换),这应该发生在手机上。 我已经通过 ffmpeg 做到了这一点,但现在不能这样做。
任何帮助表示赞赏, 10 倍, 丹尼尔
I want to merge a sound file and a video file (remove the sound from the video file and replace it with my own sound) and this should happen on the phone.
I have done this through ffmpeg, but I can't do that now.
Any help appreciated,
10x,
Danail
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您唯一的希望就是使用 NDK 创建一个 C/ C++ 库,也许利用 ffmpeg 逻辑。或者,也许找到一个 ffmpeg ARM 端口并通过 Runtime.exec() 运行它。
事实上,我怀疑手机 CPU 能否很快完成这一任务。
Your only hope of doing that will involve using the NDK to create a C/C++ library, perhaps leveraging ffmpeg logic. Or, perhaps find an
ffmpeg
ARM port and run it viaRuntime.exec()
.In reality, I am skeptical that a phone CPU will do this very quickly.