你们的demo程序不是提供本地”设置“的功能吗?我就在你们提供的设置里面设置的。而且我的摄像头是支持1280*720的,是小米3的摄像头,参数如下:
[preferred-preview-size-for-video=1024x768, null, null, null, rotation-values=0,90,180,270, null, null, null, recording-hint=false, max-num-detected-faces-hw=10, video-stabilization=false, null, zoom-supported=true, null, null, null, null, whitebalance=auto, scene-mode=auto, null, null, preview-format-values=yuv420p,yuv420sp, rotation=0, jpeg-thumbnail-quality=90, null, preview-format=yuv420sp, null, null, null, null, video-frame-format-values=yuv420p, video-size-values=176x144,320x240,352x288,640x480,704x576,720x480,720x576,768x432,960x540,1280x720,1920x1080,1920x1088, null, preview-size=320x240, null, null, null, null, null, null, null, flash-mode-values=off,on,auto,torch,red-eye, preview-frame-rate-values=5,8,10,15,20,24,25,30, max-num-metering-areas=4, null, null, null, preview-frame-rate=30, null, null, focus-mode-values=auto,infinity,macro,fixed,continuous-video,continuous-picture, null, null, jpeg-thumbnail-width=320, video-size=1280x720, preview-fps-range-values=(1000,120000), jpeg-thumbnail-size-values=0x0,320x240,240x320,400x224,224x400, null, null, zoom-ratios=100,125,150,175,200,225,250,275,300,325,350,375,400, null, preview-size-values=176x144,320x240,352x288,480x480,640x480,704x576,720x408,720x480,720x576,768x432,800x448,960x720,1024x576,1024x768, null, null, null, recording-hint-values=false,true, null, null, picture-size-values=320x240,480x480,640x480,640x368,800x600,960x720,1024x768,1280x720,1280x752,1280x960,1440x1080,1600x1200,1836x1080,1920x1080,2048x1152,2048x1360,2048x1536,2592x1456,2592x1520,2592x1920,2592x1944,2592x1952,3264x1840,3264x2448,4096x3072,4208x2368,4208x3120, null, preview-fps-range=1000,120000, min-exposure-compensation=-20, max-num-focus-areas=1, null, vertical-view-angle=60.400, null, null, horizontal-view-angle=60.400, null, null, xiaomi-still-beautify-all-values=i:0,i:1,i:2,i:3,a:0,a:1,a:2,a:3,a:4,a:5,a:6,a:7, video-stabilization-supported=true, null, null, null, smooth-zoom-supported=true, null, null, focus-mode=auto, null, null, null, null, null, null, null, null, null, auto-whitebalance-lock-supported=true, null, video-frame-format=yuv420p, picture-format-values=jpeg,jfif,exif,yuv420p,yuv420sp, max-exposure-compensation=20, focus-areas=(0,0,0,0,0), null, video-snapshot-supported=true, exposure-compensation-step=0.1, null, null, null, null, flash-mode=off, auto-exposure-lock=false, effect-values=mono,negative,none,posterize,sepia,aqua,solarize,nv-vivid,nv-emboss, null, null, picture-size=2592x1944, null, whitebalance-values=auto,incandescent,fluorescent,warm-fluorescent,daylight,cloudy-daylight,shade,twilight,manual,measure, null, null, auto-exposure-lock-values=false,true, null, null, null, auto-exposure-lock-supported=true, xiaomi-still-beautify-values=i:0, antibanding-values=off,auto,50hz,60hz]
你觉得是摄像头不支持吗?附件是小米3本地配置1280*720运行后的日志。我昨天应该也试过640*480了,一会儿我可以再试下,但我觉得根本不是那个问题。
BRAnyChatCore_mi3_1280_720_local.zip
(1.46 KB, 下载次数: 4)
|