Skip to main content
Execute a custom FFmpeg command with whitelisted flags. Input files are referenced by name and resolved securely. Pro/Scale plans only.
Timeout: 900s | Provider: triggerdev | Accepts: video

Request

curl -X POST https://api.rendobar.com/jobs \
  -H "Authorization: Bearer rb_your_key" \
  -H "Content-Type: application/json" \
  -d '{
  "type": "raw.ffmpeg",
  "inputs": {},
  "params": {
    "command": "ffmpeg -i https://cdn.rendobar.com/assets/examples/sample.mp4 -vf scale=1280:720 -c:v libx264 -crf 23 -preset fast output.mp4",
    "inputRefs": {}
  }
}'

Parameters

command
string
required
Raw FFmpeg command string (without the “ffmpeg” prefix)
inputRefs
object
required
Map of input placeholder names to R2 refs
outputFormat
mp4 | mkv | webm | mov | avi | ts | gif | png | jpg | mp3 | wav | flac | ogg | aac | opus | m4a | srt | vtt
default:"mp4"
Output container/format
timeout
integer
default:"120"
Maximum execution time in seconds

Response

{
  "data": {
    "id": "job_abc123",
    "status": "dispatched"
  }
}