If I do it manually via GUI, I can convert it to 1024x768 resolution.
Is there anyway to convert them to 1920x1080 resolution?
I found the answer.
Post it here in case anyone needs it:
I also modify the script a bit to change to the output resolution to 1920x1080 too. It works beautifully.