Generate multiple thumbnails from video

Rendi JSON body Command for run-ffmpeg-command:

{
  "input_files": {
    "in_1": "https://storage.rendi.dev/sample/sample.avi"
  },
  "output_files": {
    "out_1": "thumbnail1.jpg",
    "out_2": "thumbnail2.jpg"
  },
  "ffmpeg_command": "-i {{in_1}} -filter_complex [0:v]split=2[first][second];[first]select='gte(t,10)'[thumb1];[second]select='gte(t,20)'[thumb2] -map [thumb1] -frames:v 1 {{out_1}} -map [thumb2] -frames:v 1 {{out_2}}"
}

Create several trimmed videos with different resolutions

Rendi JSON body Command for run-ffmpeg-command:

{
  "input_files": {
    "in_1": "https://storage.rendi.dev/sample/sample.avi"
  },
  "output_files": {
    "out_1": "output_320p.mp4",
    "out_2": "output_180p.mp4"
  },
  "ffmpeg_command": "-i {{in_1}} -ss 00:00 -to 00:30 -filter_complex [0:v]split=2[vid1][vid2];[vid1]scale=trunc(oh*a/2)*2:320:force_original_aspect_ratio=decrease,pad=trunc(oh*a/2)*2:320:-1:-1[320p];[vid2]scale=trunc(oh*a/2)*2:180:force_original_aspect_ratio=decrease,pad=trunc(oh*a/2)*2:180:-1:-1[180p] -map [320p] -map 0:a -c:a copy -c:v libx264 -preset medium {{out_1}}  -map [180p] -map 0:a -c:a copy -c:v libx264 -preset medium {{out_2}}"
}

Combine images with audio to create a video

Rendi JSON body Command for run-ffmpeg-command:

{
  "input_files": {
    "in_img_1": "https://storage.rendi.dev/sample/bbb-splash.png",
    "in_img_2": "https://storage.rendi.dev/sample/rodents.png",
    "in_img_3": "https://storage.rendi.dev/sample/evil-frank.png",
    "in_audio_1": "https://storage.rendi.dev/sample/Neon%20Lights.mp3"
  },
  "output_files": {
    "out_1": "output.mp4"
  },
  "ffmpeg_command": "-loop 1 -t 5 -i {{in_img_1}}  -loop 1 -t 5 -i {{in_img_2}} -loop 1 -t 5 -i {{in_img_3}}  -i {{in_audio_1}} -filter_complex [0:v][1:v][2:v]concat=n=3:v=1:a=0,format=yuv420p[v]  -map [v] -map 3:a -c:v libx264 -c:a aac -shortest {{out_1}}"
}

Add srt subtitles to video

Rendi JSON body Command for run-ffmpeg-command:

{
  "input_files": {
    "in_video": "https://storage.rendi.dev/sample/sample.avi",
    "in_srt": "https://storage.rendi.dev/sample/subtitles.srt"
  },
  "output_files": {
    "out_1": "output.mp4"
  },
  "ffmpeg_command": "-i {{in_video}} -ss 00:00 -to 01:00 -vf subtitles={{in_srt}} -c:v libx264 -crf 20 -c:a aac -b:a 192k {{out_1}}"
}

Credit to www.bigbuckbunny.org for the video and image files.