# Install sub2srt with Homebrew

Convert subtitles from .sub to subviewer .srt format. Version 0.5.5 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:sub2srt
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sub2srt
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:sub2srt
- **Package manager:** Homebrew
- **Version:** 0.5.5
- **Source summary:** Convert subtitles from .sub to subviewer .srt format
- **Homepage:** <https://github.com/robelix/sub2srt>
- **Repository:** <https://github.com/robelix/sub2srt>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- sub2srt (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.5.5
## Project history and usage

sub2srt is a small Perl command-line converter for subtitle files. Its README describes converting common `.sub` subtitle formats, including MicroDVD and SubRip-style inputs, into SubViewer `.srt` output suitable for tools such as ogmmerge.

### Project history

The README credits Roland Obermayer and describes the tool as a quick hack written after inspecting subtitle file layouts rather than from formal format documentation. Its bundled changelog records an initial 0.5 release on 2003-08-26, followed by small format and encoding updates through 2014.

### Adoption history

Its package-manager footprint is narrow: the input package-manager facts list Homebrew, and the README says installation is simply copying the single Perl script into a directory on `PATH`. That single-file script shape is typical of older media-conversion utilities that survived because they solved one awkward conversion job.

### How it is used

Users run `sub2srt --help` for options and invoke the script to convert supported text subtitle formats. The README explicitly says it does not convert DVD subtitles or VobSub, which keeps the tool scoped to text subtitle conversion rather than OCR or bitmap subtitle workflows.

### Why package nerds care

sub2srt is package-nerd-interesting less because it is large and more because it is tiny, old, and still packageable: a single Perl script with GPL-2 licensing, no runtime beyond Perl, and a narrow CLI purpose that Homebrew can preserve for users who hit legacy subtitle files.

### Timeline

- 2003-08-26: Initial sub2srt 0.5 release recorded in the README changelog.
- 2005-01-15: sub2srt 0.5.3 added txtsub input support.
- 2013-11-02: sub2srt 0.5.4 added MPL2 and TMP input format support.
- 2014-12-10: sub2srt 0.5.5 added support for encoding output with piconv.

### Related projects

- The README mentions MicroDVD, SubRip-style `.sub` input, SubViewer `.srt` output, ogmmerge, Perl, and excludes DVD subtitles and VobSub from scope.

### Sources

- <https://raw.githubusercontent.com/robelix/sub2srt/master/README>
- input source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/sub2srt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/sub2srt.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
