Compress Videos using android MediaCodec api
问题 I want to compress locally saved video file to a smaller size in order to upload to a server. Since i used MediaCodec , i have found some tips to compress video . Here are the steps that i followed 1) . Extracted the media file using MediaExrtactor and Decoded it. 2) . Creates the Encoder with required file format 3) . Create muxer to save file in local storage. (not complete) Question : But i dont know how to encode the already decoded stream and save the stream in to the local storage using