πŸ–ΌοΈ

Burn Subtitles

Permanently embed SRT subtitles into video files (hardcoded subtitles).

Image ⭐⭐ Intermediate ⏱️ 5 minutes

😫 The Pain Point

You have a video with an SRT subtitle file. You need the subtitles burned into the video so they show up everywhere, even on devices that don’t support external subtitles.

πŸš€ Agentic Solution

A Subtitle Burner that permanently embeds text into the video.

Key Features:

  • Font Customization: Size, color, outline, position.
  • Multiple Formats: SRT, ASS, VTT support.
  • Batch Mode: Process multiple videos.

βš”οΈ Phase 1: Commander (Quick Fix)

For quick burning.

Prompt:

β€œI have a video movie.mp4 and subtitles movie.srt. Write a Python script using FFmpeg to:

  1. Burn: Embed subtitles into video permanently.
  2. Style: White text, black outline, bottom center.
  3. Font Size: 24pt.
  4. Output: Save as movie_subtitled.mp4.

Handle encoding issues (UTF-8 subtitles). Print progress.”

Result: Video with embedded subtitles.

πŸ—οΈ Phase 2: Architect (Permanent Tool)

Engineering Prompt:

**Role:** Python Tool Developer
**Task:** Create a "Subtitle Burner".

**Requirements:**
1.  **GUI:**
    *   Select video and subtitle file.
    *   Font picker, size slider.
    *   Color picker for text and outline.
    *   Position dropdown (top/bottom).
    *   Preview with subtitle overlay.
    *   Progress bar.

2.  **Logic:**
    *   Use FFmpeg subtitles filter.
    *   Handle different encodings.
    *   Option for ASS styling.

3.  **Deliverables:**
    *   `burn_subs.py`
    *   `run.bat`, `run.sh`
    *   `requirements.txt`

🧠 Prompt Decoding

  • Hardcoded vs Softcoded: Hardcoded (burned) subtitles are part of the video pixels. Cannot be turned off but work everywhere.

πŸ› οΈ Instructions

  1. Install FFmpeg.
  2. Copy Prompt β†’ Run.

Related Workflows

Explore other categories

πŸ“¬

Get Started with Agentic Working

Subscribe to receive updates from AgenticWorking.io

πŸ“– Free eBook Guide πŸ“¦ 7 Ready-to-use Scripts πŸ”” Weekly Tips

No spam, unsubscribe anytime. Join 1,000+ subscribers.