I want to resize a video clip in python 2.7.
For example we give \"movie.mp4\" with 1080p quality The result should be \"movie.mp4\" with 360p quality
I Think th
Why not ffmpeg?
ffmpeg -i movie.mp4 -vf scale=640:360 movie_360p.mp4
If you use 640:-2 then, in this example, the scale filter will preserve the aspect ratio and automatically calculate the correct height.
Look at the H.264 encoding guide for additional options.