*I am sorry for my poor English. It's a translator.
I used Python moviepy to resize it, but the pixels are broken. I want to make the video 9:16 ratio while maintaining the original image quality. (So that there are black frames on both sides)
from moviepy.editor import *
c = VideoFileClip('test.mp4')
f = c.resize(newsize=(1080,1920))
f.write_videofile('aa.mp4')
This code causes pixels to collapse.
Let me show you an example picture.
It doesn't have to be moviepy, so I'd appreciate it if you could tell me how to use Python. (PIL? opencv?)
Thank you so much. Have a nice day