# 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
- **Package manager page:** <https://formulae.brew.sh/formula/sub2srt>
- **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>
- **Upstream docs:** <https://github.com/robelix/sub2srt#readme>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://github.com/robelix/sub2srt/archive/refs/tags/0.5.5.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- sub2srt (cli)
- sub2srt (alias)

## Uses from macOS

- perl

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.5.5
- Local data: ok
- Upstream repository: https://github.com/robelix/sub2srt
- Upstream latest detected: 0.5.5 (current)
- info: No package-manager update timestamp was available.
## 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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sub2srt
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [moribito](https://www.automicvault.com/pkg/brew/moribito/) - Shares av.db curated category or tags: cli, conversion, media, subtitles.
- [alass](https://www.automicvault.com/pkg/brew/alass/) - Shares av.db curated category or tags: cli, media, subtitles.
- [ccextractor](https://www.automicvault.com/pkg/brew/ccextractor/) - Shares av.db curated category or tags: cli, media, subtitles.
- [subliminal](https://www.automicvault.com/pkg/brew/subliminal/) - Shares av.db curated category or tags: cli, media, subtitles.
- [bazarr](https://www.automicvault.com/pkg/brew/bazarr/) - Shares av.db curated category or tags: cli, media, subtitles.
- [chordii](https://www.automicvault.com/pkg/brew/chordii/) - Shares av.db curated category or tags: cli, conversion, media.
- [convertlit](https://www.automicvault.com/pkg/brew/convertlit/) - Shares av.db curated category or tags: cli, conversion, media.
- [eot-utils](https://www.automicvault.com/pkg/brew/eot-utils/) - Shares av.db curated category or tags: cli, conversion, media.
- [libwmf](https://www.automicvault.com/pkg/brew/libwmf/) - Local package facts share a topical domain. Shared terms: cli, conversion, format, media.
- [ncmdump](https://www.automicvault.com/pkg/brew/ncmdump/) - Local package facts share a topical domain. Shared terms: cli, conversion, convert, media.

## Combined YAML source

View the package source record on GitHub. [combined/sub2srt.yml](https://github.com/automic-vault/db/blob/main/combined/sub2srt.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
