With images and audio there are multiple ways to do capture. Video capture is no exception; we don't have quite as many options as we do with audio, but we do have the ability to create a custom video capture example using the
In many ways, building a custom video capture application is a lot like building a custom camera application combined with a custom audio recording application. We have to create a SurfaceView for the camera to draw preview or viewfinder images on, just like we did with our custom camera examples from Chapter 2, and we'll use a
MediaRecorder for the actual recording, like we did in Chapter 7 for audio capture.
To use the
MediaRecorder for video capture, we ...