视频录制格式的Android(名为.3gp或MP4)? [英] Video recording format(.3gp or mp4) in android?
本文介绍了视频录制格式的Android(名为.3gp或MP4)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我用的是意图
MediaStore.ACTION_VIDEO_CAPTURE
视频录制方法。
I use the Intent
MediaStore.ACTION_VIDEO_CAPTURE
video recording method.
在默认情况下,录制的视频存储为名为.3gp
文件。我想记录并存储视频作为 .MP4
文件。
By default, the recorded video is stored as a .3gp
file. I want to record and store the video as a .mp4
file.
这可能吗?
推荐答案
是的,你可以有一个MP4输出格式,MP4仅仅是一个容器:请参见这个要知道什么样的数据流,你可以在其中存储。
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.
MPEG_4 MPEG4 media file format
这篇关于视频录制格式的Android(名为.3gp或MP4)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文