I've implemented a program that record videos (both Android/iOS) with cordova-plugin-media-capture
and upload them to a server.
It's working very well, but the videos that have just a few seconds have more than 10 mb and we need to reduce this size...
We already tried to change the quality
parameter of CaptureVideoOptions
, but it only accept 1 (hight quality) or 0 (poor quality).
If I set quality: 0
, the video is saved in .3gp
rather than .mp4
and the quality is awful. We didn't find a way to record the videos with 70% of quality, for instance.
Anybody there knows a way to compress a video file or to record with an acceptable quality?
Thanks