SB Render icon

SB Render

Render videos with subtitles, BGM, and narration using FFmpeg

Video → Add Intro/Outro

AI-generated

Summary

Add Intro/Outro to a video using optional intro and outro clips

Inputs

  • introOutroMainVideoSource — Source of the main video file (URL or binary property)
  • introOutroMainVideoUrl — URL of the main video
  • introOutroMainVideoBinaryProperty — Name of the binary property containing the main video
  • enableIntro — Whether to add an intro video at the beginning
  • introSource — Source of the intro video file
  • introUrl — URL of the intro video
  • introBinaryProperty — Name of the binary property containing the intro video
  • enableOutro — Whether to add an outro video at the end
  • outroSource — Source of the outro video file
  • outroUrl — URL of the outro video
  • outroBinaryProperty — Name of the binary property containing the outro video
  • introOutroOutputFilename — Filename for the output video
  • introOutroOutputFormat — Output video format (mp4, mov, webm)
  • introOutroVideoCodec — Video codec for encoding (libx264, libx265, vp9)
  • introOutroQuality — Video quality setting (Low, Medium, High, Custom)
  • introOutroCustomCRF — Custom CRF value (0-51) when quality is Custom
  • introOutroOutputBinaryProperty — Name of the binary property to store the output video
  • debugMode — Enable debug logging to /tmp/sb-render-debug.log

Output shape

binary file (output video)

A single binary record representing the composed video; may be absent on error; no pagination

Examples

Example 1: Add intro from URL and outro from binary property

enableIntro=true; introUrl=https://example.com/intro.mp4; outroSource=binary; outroBinaryProperty=outro; outputFilename=final.mp4

Example 2: Add both intro and outro videos and set output format to WebM

enableIntro=true; introSource=url; introUrl=https://example.com/intro.mp4; enableOutro=true; outroSource=url; outroUrl=https://example.com/outro.mp4; introOutroOutputFormat=webm

Example 3: Add intro, outro and enable debug mode

enableIntro=true; introUrl=https://example.com/intro.mp4; enableOutro=true; outroUrl=https://example.com/outro.mp4; debugMode=true

Links

Discussion