DPI does not matter for video.
At all.
See : https://generalspecialist.com/2007/08/dpi-in-video-totally-useless.asp
and
https://www.scantips.com/no72dpi.html
DPI is *only for printing to paper*. Video is displayed in *pixels* so change the size in pixels to your desired size while respecting aspect ratio.