On the fly video conversion in django during upload
I an making a backend in django rest where user will be uploading videos in multiple formats such as mp4, avi, etc. I want to convert these videos to a single h264 format while storing them but rather than first taking the full video and then converting it i want to convert it while it is being uploaded how can i do that.
The video file is comming through multipart/form-data