srt-to-structured-data

Parses SRT subtitle files into structured JSON with optional statistics and text output.

60|19|Updated Dec 27, 2025
One-click install
npx skills add https://github.com/NanmiCoder/claude-code-skills --skill srt-to-structured-data
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: srt-to-structured-data
Source: https://github.com/NanmiCoder/claude-code-skills/tree/main/plugins/srt-to-structured-data/skills/srt-to-structured-data
Command: npx skills add https://github.com/NanmiCoder/claude-code-skills --skill srt-to-structured-data

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Converts SRT subtitle files into a structured JSON representation to simplify analysis, indexing, and integration into data workflows.

Core Features & Use Cases

  • Extracts subtitles with indices, start/end timestamps, durations, and text.
  • Outputs JSON with optional statistics and a plain-text mode for downstream processing.
  • Ideal for subtitle analytics, content indexing, translation, and video data pipelines.

Quick Start

Parse a given SRT file to output structured JSON or text for downstream processing.

Frequently Asked Questions about srt-to-structured-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert SRT subtitles into structured JSON for data pipelines?▼

SRT subtitle files can be parsed into structured JSON to extract indices, timestamps, durations, and text. This simplifies subtitle analytics, content indexing, translation, and integration into data pipelines via a robust CLI.

What is the best way to extract text and timestamps from SRT files?▼

Extracting text and timestamps from SRT files requires parsing the file to isolate indices, start/end timestamps, durations, and text. Outputting structured JSON or plain text enables downstream processing and subtitle analytics.

Can I get statistics and text-only output when parsing SRT files?▼

Yes, parsing SRT files can generate optional statistics and a plain-text mode alongside structured JSON. This supports diverse downstream processing needs like subtitle analytics, content indexing, and translation workflows.

Does the SRT to JSON parser handle multiple text encodings?▼

Yes, the SRT parsing process handles multiple encodings. It reads SRT files robustly via a CLI, ensuring accurate extraction of indices, timestamps, durations, and text into structured JSON or plain text outputs.

Why convert SRT files to JSON for subtitle analytics?▼

Converting SRT files to JSON structures raw text and timestamps into a queryable format with indices, durations, and text. This enables precise content indexing, translation, and integration into automated video data pipelines.