Using MediaStore.EXTRA_OUTPUT specify target file for MediaStore.ACTION_VIDEO_CAPTURE

MediaStore.EXTRA_OUTPUT is the the name of the Intent-extra used to indicate a content resolver Uri to be used to store the requested image or video.

The article "Start Video Recording using android.provider.MediaStore.ACTION_VIDEO_CAPTURE" save the captured video in default Uri. You can use the code below to specify target file for MediaStore.ACTION_VIDEO_CAPTURE:

Intent intent = new Intent(android.provider.MediaStore.ACTION_VIDEO_CAPTURE);

//Specify target file
String MyVideoFilePath = "/sdcard/test/myvideo.3gp";
File imageFile = new File(MyVideoFilePath);
Uri imageFileUri = Uri.fromFile(imageFile);
intent.putExtra(android.provider.MediaStore.EXTRA_OUTPUT, imageFileUri);
//---

startActivityForResult(intent, REQUEST_VIDEO_CAPTURED);


Download the files.