Powered by WebAssembly

Convert MP4 to HLS via API

HLS (HTTP Live Streaming) is the dominant adaptive streaming protocol. Convert MP4 to HLS to serve video content that adapts to viewer bandwidth in real-time.

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 -c:a aac -hls_time 6 -hls_list_size 0 -f hls {out_video}",
  "input_files": {
    "in_video": "https://example.com/input.mp4"
  },
  "output_files": {
    "out_video": "output.m3u8"
  }
}'

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

Common Variations

10-second segments
-i input.mp4 -c:v libx264 -c:a aac -hls_time 10 -hls_list_size 0 -f hls output.m3u8
With segment filenames
-i input.mp4 -c:v libx264 -c:a aac -hls_time 6 -hls_segment_filename seg_%03d.ts -f hls output.m3u8
Fragmented MP4 segments (fMP4)
-i input.mp4 -c:v libx264 -c:a aac -hls_time 6 -hls_segment_type fmp4 -f hls output.m3u8

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.