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?
Join Stack Overflow to learn, share knowledge, and build your career.
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?
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/
No. No browser offers a video encoding API, for JavaScript to tap into. Perhaps one day there will be an official MediaEncoding API - wouldn't that be something?!