FFMPEG
Video Size (VF Scale)
Exact Resolution
ffmpeg -i INPUT.mp4 -vf scale=1280:720 OUTPUT.webm
Relative Resolution
ffmpeg -i INPUT.mp4 -vf scale=iw/2:ih/2 OUTPUT.webm