android - MediaRecorder Video Quality -
i need capture video old camera api , upload server problem video file size big upload when capture. want ask video quality should set mediarecorder file size not big upload server , video quality not low. following available video qualities in camcorderprofile
/** * quality level corresponding lowest available resolution. */ public static final int quality_low = 0; /** * quality level corresponding highest available resolution. */ public static final int quality_high = 1; /** * quality level corresponding qcif (176 x 144) resolution. */ public static final int quality_qcif = 2; /** * quality level corresponding cif (352 x 288) resolution. */ public static final int quality_cif = 3; /** * quality level corresponding 480p (720 x 480) resolution. * note horizontal resolution 480p can other * values, such 640 or 704, instead of 720. */ public static final int quality_480p = 4; /** * quality level corresponding 720p (1280 x 720) resolution. */ public static final int quality_720p = 5; /** * quality level corresponding 1080p (1920 x 1080) resolution. * note vertical resolution 1080p can 1088, * instead of 1080 (used vendors avoid cropping during * video playback). */ public static final int quality_1080p = 6; /** * quality level corresponding qvga (320x240) resolution. */ public static final int quality_qvga = 7; /** * quality level corresponding 2160p (3840x2160) resolution. */ public static final int quality_2160p = 8;
Comments
Post a Comment