iphone ios 视频采集AVCaptureSessionPresetHigh/Medium/Low分辨率等参数
2011-10-08 10:24
633 查看
以下大家友情支持一下:
做了一个产品,需要人气支持一下,android和iphone上91市场搜索#super junior粉丝团#,或者直接到页面下载http://m.ixingji.com/m.html?p=X16,大家帮忙捧捧场
做视频capture的时候老是要用到这些参数,记录一下,以下均来自官网
http://developer.apple.com/library/mac/#documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/04_MediaCapture.html#//apple_ref/doc/uid/TP40010188-CH5-SW3
You use an
if you want to capture still images with accompanying metadata. The resolution of the image depends on the preset for the session, as illustrated in this table:
Different devices support different image formats:
做了一个产品,需要人气支持一下,android和iphone上91市场搜索#super junior粉丝团#,或者直接到页面下载http://m.ixingji.com/m.html?p=X16,大家帮忙捧捧场
做视频capture的时候老是要用到这些参数,记录一下,以下均来自官网
http://developer.apple.com/library/mac/#documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/04_MediaCapture.html#//apple_ref/doc/uid/TP40010188-CH5-SW3
Symbol | Resolution | Comments |
---|---|---|
AVCaptureSessionPresetHigh | High | Highest recording quality. This varies per device. |
AVCaptureSessionPresetMedium | Medium | Suitable for WiFi sharing. The actual values may change. |
AVCaptureSessionPresetLow | Low | Suitable for 3G sharing. The actual values may change. |
AVCaptureSessionPreset640x480 | 640x480 | VGA. |
AVCaptureSessionPreset1280x720 | 1280x720 | 720p HD. |
AVCaptureSessionPresetPhoto | Photo | Full photo resolution. This is not supported for video output |
Preset | iPhone 3G | iPhone 3GS | iPhone 4 (Back) | iPhone 4 (Front) |
---|---|---|---|---|
High | No video Apple Lossless | 640x480 3.5 mbps | 1280x720 10.5 mbps | 640x480 3.5 mbps |
Medium | No video Apple Lossless | 480x360 700 kbps | 480x360 700 kbps | 480x360 700 kbps |
Low | No video Apple Lossless | 192x144 128 kbps | 192x144 128 kbps | 192x144 128 kbps |
640x480 | No video Apple Lossless | 640x480 3.5 mbps | 640x480 3.5 mbps | 640x480 3.5 mbps |
1280x720 | No video Apple Lossless | No video 64 kbps AAC | No video 64 kbps AAC | No video 64 kbps AAC |
Photo | Not supported for video output | Not supported for video output | Not supported for video output | Not supported for video output |
Feature | iPhone 3G | iPhone 3GS | iPhone 4 (Back) | iPhone 4 (Front) |
---|---|---|---|---|
Focus mode | NO | YES | YES | NO |
Focus point of interest | NO | YES | YES | NO |
Exposure mode | YES | YES | YES | YES |
Exposure point of interest | NO | YES | YES | YES |
White balance mode | YES | YES | YES | YES |
Flash mode | NO | NO | YES | NO |
Torch mode | NO | NO | YES | NO |
Capturing Still Images
You use an AVCaptureStillImageOutputoutput
if you want to capture still images with accompanying metadata. The resolution of the image depends on the preset for the session, as illustrated in this table:
Preset | iPhone 3G | iPhone 3GS | iPhone 4 (Back) | iPhone 4 (Front) |
---|---|---|---|---|
High | 400x304 | 640x480 | 1280x720 | 640x480 |
Medium | 400x304 | 480x360 | 480x360 | 480x360 |
Low | 400x304 | 192x144 | 192x144 | 192x144 |
640x480 | N/A | 640x480 | 640x480 | 640x480 |
1280x720 | N/A | N/A | 1280x720 | N/A |
Photo | 1600x1200 | 2048x1536 | 2592x1936 | 640x480 |
Pixel and Encoding Formats
Different devices support different image formats:iPhone 3G | iPhone 3GS | iPhone 4 |
---|---|---|
yuvs, 2vuy, BGRA, jpeg | 420f, 420v, BGRA, jpeg | 420f, 420v, BGRA, jpeg |
相关文章推荐
- iOS 视频采集参数定义
- iOS视频采集(二)
- iphone ios 音频添加,合成,替换到视频(里的音轨)
- VFW视频采集方案(Captureparms参数详细)
- iphone ios取出视频的每一帧图片(关键帧,AVAssetImageGenerator)
- iOS-音视频采集 by GPUImage
- iphone ios 视频特效,视频合成
- ios 编程: ipad 和 iphone开发中使用 UIWebView 来播放视频的时候,在页面切换时 停止播放
- iOS RTMP 视频直播开发笔记(1) – 采集摄像头图像
- 【iOS-Cocos2d游戏开发之十四】音频/音效/视频播放(利用Cocos2D-iPhone-Extensions嵌入Cocos2d进行视频播放!)
- iOS RTMP 视频直播开发笔记(1)----- 采集摄像头图像
- iphone ios 音频添加,合成,替换到视频(里的音轨)
- iphone ios 视频特效 将图像插入到视频中(转)
- 【无限互联】iOS开发视频教程— 2.6 iPhone开发之if条件和for循环语句
- iOS 1.音视频采集
- 小码哥iOS--玩转【斗鱼直播APP】系列之采集视频
- iOS开发视频教程下载/iphone开发视频教程下载
- 【iOS-Cocos2d游戏开发之十四】音频/音效/视频播放(利用Cocos2D-iPhone-Extensions嵌入Cocos2d进行视频播放!)
- 【备忘】IOS(iPhone)开发中级视频教程下载
- iOS - 采集音视频及写入文件