I have created functionality to record video in my app.
When I play a song, that song is recorded with video and a video file is created, similar to a dubshmash app
You can use a MediaRecorder without calling setAudio* on it. remove this line
mediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);
see this link