Python script to compress, resize videos

Job ID: 31322792

Budget: $30 – $250 USD

Hello,

I need someone to create a python script that will take an mp4 video (h.264) compress to it and create 4 versions of the video (1080p@1.7Mbps, 720p@1.1Mbps, 480p@0.5Mbps, 360p@0.25Mbps).

You may use this script: https://github.com/kkroening/ffmpeg-python
Or any other script you wish.

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 100 large video
2- I put the videos in the script
3- The script creates 4 compressed and resized versions of every single video in a folder. (compressed videos are re-named)
4- output is a new folder that includes 4 compressed versions of the video. which is repeated until 100 folders are created, each containing 4 videos with different sizes.