I am writing a program to record video from an Android camera. I was able to record it and save it as mp4. But I want to record and save it as flv. Here is my media recorder configuration. Can you tell me how can I change it to record in FLV format?
mMediaRecorder.setPreviewDisplay(surface);
mMediaRecorder.setCamera(mCamera);
mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
mMediaRecorder.setOutputFile(this.initFile().getAbsolutePath());
mMediaRecorder.setMaxDuration(50000);
mMediaRecorder.setVideoFrameRate(15);
mMediaRecorder.setVideoSize(320, 240);
mMediaRecorder.setVideoEncodingBitRate(100000);
mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
source
share