Wiram Rathod
Wiram Rathod

Reputation: 1919

In android device how can we compress video before upload Via Browser?

Is it possible to video compress before upload via browser? Like in iOS devices, browse video using HTML input type file tag and iOS make compress before uploading.

Or any javascript or jQuery library helping for compress in Android device browser ??

Upvotes: 2

Views: 1775

Answers (2)

Eric T
Eric T

Reputation: 1026

Please refer to Mohan reply. By using:

ffmpeg4android

However for the parameters, you may refer to

ffmpeg parameters (Do ignore the php codes)

Upvotes: 0

posit labs
posit labs

Reputation: 9471

The only way to compress video is to re-encode it. You can encode with lower quality settings than the default video recorder, and decrease the resolution.

There are a few options for client-side encoding, but they are functionally limited.

Whammy.js Encodes webm, but currently doesn't support audio. Bummer.

Firefogg Encodes webm and ogg. Only works in firefox.

Encoding is a cpu-intensive process. It will eat a ton of battery, and will take a while to process. If your goal is to save time on the upload, this probably won't help you much.

Upvotes: 2

Related Questions