Teja
Teja

Reputation: 104

Is there possibility to compress audio and video file in android programmatically?

As I record the video file for 1min it take 3mb of size as i want to post this file to server it is taking more time.So I need to decrease the time by compassing the recorded video file and send it to server.Is there possibility to compress the video file programmatically. Thanks in advance. Teja.

Upvotes: 1

Views: 4278

Answers (1)

aioobe
aioobe

Reputation: 420951

Note that simply compressing it with some zip-algorithm (relatively easy to do in Java) wouldn't help you much. Try compressing the file yourself. (If it did make the file smaller, it would most likely already be a part of the video-file format, wouldn't it :-)

If you want to compress the video, you have to re-encode it with a lower bit-rate / lower resolution or something similar.

Upvotes: 1

Related Questions