Subtitles
The Subtitles package provides functionality to convert subtitle files between SRT (SubRip Text) and JSON formats. This enables RPA developers to programmatically process, modify, and manipulate subtitle data in automation workflows.
Use Cases
- Convert SRT subtitle files to JSON for data processing and analysis
- Generate SRT subtitle files from structured JSON data
- Automate subtitle editing and translation workflows
- Process video subtitles in batch operations
- Integrate subtitle data with other automation systems
- Synchronize subtitle timing across multiple files
- Extract subtitle text for content analysis or translation
Available Nodes
📄️ JSON to SRT
Robomotion.Subtitles.JSONtoSRT
📄️ SRT to JSON
Robomotion.Subtitles.SRTtoJSON
Supported Formats
SRT Format
SubRip Text (.srt) is the most widely used subtitle format. Each subtitle entry contains:
- Sequential number
- Start and end timestamps (HH:MM:SS,mmm --> HH:MM:SS,mmm)
- Subtitle text (can span multiple lines)
- Blank line separator
JSON Format
The package uses a structured JSON array where each subtitle object contains:
- start - Start time in milliseconds (number)
- end - End time in milliseconds (number)
- text - Subtitle text content (string)
Package Information
- Category: Productivity
- Namespace: Robomotion.Subtitles
- Platform Support: Windows, Linux, macOS