作者givemepass (〆)
看板AndroidDev
标题[问题] MediaRecorder setVideoEncoder 预设格式
时间Fri Apr 27 09:13:29 2012
大家好
小弟在使用MediaRecorder的时候, 使用setVideoEncoder方法,
必须传入MediaRecorder.VideoEncoder这个类别的常数,
有
int DEFAULT
int H263
int H264
int MPEG_4_SP
其中有一个常数是DEFAULT,
但是他的说明只是简短的Constant Value: 0 (0x00000000)
请问这个是什麽格式?H263? H264?还是MP4?
--
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.221.115.4
1F:→ gpc:int吧 看起来就像 你可以把油标移到setVideoEncoder上面 会写 04/27 10:33
2F:→ givemepass:痾 我的意思是指 H263还是H264还是MP4的格式 04/27 11:16
※ 编辑: givemepass 来自: 61.221.115.4 (04/27 11:17)
3F:→ iincho:H263..不过底下可能会修....所以答案是不一定....看机器 04/27 15:40
4F:→ iincho:像我们手上的因为硬体支援的关系就直接给H.264.... 04/27 15:41
5F:→ iincho:所以只能说写Android App的话自己保重(疑? 04/27 15:41
6F:→ givemepass:感谢楼上的解释 05/23 08:30
7F:→ givemepass:要看机器预设的 spec会有写的样子 01/21 09:46