MusicPlus
MusicPlus基于MediaExtractor、MediaMuxer、和MediaCodec等工具类,来实现了对视频中音频的提取,然后和其他音频进行混音后,再用新的音频来合成新的视频。如果你对于音频格式之间的转换感兴趣,比如WAV转ACC格式,也可以在其中找到相关的代码。
Note
- 由于视频录制的时候会把播放的背景音乐一起录进去,因此在录制包含视频音轨的视频时,记得带上耳机。
- 更多介绍: http://www.darcye.com/article/00301860
MusicPlus based MediaExtractor, MediaMuxer, and MediaCodec and other tools to achieve extraction of audio video, and then after the other audio mix, then a new audio to synthesize new video. If you are interested to convert between audio formats, you can also find the relevant code in them.
https://yedaxia.github.io/Android-MediaExtractor-And-MediaCodec/
MusicPlus基于MediaExtractor、MediaMuxer、和MediaCodec等工具类,来实现了对视频中音频的提取,然后和其他音频进行混音后,再用新的音频来合成新的视频。如果你对于音频格式之间的转换感兴趣,比如WAV转ACC格式,也可以在其中找到相关的代码。
MusicPlus based MediaExtractor, MediaMuxer, and MediaCodec and other tools to achieve extraction of audio video, and then after the other audio mix, then a new audio to synthesize new video. If you are interested to convert between audio formats, you can also find the relevant code in them.
https://yedaxia.github.io/Android-MediaExtractor-And-MediaCodec/
Apache License 2.0