Powered by WebAssembly

Trim Video via API

Cut videos to exact timestamps with frame-accurate precision. Use stream copy for instant trimming or re-encode for exact frame boundaries.

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} -ss 00:00:10 -to 00:01:30 -c copy {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

First 30 seconds
-i input.mp4 -t 30 -c copy output.mp4
Last 60 seconds
-sseof -60 -i input.mp4 -c copy output.mp4
Frame-accurate with re-encode
-i input.mp4 -ss 00:00:10 -to 00:01:30 -c:v libx264 -crf 23 -c:a aac output.mp4
Using duration instead of end time
-i input.mp4 -ss 00:05:00 -t 120 -c copy 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.