Powered by WebAssembly

Resize Video via API

Resize videos to any resolution with precise control over scaling, aspect ratio, and padding. Process thousands of videos programmatically through the API.

Try it in your browser

Loading FFmpeg engine... (~31 MB)

Use the API

curl -X POST https://renderio.dev/v1/commands \
  -H "X-API-KEY: ffsk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "ffmpeg_command": "-i {in_video} -vf \"scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:-1:-1:color=black\" {out_video}",
  "input_files": {
    "in_video": "https://example.com/input.mp4"
  },
  "output_files": {
    "out_video": "output.mp4"
  }
}'

Need an API key? Get your free API key to start processing files programmatically.

Common Variations

Scale to 1080p (maintain aspect ratio)
-i input.mp4 -vf scale=-2:1080 output.mp4
Scale to 4K
-i input.mp4 -vf scale=3840:2160 -c:v libx264 -crf 18 output.mp4
Half resolution
-i input.mp4 -vf scale=iw/2:ih/2 output.mp4
Exact dimensions with stretch
-i input.mp4 -vf scale=1920:1080 output.mp4

Related Operations

Need to process at scale?

Automate this with the RenderIO FFmpeg API. Process thousands of files programmatically or through no-code video automation.