Python script to compress, resize and upload videos

Job ID: 31320587

Budget: $10 – $30 USD

Hello,

I need someone to use a python script that will take an mp4 video (h.264) compress it and create 4 versions of the video (1080p, 720p, 480p, 360p) and automatically upload them in a new folder.

You may use this script: https://github.com/kkroening/ffmpeg-python
Here are the documentations for uploading to Digital Ocean Spaces using python: https://docs.digitalocean.com/products/spaces/resources/s3-sdk-examples/

Note the videos have to be renamed according to the new resolution size and be placed in a new folder renamed to the original video file.

example:
1- I have a large video 10GB
2- I put the video in the script
3- The script creates 4 compressed and resized versions of the video. (re-named according to the video size)
4- The script automatically uploads the videos to a new folder (re-named according to original video) in Digital Ocean Spaces
Related categories: Python Linux Software Architecture Video Upload