PHPackages                             cviniciussdias/audio-subtitle-generator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. cviniciussdias/audio-subtitle-generator

ActiveLibrary

cviniciussdias/audio-subtitle-generator
=======================================

v0.1.5(9mo ago)10MITPHPPHP &gt;=8.3

Since Aug 2Pushed 9mo agoCompare

[ Source](https://github.com/CViniciusSDias/audio-subtitle-generator)[ Packagist](https://packagist.org/packages/cviniciussdias/audio-subtitle-generator)[ RSS](/packages/cviniciussdias-audio-subtitle-generator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

Audio subtitle generator
========================

[](#audio-subtitle-generator)

Subtitle generator using Whisper.PHP from an audio input.

Prerequisites
-------------

[](#prerequisites)

- PHP &gt;=8.3
- Composer
- FFI
- JIT (optional, for performance)

Usage
-----

[](#usage)

After cloning the repository and running `composer install`, to display the command's usage:

```
php generate-subtitle -h
```

If you prefer to require this package as a composer dependency, after running `composer require cviniciussdias/audio-subtitle-generator`, to display the command's usage:

```
./vendor/bin/generate-subtitle -h
```

### Options

[](#options)

```
-f, --filepath=         File path of the audio to be transcribed
-p, --prompt=      Text (or file path) of the initial prompt for context about the audio
-m, --model=                Model to be used (tiny.en, tiny, base.en, base, small.en, small, medium.en, medium, large-v1, large-v2, large-v3, large) (default: tiny.en)
-t, --threads=  Number of threads to use (default: 16)
-l, --language=          Two letter code of the audio's language. (default: autodetect)
-o, --output=         Output path of the subtitle file (.srt extension)

```

### Example:

[](#example)

The following example will generate the subtitle file `subtitle.srt` inside the current directory based on the `audio.mp3` file in the same path:

```
php generate-subtitle \
    -f=audio.mp3 \
    --prompt="Initial prompt for context about the audio" \
    --model=small \
    -t8 \
    -l=pt \
    --output=subtitle.srt
```

Docker
------

[](#docker)

If you prefer, you can use Docker to run this tool:

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance57

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

284d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/584256bfc8777e1b0e42a03f5b4b8d683bf75f6dde296a64129648aa562125dd?d=identicon)[CViniciusSDias](/maintainers/CViniciusSDias)

---

Top Contributors

[![CViniciusSDias](https://avatars.githubusercontent.com/u/6991415?v=4)](https://github.com/CViniciusSDias "CViniciusSDias (10 commits)")

### Embed Badge

![Health badge](/badges/cviniciussdias-audio-subtitle-generator/health.svg)

```
[![Health](https://phpackages.com/badges/cviniciussdias-audio-subtitle-generator/health.svg)](https://phpackages.com/packages/cviniciussdias-audio-subtitle-generator)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[symfony/symfony

The Symfony PHP framework

31.3k86.3M2.2k](/packages/symfony-symfony)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k235.4M9.7k](/packages/symfony-framework-bundle)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k172.9M1.8k](/packages/symfony-security-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
