Summary of related Video APIs

Video Recorder API (S60 API, published in S60 3.0 SDK):
-What it can do: record audio & video (or video only) into a file (only a file). The application can choose the file format, the video codec and the audio codec. This API uses the Media Recorder API, so the combinations for file format, audio codec and video codec are the same.
-Advantages: high-level API, easy to use, in the public SDK
-Disadvantages: recording only to file, limited to the file format & codec combinations supported by the Media Recorder API

Media Recorder API (S60 API, published in S60 3.0 SDK plug-in):
-What it can do: record audio & video (or video only) into memory buffers. The application can choose the video and audio codecs:
Audio: AMR-NB, AAC-LC, QCELP (Qualcomm PureVoice)
-Advantages: simple (almost as simple as CVideoRecorderUtility), probably easy to use. Probably has better Audio-Video synchronization than what can be achieved by a 3rd party with MDF DevVideoRecord. It hides HW dependencies of the codecs it uses. Probably has better performance than what a 3rd party can do with MDF DevVideoRecord, as S60 has done device-specific tunings.
-Disadvantages: In the SDK plugin, no binary compatibility promise. A bit MMF-centric (audio source is an MDataSource class).

MDF DevVideoRecord (Symbian Partner API)
-What it can do: record video to memory (for audio recording DevSound should be used). It also requires CCamera API. It can record H.263 and MPEG-4 video (there are no other video encoders on phones). Together with DevSound API, more audio-video codecs combinations may be possible (e.g. H.263 and G.711).
-Advantages: in theory, it gives complete freedom to developers.
-Disadvantages: this is the most complex API from all 3. Audio recording and synchronization have to be done separately. Direct capture may be tricky on some HW platforms. Developer must join Symbian Platinum program to get access this API.[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8672577/viewspace-917340/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/8672577/viewspace-917340/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值