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 I have been stucck and not able to find a plausible approach but i know that i have to use FFMpeg in some manner. Continue reading...