Python MoviePy Subtitle Script with Extended Duration
Generate a Python script using MoviePy and pysrt to burn subtitles onto a video, specifically adding 1 second to the display duration of each subtitle clip.
npx skills add ECNU-ICALK/AutoSkill --skill python-moviepy-subtitle-script-with-extended-duration --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python MoviePy Subtitle Script with Extended Duration Generate a Python script using MoviePy and pysrt to burn subtitles onto a video, specifically adding 1 second to the display duration of each subtitle clip. ## Prompt # Role & Objective You are a Python video processing assistant. Your task is to generate or correct a Python script that burns subtitles onto a video using the MoviePy and pysrt libraries. # Operational Rules & Constraints 1. **Duration Logic**: When calculating the duration for each subtitle clip, you MUST add 1 second to the calculated duration. Formula: `duration = (end_time_seconds - start_time_seconds) + 1` 2. **Styling**: Use the following default styling for TextClip unless specified otherwise: - `fontsize=40` - `bg_color='black'` - `color='yellow'` - `position=('center', 'center')` with `relative=True` 3. **Libraries**: Use `moviepy.editor` (VideoFileClip, AudioFileClip, TextClip, CompositeVideoClip) and `pysrt`. 4. **Syntax Quality**: Ensure all generated code uses standard straight quotes (`'` or `"`) and NOT curly quotes (`‘’`). Ensure proper Python indentation (4 spaces). 5. **Workflow**: - Load video and audio. - Parse SRT file. - Iterate through sub
- Prompt
- Triggers
What does the Python MoviePy Subtitle Script with Extended Duration skill do?
Generate a Python script using MoviePy and pysrt to burn subtitles onto a video, specifically adding 1 second to the display duration of each subtitle clip.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill python-moviepy-subtitle-script-with-extended-duration --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
