Powered by WebAssembly

Convert MP4 to AVI via API

AVI is a legacy container format with broad compatibility across older media players and editing tools. Convert MP4 to AVI when you need maximum device support.

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 mpeg4 -q:v 5 -c:a libmp3lame -q:a 4 {out_video}",
  "input_files": {
    "in_video": "https://example.com/input.mp4"
  },
  "output_files": {
    "out_video": "output.avi"
  }
}'

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

Common Variations

Xvid compatible encoding
-i input.mp4 -c:v libxvid -q:v 4 -c:a libmp3lame -q:a 2 output.avi
Uncompressed for editing
-i input.mp4 -c:v rawvideo -c:a pcm_s16le output.avi
With target bitrate
-i input.mp4 -c:v mpeg4 -b:v 2M -c:a libmp3lame -b:a 192k output.avi

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.