2

Is it possible to set file Format and encoder format for video while using native camera via Intent with flag ACTION_VIDEO_CAPTURE?

4

1 回答 1

1

是的

MediaRecorder's设置OutputFormatMPEG_4,如下所示:

recorder = new MediaRecorder(); 
recorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);

This other SO answer也完美地描述了它。

于 2014-03-15T19:34:24.303 回答