Compress a video on client side web

Safari picture Safari · Jul 9, 2015 · Viewed 20.8k times · Source

I have to upload a video from front-end web to my Django back-end.

I need to compress the video before to upload it on the browser itself.

Is this possible? If so, how can it be done?

Answer

riofly picture riofly · Jan 28, 2017

I found this project. It is a conversion of FFMPEG decoder in javascript language. So you can use it to work images, video and audio files without upload file to server.

Homepage: https://bgrins.github.io/videoconverter.js/

GitHub: https://github.com/bgrins/videoconverter.js

I have not tried yet, but the demo page says that it works: https://bgrins.github.io/videoconverter.js/demo/