I use the Intent
MediaStore.ACTION_VIDEO_CAPTURE
video recording method.
By default, the recorded video is stored as a .3gp
file. I want to record and store the video as a .mp4
file.
Is this possible?.
I use the Intent
MediaStore.ACTION_VIDEO_CAPTURE
video recording method.
By default, the recorded video is stored as a .3gp
file. I want to record and store the video as a .mp4
file.
Is this possible?.
Yes, you can have an mp4 output format, mp4 is just a container : see this to know what kind of data streams you can store in it.
Also refer to this
Yes
Set the
MediaRecorder
'sOutputFormat
toMPEG_4
, like so:This other SO answer describes it perfectly, as well.