Lost
Lost

Reputation: 13645

EXTRA_VIDEO_QUALITY does not set the video quality

I am working on android automation and trying to set video quality by adb command. I am using follwing command:

  adb shell am start -a android.media.action.VIDEO_CAPTURE  --ei android.intent.extras.CAMERA_FACING 1 --ei android.intent.extras.EXTRA_VIDEO_QUALITY 1   -n com.android.gallery3d/com.android.camera.CameraActivity

But it does not seem to set the quality. Any ideas?

what I am doing wrong?

Upvotes: 0

Views: 1204

Answers (1)

Lost
Lost

Reputation: 13645

Well there is a little correction here:

Instead of using EXTRA_VIDEO_QUALITY 1, we can do VideoQuality

so our command would be :

 adb shell am start -a android.media.action.VIDEO_CAPTURE  --ei android.intent.extras.CAMERA_FACING 1 --ei android.intent.extras.VideoQuality 1   -n com.android.gallery3d/com.android.camera.CameraActivity

Upvotes: 2

Related Questions