Powered by WebAssembly

Compress Video via API

Reduce video file sizes by 50-90% with intelligent compression. Choose between H.264 for compatibility or H.265 for maximum compression while maintaining visual quality.

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} -c:v libx264 -crf 28 -preset fast -c:a aac -b:a 128k {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

Maximum compression with H.265
-i input.mp4 -c:v libx265 -crf 32 -preset fast -c:a aac -b:a 96k output.mp4
Balanced quality (CRF 23)
-i input.mp4 -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k output.mp4
Target file size (2-pass, 10MB for 1min)
-i input.mp4 -c:v libx264 -b:v 1200k -pass 1 -f null /dev/null && -i input.mp4 -c:v libx264 -b:v 1200k -pass 2 -c:a aac -b:a 128k output.mp4
Downscale + compress
-i input.mp4 -vf scale=-2:720 -c:v libx264 -crf 28 -c:a aac -b:a 96k 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.