How to compress video in android studio without effecting quality android studio 2019

Опубликовано: 13 Октябрь 2024
на канале: Coder Vlogs
3,025
22

Support me through paypal :

========= paypal.me/CoderVlog

My favorite Gadgets :

1. keyboard : https://amzn.to/3dh2AMS
2. Mic : https://amzn.to/2WACxKD
3. Laptop : https://amzn.to/2UeJMGF
4. DSLR : https://amzn.to/2UBmFVU
5. Mobile : https://amzn.to/3boSNTn
6. Mouse : https://amzn.to/2WBO4JK

blog link : https://www.codervlogs.com/2019/10/ho...

Official Website : https://www.codervlogs.com

official programming facebook page :   / saify333  

official personal facebook page :
  / saify3333  

follow me on Instagram :
  / saify9999  

Download Demo of this app from play store
https://play.google.com/store/apps/de...

There are many ways to compress video in android. The logic used for compressing video is use low bit rate for video and convert video to lower resolution helps you to lower the file size of video but you have to also care about quality of video, that must be less effect during video compression. There is one way to compress video with no quality compromise and that is zipping the video, that reduce file size and increase speed of upload video but for larger size video it will be not effective, but for small size video it is very good choice. There are many libraries for video compressing without doing it zip that are

1. FFmpeg 4 android

2. Silicompressor

3. Giraffe Compressor

4. isoparser-1.0.6.jar and aspectjrt-1.7.3.jar (contain buildin function to help you compress video).

My favorite library is FFmpeg because it is so accurate and it did not effect your video quality and also give you more control (programming related) but it is little tricky to implement. For this tutorial i will be using isoparser-1.0.6.jar and aspectjrt-1.7.3.jar, it will be simple for you, just copy videocompressor project and paste in your project and use three line of code to compress video, no coding stress for you.