FFmpeg BigBoss icon

FFmpeg BigBoss

Process video and audio using FFmpeg BigBoss capabilities

Embed Subtitles

AI-generated

Summary

Embed subtitles into video

Inputs

  • contactNotice — Contact: alnahriw@gmail.com
  • mode — Toggle between Simple (easy presets) and BigBoss (granular control) options
  • inputPath — File path for input video (when Input Source is path)
  • binaryPropertyName (required) — The name of the binary property containing the media file
  • videoBinaryProperty — Name of the binary property containing the video
  • subtitleBinaryProperty — Name of the binary property containing the .srt subtitle file
  • subtitleMode — How to add subtitles to the video
  • subtitleFontSize — Font size for burned-in subtitles
  • subtitlePosition — Position of subtitles (bottom, top, center)
  • subtitleColor — Subtitle text color in ASS format (e.g., &HFFFFFF for white, &H0000FF for red)
  • subtitleBackground — Add semi-transparent black background behind subtitles for better visibility
  • outputFormat — Output video format (e.g., mp4, mkv)
  • subtitleMargin — Vertical margin from the edge in pixels

Output shape

binary file representing the processed video

Returns a single item; the binary field contains the video with embedded subtitles; the json field preserves the original node data; no body is returned on success/failure beyond the standard envelope

Examples

Example 1: Burn subtitles into a video using Simple mode

mode=simple, subtitleMode=burn, subtitleFontSize=24, subtitlePosition=bottom, subtitleColor=&HFFFFFF, subtitleBackground=true, outputFormat=mp4

Example 2: Embed subtitles as a separate track in MP4 using BigBoss mode

mode=bigboss, subtitleMode=track_mp4, outputFormat=mp4

Example 3: Custom subtitle styling with BigBoss processing

mode=bigboss, subtitleMode=burn, subtitleFontSize=28, subtitlePosition=top, subtitleColor=&H00FF0000, subtitleBackground=true, subtitleMargin=30, outputFormat=mkv

Links

Discussion