Hello All, as said Android API currently doesnt support 4k Resolution then how cm11 and aosb on note 3 getting 4k working.Can you tell the procedure how the app checks for 4k resolution capability
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My testing showed that Camera.Parameters.getSupportedVideoSizes() returns null on a Galaxy S5, which means getSupportedPreviewSizes() should be used to get the available video sizes, but this didn't include any sizes larger than 1920x1080. In other words, I couldn't find any way to test if the 4K capability exists, so I added it as a separate option with a warning that it might not work. But nonetheless, requesting a video size of 3840x2160 works on an S5 and Note 3.
I don't know anything about CM11 or AOSB's support for 4K I'm afraid.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2014-05-26
Cannot find a 4k option for my stock lg g2 running kitkat with a modded lg cam app with 4k recording. Same Snapdragon 800 as the Samsungs mentioned above.
How can the 4k option be enabled for all snapdragon 800 chips?
Open Camera v1.13
(c) 2013-2014 Mark Harman
Released under the GPL v3 or later
Android API version: 19
Device manufacturer: LGE
Device model: LG-D802
Device code-name: g2
Device variant: g2
Standard max heap? (MB): 128
Large max heap? (MB): 256
Display size: 1080x1920
Current camera ID: 0
Preview resolutions: 1920x1080, 1776x1080, 1440x1080, 1280x960, 1280x720, 960x720, 864x480, 880x720, 848x480, 800x480, 768x432, 720x480, 640x480, 576x432, 480x320, 384x288, 352x288, 320x240, 240x160, 176x144
Photo resolutions: 4160x3120, 4160x2340, 4000x3000, 3264x2448, 3200x2400, 2592x1944, 2048x1536, 1920x1080, 1600x1200, 1440x1080, 1536x864, 1280x960, 1280x768, 1280x720, 1024x768, 800x600, 800x480, 720x480, 640x480, 352x288, 320x240, 176x144
Video quality: 6, 5_r1440x1080, 5_r1280x960, 5, 4_r864x480, 4_r848x480, 4_r800x480, 4, 3_r640x480, 3_r480x320, 3, 7, 2
Video resolutions: 1920x1080, 1440x1080, 1280x960, 1280x720, 864x480, 848x480, 800x480, 720x480, 640x480, 480x320, 352x288, 320x240, 176x144, 144x176
Auto-stabilise?: Available
Face detection?: Available
Flash modes: flash_auto, flash_off, flash_on, flash_torch
Focus modes: focus_mode_auto, focus_mode_infinity, focus_mode_macro, focus_mode_continuous_video
Color effects: none, mono, negative, solarize, sepia, posterize, whiteboard, blackboard, aqua, emboss, sketch, neon
Scene modes: auto, asd, landscape, snow, beach, sunset, night, portrait, backlight, sports, steadyphoto, flowers, candlelight, fireworks, party, night-portrait, theatre, action, AR, hdr
White balances: auto, incandescent, fluorescent, daylight, cloudy-daylight
ISOs: auto, ISO_HJR, ISO100, ISO200, ISO400, ISO800, ISO1600
ISO key: iso
Parameters: brightness-step=1;zoom=0;redeye-reduction-values=enable,disable;max-num-detected-faces-hw=5;scene-detect-values=off,on;qc-camera-features=30079;face-detection-values=off,on;whitebalance=auto;max-sharpness=36;preview-format-values=yuv420sp,yuv420p,nv12-venus;jpeg-thumbnail-quality=85;preview-format=yuv420sp;face-detection=off;video-hdr-values=off,on;auto-exposure-values=frame-average,center-weighted,spot-metering,smart-metering,center-weighted,spot-metering-adv,center-weighted-adv;iso=auto;avtimer=disable;mce-values=enable,disable;video-hdr=off;flash-mode-values=off,auto,on,torch;opti-zoom=opti-zoom-off;psvt-mode=0;preview-frame-rate=30;snapshot-fd-data-enable=0;jpeg-thumbnail-width=320;video-size=1920x1080;scene-mode-values=auto,asd,landscape,snow,beach,sunset,night,portrait,backlight,sports,steadyphoto,flowers,candlelight,fireworks,party,night-portrait,theatre,action,AR,hdr;redeye-reduction=disable;preview-fps-range-values=(1000,30000),(10000,30000);auto-exposure=center-weighted;histogram=disable;camera-mode=0;preview-size-values=1920x1080,1776x1080,1440x1080,1280x960,1280x720,960x720,864x480,880x720,848x480,800x480,768x432,720x480,640x480,576x432,480x320,384x288,352x288,320x240,240x160,176x144;vt-mode=0;saturation-step=1;cto-face-detection-width=640;touch-af-aec=touch-off;preview-fps-range=1000,30000;auto-whitebalance-lock=false;min-exposure-compensation=-12;antibanding=auto;max-num-focus-areas=1;vertical-view-angle=47.1;video-stabilization-supported=false;sce-factor-step=10;qc-max-num-requested-faces=5;min-saturation=0;max-saturation=10;contrast-step=1;raw-size=4208x3120;max-brightness=6;chroma-flash=chroma-flash-off;supported-live-snapshot-sizes=2592x1944,2048x1536,1920x1080,1600x1200,1440x1080,1280x768,1280x720,1024x768,800x600,864x480,800x480,720x480,640x480,352x288,320x240,176x144;max-contrast=10;min-sce-factor=-100;cto-face-detection-illuminance=0;picture-format-values=jpeg,bayer-qcom-10gbrg,bayer-qcom-10grbg,bayer-qcom-10rggb,bayer-qcom-10bggr,bayer-mipi-10gbrg,bayer-mipi-10grbg,bayer-mipi-10rggb,bayer-mipi-10bggr,yuv422sp,bayer-ideal-qcom-10grbg;video-hfr=off;exposure-compensation-step=0.166667;preview-off=0;scene-detect=off;auto-hdr-enable=disable;picture-size=4160x3120;saturation=5;whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight;picture-format=jpeg;zsl=off;lensshade-values=enable,disable;selectable-zone-af=auto;video-hfr-values=;iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600;selectable-zone-af-values=auto,spot-metering,center-weighted,frame-average;lensshade=enable;capture-burst-exposures=0,10,-9;preferred-preview-size-for-video=1920x1080;superzoom=off;min-sharpness=0;mce=enable;hfr-size-values=;snapshot-picture-flip=off;recording-hint=false;zoom-supported=true;denoise-values=denoise-off,denoise-on;zsl-values=off,on;sharpness=12;contrast=5;scene-mode=auto;jpeg-quality=100;luminance-condition=low;histogram-values=enable,disable;metering-areas=(399,-350,499,-250,1000);min-contrast=0;lge-camera=0;video-size-values=1920x1080,1440x1080,1280x960,1280x720,864x480,848x480,800x480,720x480,640x480,480x320,352x288,320x240,176x144,144x176;skinToneEnhancement=0;preview-size=1920x1080;focal-length=3.97;ae-bracket-hdr-values=Off,AE-Bracket;denoise=denoise-off;video-flip=off;max-sce-factor=100;preview-frame-rate-values=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30;f-number=2.4;max-num-metering-areas=5;preview-flip=off;chroma-flash-values=chroma-flash-off,chroma-flash-on;af-bracket=af-bracket-off;focus-mode-values=auto,infinity,macro,continuous-video,continuous-picture,mw_continuous-picture;jpeg-thumbnail-size-values=512x288,480x288,256x154,432x288,320x240,176x144,0x0;cto-face-detection-height=480;object-tracking=off;zoom-ratios=100,102,104,107,109,112,114,117,120,123,125,128,131,135,138,141,144,148,151,155,158,162,166,170,174,178,182,186,190,195,200,204,209,214,219,224,229,235,240,246,251,257,263,270,276,282,289,296,303,310,317,324,332,340,348,356,364,373,381,390,400,409,418,428,438,448,459,470,481,492,503,515,527,540,552,565,578,592,606,620,634,649,664,680,696,712,729,746,763,781,800;dis-values=enable,disable;dual-recorder=-1;picture-size-values=4160x3120,4160x2340,4000x3000,3264x2448,3200x2400,2592x1944,2048x1536,1920x1080,1600x1200,1440x1080,1536x864,1280x960,1280x768,1280x720,1024x768,800x600,800x480,720x480,640x480,352x288,320x240,176x144;touch-af-aec-values=touch-off,touch-on;luma-adaptation=3;opti-zoom-values=opti-zoom-off,opti-zoom-on;min-brightness=0;horizontal-view-angle=60.8;cto-face-detection-multidirection=0;flip-mode-values=off,flip-v,flip-h,flip-vh;skinToneEnhancement-values=enable,disable;jpeg-thumbnail-height=240;smooth-zoom-supported=false;dis=disable;focus-mode=auto;sharpness-step=6;auto-whitebalance-lock-supported=true;video-frame-format=yuv420sp;max-num-detected-faces-sw=5;ae-bracket-hdr=Off;max-exposure-compensation=12;focus-areas=(399,-350,499,-250,1000);multi-window-focus-area=(-420,-420,-140,-140,0),(-140,-420,140,-140,0),(140,-420,420,-140,0),(-420,-140,-140,140,0),(-140,-140,140,140,0),(140,-140,420,140,0),(-420,140,-140,420,0),(-140,140,140,420,0),(140,140,420,420,0),(-220,-220,220,220,0);video-snapshot-supported=true;num-snaps-per-shutter=1;exposure-compensation=0;flash-mode=auto;cto-face-detection=on;auto-exposure-lock=false;effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua,emboss,sketch,neon;max-zoom=90;effect=none;af-bracket-values=af-bracket-off,af-bracket-on;tintless=disable;focus-distances=0.135929,0.142345,0.149396;auto-exposure-lock-supported=true;hdr-mode=0;antibanding-values=off,60hz,50hz,auto
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is good to know - Android 5 now seems to have official support for 4K, so hopefully manufacturers will make sure that the resolution is properly exposed through the camera API for 3rd party apps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello All, as said Android API currently doesnt support 4k Resolution then how cm11 and aosb on note 3 getting 4k working.Can you tell the procedure how the app checks for 4k resolution capability
Hi,
My testing showed that Camera.Parameters.getSupportedVideoSizes() returns null on a Galaxy S5, which means getSupportedPreviewSizes() should be used to get the available video sizes, but this didn't include any sizes larger than 1920x1080. In other words, I couldn't find any way to test if the 4K capability exists, so I added it as a separate option with a warning that it might not work. But nonetheless, requesting a video size of 3840x2160 works on an S5 and Note 3.
I don't know anything about CM11 or AOSB's support for 4K I'm afraid.
Cannot find a 4k option for my stock lg g2 running kitkat with a modded lg cam app with 4k recording. Same Snapdragon 800 as the Samsungs mentioned above.
How can the 4k option be enabled for all snapdragon 800 chips?
Open Camera v1.13
(c) 2013-2014 Mark Harman
Released under the GPL v3 or later
Android API version: 19
Device manufacturer: LGE
Device model: LG-D802
Device code-name: g2
Device variant: g2
Standard max heap? (MB): 128
Large max heap? (MB): 256
Display size: 1080x1920
Current camera ID: 0
Preview resolutions: 1920x1080, 1776x1080, 1440x1080, 1280x960, 1280x720, 960x720, 864x480, 880x720, 848x480, 800x480, 768x432, 720x480, 640x480, 576x432, 480x320, 384x288, 352x288, 320x240, 240x160, 176x144
Photo resolutions: 4160x3120, 4160x2340, 4000x3000, 3264x2448, 3200x2400, 2592x1944, 2048x1536, 1920x1080, 1600x1200, 1440x1080, 1536x864, 1280x960, 1280x768, 1280x720, 1024x768, 800x600, 800x480, 720x480, 640x480, 352x288, 320x240, 176x144
Video quality: 6, 5_r1440x1080, 5_r1280x960, 5, 4_r864x480, 4_r848x480, 4_r800x480, 4, 3_r640x480, 3_r480x320, 3, 7, 2
Video resolutions: 1920x1080, 1440x1080, 1280x960, 1280x720, 864x480, 848x480, 800x480, 720x480, 640x480, 480x320, 352x288, 320x240, 176x144, 144x176
Auto-stabilise?: Available
Face detection?: Available
Flash modes: flash_auto, flash_off, flash_on, flash_torch
Focus modes: focus_mode_auto, focus_mode_infinity, focus_mode_macro, focus_mode_continuous_video
Color effects: none, mono, negative, solarize, sepia, posterize, whiteboard, blackboard, aqua, emboss, sketch, neon
Scene modes: auto, asd, landscape, snow, beach, sunset, night, portrait, backlight, sports, steadyphoto, flowers, candlelight, fireworks, party, night-portrait, theatre, action, AR, hdr
White balances: auto, incandescent, fluorescent, daylight, cloudy-daylight
ISOs: auto, ISO_HJR, ISO100, ISO200, ISO400, ISO800, ISO1600
ISO key: iso
Parameters: brightness-step=1;zoom=0;redeye-reduction-values=enable,disable;max-num-detected-faces-hw=5;scene-detect-values=off,on;qc-camera-features=30079;face-detection-values=off,on;whitebalance=auto;max-sharpness=36;preview-format-values=yuv420sp,yuv420p,nv12-venus;jpeg-thumbnail-quality=85;preview-format=yuv420sp;face-detection=off;video-hdr-values=off,on;auto-exposure-values=frame-average,center-weighted,spot-metering,smart-metering,center-weighted,spot-metering-adv,center-weighted-adv;iso=auto;avtimer=disable;mce-values=enable,disable;video-hdr=off;flash-mode-values=off,auto,on,torch;opti-zoom=opti-zoom-off;psvt-mode=0;preview-frame-rate=30;snapshot-fd-data-enable=0;jpeg-thumbnail-width=320;video-size=1920x1080;scene-mode-values=auto,asd,landscape,snow,beach,sunset,night,portrait,backlight,sports,steadyphoto,flowers,candlelight,fireworks,party,night-portrait,theatre,action,AR,hdr;redeye-reduction=disable;preview-fps-range-values=(1000,30000),(10000,30000);auto-exposure=center-weighted;histogram=disable;camera-mode=0;preview-size-values=1920x1080,1776x1080,1440x1080,1280x960,1280x720,960x720,864x480,880x720,848x480,800x480,768x432,720x480,640x480,576x432,480x320,384x288,352x288,320x240,240x160,176x144;vt-mode=0;saturation-step=1;cto-face-detection-width=640;touch-af-aec=touch-off;preview-fps-range=1000,30000;auto-whitebalance-lock=false;min-exposure-compensation=-12;antibanding=auto;max-num-focus-areas=1;vertical-view-angle=47.1;video-stabilization-supported=false;sce-factor-step=10;qc-max-num-requested-faces=5;min-saturation=0;max-saturation=10;contrast-step=1;raw-size=4208x3120;max-brightness=6;chroma-flash=chroma-flash-off;supported-live-snapshot-sizes=2592x1944,2048x1536,1920x1080,1600x1200,1440x1080,1280x768,1280x720,1024x768,800x600,864x480,800x480,720x480,640x480,352x288,320x240,176x144;max-contrast=10;min-sce-factor=-100;cto-face-detection-illuminance=0;picture-format-values=jpeg,bayer-qcom-10gbrg,bayer-qcom-10grbg,bayer-qcom-10rggb,bayer-qcom-10bggr,bayer-mipi-10gbrg,bayer-mipi-10grbg,bayer-mipi-10rggb,bayer-mipi-10bggr,yuv422sp,bayer-ideal-qcom-10grbg;video-hfr=off;exposure-compensation-step=0.166667;preview-off=0;scene-detect=off;auto-hdr-enable=disable;picture-size=4160x3120;saturation=5;whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight;picture-format=jpeg;zsl=off;lensshade-values=enable,disable;selectable-zone-af=auto;video-hfr-values=;iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600;selectable-zone-af-values=auto,spot-metering,center-weighted,frame-average;lensshade=enable;capture-burst-exposures=0,10,-9;preferred-preview-size-for-video=1920x1080;superzoom=off;min-sharpness=0;mce=enable;hfr-size-values=;snapshot-picture-flip=off;recording-hint=false;zoom-supported=true;denoise-values=denoise-off,denoise-on;zsl-values=off,on;sharpness=12;contrast=5;scene-mode=auto;jpeg-quality=100;luminance-condition=low;histogram-values=enable,disable;metering-areas=(399,-350,499,-250,1000);min-contrast=0;lge-camera=0;video-size-values=1920x1080,1440x1080,1280x960,1280x720,864x480,848x480,800x480,720x480,640x480,480x320,352x288,320x240,176x144,144x176;skinToneEnhancement=0;preview-size=1920x1080;focal-length=3.97;ae-bracket-hdr-values=Off,AE-Bracket;denoise=denoise-off;video-flip=off;max-sce-factor=100;preview-frame-rate-values=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30;f-number=2.4;max-num-metering-areas=5;preview-flip=off;chroma-flash-values=chroma-flash-off,chroma-flash-on;af-bracket=af-bracket-off;focus-mode-values=auto,infinity,macro,continuous-video,continuous-picture,mw_continuous-picture;jpeg-thumbnail-size-values=512x288,480x288,256x154,432x288,320x240,176x144,0x0;cto-face-detection-height=480;object-tracking=off;zoom-ratios=100,102,104,107,109,112,114,117,120,123,125,128,131,135,138,141,144,148,151,155,158,162,166,170,174,178,182,186,190,195,200,204,209,214,219,224,229,235,240,246,251,257,263,270,276,282,289,296,303,310,317,324,332,340,348,356,364,373,381,390,400,409,418,428,438,448,459,470,481,492,503,515,527,540,552,565,578,592,606,620,634,649,664,680,696,712,729,746,763,781,800;dis-values=enable,disable;dual-recorder=-1;picture-size-values=4160x3120,4160x2340,4000x3000,3264x2448,3200x2400,2592x1944,2048x1536,1920x1080,1600x1200,1440x1080,1536x864,1280x960,1280x768,1280x720,1024x768,800x600,800x480,720x480,640x480,352x288,320x240,176x144;touch-af-aec-values=touch-off,touch-on;luma-adaptation=3;opti-zoom-values=opti-zoom-off,opti-zoom-on;min-brightness=0;horizontal-view-angle=60.8;cto-face-detection-multidirection=0;flip-mode-values=off,flip-v,flip-h,flip-vh;skinToneEnhancement-values=enable,disable;jpeg-thumbnail-height=240;smooth-zoom-supported=false;dis=disable;focus-mode=auto;sharpness-step=6;auto-whitebalance-lock-supported=true;video-frame-format=yuv420sp;max-num-detected-faces-sw=5;ae-bracket-hdr=Off;max-exposure-compensation=12;focus-areas=(399,-350,499,-250,1000);multi-window-focus-area=(-420,-420,-140,-140,0),(-140,-420,140,-140,0),(140,-420,420,-140,0),(-420,-140,-140,140,0),(-140,-140,140,140,0),(140,-140,420,140,0),(-420,140,-140,420,0),(-140,140,140,420,0),(140,140,420,420,0),(-220,-220,220,220,0);video-snapshot-supported=true;num-snaps-per-shutter=1;exposure-compensation=0;flash-mode=auto;cto-face-detection=on;auto-exposure-lock=false;effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua,emboss,sketch,neon;max-zoom=90;effect=none;af-bracket-values=af-bracket-off,af-bracket-on;tintless=disable;focus-distances=0.135929,0.142345,0.149396;auto-exposure-lock-supported=true;hdr-mode=0;antibanding-values=off,60hz,50hz,auto
Hi, I've replied to this at https://sourceforge.net/p/opencamera/tickets/9/ .
seems to work with the latest, I see 4k resolution listed in lollipop
This is good to know - Android 5 now seems to have official support for 4K, so hopefully manufacturers will make sure that the resolution is properly exposed through the camera API for 3rd party apps.