In my application, the user can upload the captured video to the database. Since the captured video is large enough, it will take a long time to download it. So I need to know how to compress video capture.
I tried the following code
Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
intent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY,0);
startActivityForResult(intent, SOME_NUMBER);
But no matter what level of quality I put there, he gives me the same quality videos.
My question is: So tell me a way to fix this or offer me a way to compress the captured video?
thank
source
share