I want to resize video files when uploading them

◇Functions we would like to implement
We would like to reduce the video size when uploading a video.

◇Current problem
We have found many plug-ins to resize images, but have not found a way to resize videos. We have found a way to reduce the size by linking with S3, but we would like to do this without using AWS.

If anyone knows of any plug-ins that can implement the above, I would appreciate it if you could let me know. Thank you in advance.