I am working on a project where i need to compress the video uploaded before sending it to server. I found similar questions like this (Compress Videos using android MediaCodec api) where turorial he mentioned redirects to an invalid page( https://software.intel.com/en-us/articles/intel-inde-media-pack-for-android-tutorials). Other similar questions are redirecting to some libraries like silicompress.
Is there a simple way to achieve video compression using MediaCodec in android. A simple function where i can input "file url" and get the "video bytes data" as output in java?