I recently programmed a bot, which uses the Twitch API to scrape Twitch videos, and then post them on YouTube. This is my youtube channel if you want to see an example: https://www.youtube.com/channel/UCuhWw8LbPWdkybIF9olAszw
The problem that I am having is I want to find a way to convert these regular twitch videos, into youtube shorts which I can automatically upload. The facecam does not need to be included, and the entire video can just be compressed into a 9:16 format.
I already tried FFMPEG but I don't know if I am doing it correctly, and really need help or advice on how to do this.
Here is an example of a video I would try to convert: https://www.youtube.com/watch?v=hZecXrvd6_g
(excuse the explicit language, this is just the first video I saw on my bot channel)
Tldr: Convert mp4 file into a 9:16 video format
Edit: FFMPEG command I ran:
ffmpeg -i video.mp4 -vf scale=1280:720 output.mp4
Thank you so much in advance! This has been bugging me for days.