Question

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?

Was it helpful?

Solution

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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top